简体   繁体   English

用于显示来自MongoDB的地理空间数据的工具?

[英]Tool to display geo-spatial data from MongoDB?

I am currently searching for a tool such as GeoServer or QGIS to display geo-spatial data stored in MongoDB (MongoDB provides specific 2d-indices for that). 我目前正在寻找诸如GeoServer或QGIS之类的工具来显示存储在MongoDB中的地理空间数据(MongoDB为此提供了特定的2d索引)。 In my case I am storing LineStrings. 就我而言,我存储的是LineStrings。

The existing plugin for an integration of MongoDB sources in GeoServer is not supported and wasn't published in the name of GeoServer. 不支持用于将MongoDB源集成到GeoServer中的现有插件,也未以GeoServer的名义发布。

http://osgeo-org.1560.x6.nabble.com/MongoDB-plugin-td5042018.html http://osgeo-org.1560.x6.nabble.com/MongoDB-plugin-td5042018.html

My try led to the same problem of a missing layer. 我的尝试导致了缺少图层的相同问题。

For the combination of MongoDB and QGIS there is also a plugin that internally converts the MangoDB data in CSV and integrates it then in QGIS. 对于MongoDB和QGIS的组合,还有一个插件,可在内部将CSV中的MangoDB数据进行转换,然后将其集成到QGIS中。

Is there any open-source software for visualizing geo-spatial data supporting the integration of data from MongoDB? 是否有任何开源软件可用于可视化地理空间数据,以支持来自MongoDB的数据集成?

Any suggestions? 有什么建议么?

Best, 最好,

Tron 特隆

I've developed a simple solution for the time being and it's available in the official QGIS plugin repo: http://plugins.qgis.org/plugins/qgis-mongodb-loader/ 我目前已经开发了一种简单的解决方案,并且可以在官方的QGIS插件回购中找到: http : //plugins.qgis.org/plugins/qgis-mongodb-loader/

I also have a plugin that allows you to make edits and save those changes in MongoDB through QGIS, but I'm sure if I'm allowed to release the plugin as it is used internally by my company. 我还有一个插件,允许您进行编辑并将这些更改通过QGIS保存在MongoDB中,但是我确定是否可以释放该插件,因为该插件已在公司内部使用。 I'll be working on redeveloping the plugin in my own time so I can release it through the QGIS plugin repo. 我将在自己的时间里重新开发插件,以便可以通过QGIS插件存储库发布它。

I haven't tried it but if you would build MongoDB OGR Driver for GDAL Library yourself perhaps you can make QGIS use that. 我还没有尝试过,但是如果您自己为GDAL库构建MongoDB OGR驱动程序,也许您可以让QGIS使用它。 Also, mapserver seems to support OGR/GDAL as input. 另外,mapserver似乎支持OGR / GDAL作为输入。

Otherwise, how about making a simple node.js app that displays the data on a leaflet map? 否则,如何制作一个简单的node.js应用程序以在传单地图上显示数据?

It is honestly really surprising, that there is currently no possibility to use any common FULL open-source tool for the visualization of MongoDB's geo data. 实在令人惊讶的是,当前不可能使用任何通用的FULL开源工具来可视化MongoDB的地理数据。

There are some discussions about using QGIS for that, but the link to the mentioned plugin is dead: 有一些关于使用QGIS的讨论,但是提到的插件的链接已失效:

http://pyqgis.org/repo/contributed (mentioned here: http://geokoder.com/mongodb-plugin-for-quantum-gis ) The hint, that a team is working on that (without any schedule) is not helpful. http://pyqgis.org/repo/contributed (在此处提及: http : //geokoder.com/mongodb-plugin-for-quantum-gis )暗示,团队正在为此工作(没有任何时间表)不是很有帮助。

In my eyes that is a big weak point for MongoDB when working with geo data. 在我看来,这是MongoDB处理地理数据时的一大弱点。

you can install geoserver from opengeo package (comes with the mongodb connector). 您可以从opengeo软件包 (与mongodb连接器一起提供)中安装geoserver。 when publishing a layer from mongodb on geoserver - you can visualize it through the geoserver " layer preview " over openlayers. 当从mongodb在geoserver上发布图层时-您可以通过geoserver在openlayers上的“ 图层预览 ”将其可视化。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM