MongoDB example code for adding a NoSQL Plug-in data source

 

For customers with large volumes of data, NoSQL databases provide a useful, highly scalable alternative to the traditional RDBMS. Developers can add support for read-only visualization and mapping of NoSQL data sources, such as MongoDB, into ArcGIS.

Plug-in data sources are a long standing method for displaying data in ArcGIS that is stored in non-traditional formats. MongoDB is an open source NoSQL document storage database featuring replication and data partitioning across multiple machines, robust ad hoc query support, and support for spatial indexing of simple points.

Developers can use the example code provided here as a starting point and reference for their own NoSQL plug-in data sources. Using the code sample will require Visual Studio 2010 C#, MongoDB’s .net driver, and the .NET Assemblies for ArcGIS.

Thomas Breed, who supplied the info for this post, talked about Plug-in data sources and MongoDB in the Effective Geodatabase Programming session at this year’s Developer Conference. You can find a video of that session HERE, Flash Gordon to about the 33:30 mark for the spiel on Plug-in data sources.

This entry was posted in Geodata and tagged , , , , . Bookmark the permalink.

Leave a Reply

2 Comments

  1. bwc132 says:

    How this is awesome! I can’t wait to get mongo hooked up.

  2. gistron says:

    That sounded really interesting. In the presentation some Simple Poing plug-in custom data source was mentioned. We did back then some testing with the SimplePoint plug-in (the 13 character ASCII file). We were also able to publish a map service directly from ArcGIS (ArcMap) 10.0 to ArcGIS 10.0 Server. Few days ago we set up some ArcGIS Server 10.1 – we tryed the same maps to publish to ArcGIS Server 10.1 and it failed! So we picked up the MongoDB example and tryed to publish some maps as a webservice to ArcGIS Server 10.1 and it is not working.
    In ArcMap Desktop 10.1 everything works fine. Really nicely done, but it is not possible to publish all those maps as services directly, what is the key characteristic from a plug-in custom data source, from ArcMap/ArcCatalog 10.1 to arcGIS server 10.1.
    Is there any solution how to use all our work also with arcGis Server 10.1? Is this a known bug?
    Is there any way to contact Thomas Breed?

    It would be awesome if we could track down the problems and have everything working again with arcGIS Server 10.1 (it worked with 10.0).