Tool to display geo-spatial data from MongoDB?

て烟熏妆下的殇ゞ 提交于 2019-12-24 10:59:55

问题


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). In my case I am storing LineStrings.

The existing plugin for an integration of MongoDB sources in GeoServer is not supported and wasn't published in the name of GeoServer.

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.

Is there any open-source software for visualizing geo-spatial data supporting the integration of data from MongoDB?

Any suggestions?

Best,

Tron


回答1:


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/

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. I'll be working on redeveloping the plugin in my own time so I can release it through the QGIS plugin repo.




回答2:


I haven't tried it but if you would build MongoDB OGR Driver for GDAL Library yourself perhaps you can make QGIS use that. Also, mapserver seems to support OGR/GDAL as input.

Otherwise, how about making a simple node.js app that displays the data on a leaflet map?




回答3:


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.

There are some discussions about using QGIS for that, but the link to the mentioned plugin is dead:

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.

In my eyes that is a big weak point for MongoDB when working with geo data.




回答4:


you can install geoserver from opengeo package (comes with the mongodb connector). when publishing a layer from mongodb on geoserver - you can visualize it through the geoserver "layer preview" over openlayers.



来源:https://stackoverflow.com/questions/26527878/tool-to-display-geo-spatial-data-from-mongodb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!