2 tyyr1998 TYYR1998 于 2014.12.10 09:21 提问

关于J2EE项目整合GIS功能的问题

一个电子政务系统,需要将某些建筑的信息加载到地图上,然后可以在地图上进行查询功能,主要作用是用来展示信息。
初步考虑到是直接用在线地图(百度、天地图),然后从数据库中读坐标,然后在加载地图的时候,直接在地图上标记处点,然后单击的时候,出现信息提示框,数据库就用普通的关系型数据库,存放x坐标、y坐标、关联ID。
那么问题来了:
其一,如果把地图缩放到很大,然后地图上的点就太多了,加载起应该会很慢。
其二就是做搜索的时候,怎么选取符合点。
真正让我纠结的其实是,我这个展示页面有没有必要去做一个完整的GIS平台,因为我看现在是有比较完整的GIS空间数据库和解决方案的
请问各位大牛,有必要么?或者,说我这个怎么解决?

1个回答

micropentium6
micropentium6   Rxr 2014.12.18 02:56

online map providers' API ususally don't work very well when you need to render thousand of POIs. Since this is a project for government,
I am sure ESRI can offer a good deal to you.

another question you have to get answer before proceeding is: do "百度、天地图" offer free license for commercial use? '天地图' is supposed to support government projects without charge. But you will need to figure this out.

Let's talk about the possibility of using '百度、天地图' for you app (I never work with neither of them)

  1. check the API and see if it offers the capacity to render POI by current map view;
  2. check the API and see if it offers the capacity to hide POI's icon at smaller scales;
  3. check if API offers cluster for POI;

As for search:
I assume you will have text search and geospatial search. Most of RDBMS offers spatial query capacity. From open source end: PostgreSQL/PostGIS is your best choice. From commercial end, both MS SQLServer and Oracle have extension for spatial data.

My suggestion is: if you are not tight on budget, you should go for GIS solution, such as ESRI. Otherwise, this can be done using 百度 or 天地图 base map. However, you will need a geodatabase as backend.

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!