Geotools 谷歌地图 java ee web 应用程序

发布于 2024-08-23 03:49:24 字数 668 浏览 3 评论 0原文

我正在寻找开发 java web 应用程序的替代方案,以根据一些变量和地图的可视化呈现来计算土地价值。

由于我拥有的数据是 ESRI shapefile,并且我想开源,所以我最终采用了此配置。

  1. 使用 Geotools 获取 shp 文件,将其转换并存储在 MySQL 空间数据库(或任何其他开源数据库)中空间数据库)。

  2. 使用java EE(jsp,javabeans)与空间数据库和Geottols进行通信,以计算给定陆地点的值和所需的所有变量(即面积值、距公园的距离、距地铁站的距离等)。< /p>

  3. 使用 Google 地图和 Javascript API 从用户处获取着陆点,并显示一些标记、线路、polugons(即地铁站、公园等)

我最近使用 java ee 开发了一个不太复杂的网络应用程序(用于与 融合表)和 google 地图 javascript api。 尽管如此,我没有地理信息系统计算的经验,我想知道这种配置对于经验丰富的开发人员是否有意义。

谢谢大家

I'm searching the alternatives for developing a java web application to calculate land values based on some variables with a visual presentation of a map.

Since the data that i have is ESRI shapefiles and i want to go open source i ended up with this configuration.

  1. Take the shp files with Geotools , transform and store them in a MySQL spatial DB(or any other open source spatial DB).

  2. Use of java EE(jsp,javabeans) for communication with the spatial DB and Geottols for calculating the value given a land-point and all variables needed(i.e. area value,distance from parks,distance from metro stations etc).

  3. Use of Google Maps and Javascript API to get the land-point from user and also show some markers,lines,polugons(i.e. the metro stations,the parks etc)

I developed recently a less complex web app with the use of java ee(for connection with Fusion tables) and google maps javascript api.
Nevertheless i don't have experience with gis calculations and i'm wondering if this configuration makes sense to an experienced developer.

Thank you all

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蒲公英的约定 2024-08-30 03:49:24

使用 PostGIS 和 GeoServer。
您可以编写简单的 servlet 来调用 PostGIS 来回答您的空间问题
您可以使用 GeoServer 显示来自 postgis 数据源的地图。

将 shapefile 加载到 PostGIS 和 Geoserver 中很容易。

不要使用 MySQL,它的大部分空间功能都没有实现。它们在文档中,但没有在代码中实现。

您可以使用 GMaps JS API,也可以查看 OpenLayers,它是一个开源 JS 映射库。

Use PostGIS and GeoServer.
You can write simple servlets to call into PostGIS to answer your spatial questions
You can use GeoServer to display maps from your postgis data sources.

It is easy to load shapefiles into both PostGIS and Geoserver

Don't use MySQL most of it's spatial functions are not implemented. They are there in the doc but they are not implemented in the code.

You could use the GMaps JS API or you could look at OpenLayers, which is an open source JS mapping library.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文