[mapserver-dev] MongoDB support?

Umberto Nicoletti umberto.nicoletti at gmail.com
Tue Feb 12 00:30:43 PST 2013


Thought you might be interested in this:

http://hackingdistributed.com/2013/01/29/mongo-ft/

Umberto


On Wed, Feb 6, 2013 at 9:13 PM, Stephen Woodbridge
<woodbri at swoodbridge.com>wrote:

> On 2/6/2013 2:06 PM, Lime, Steve D (MNIT) wrote:
>
>> Not something I've thought of. Options as I see it would be to:
>>
>>    - use mapscript. Presumably most scripting languages can access
>> MongoDB.
>>    - Write a native MapServer driver plugin...
>>    - Wait for OGR support...
>>
>
> Hi Steve,
>
> Yeah, this was my conclusion also. I wrote to Frank and suggested it would
> be useful to extent file support of ogr to allow access to <service>://...
> servers because then you could do something like open a CSV connection to
> http://example.com/myphp.php?**args <http://example.com/myphp.php?args>..
> and PHP to make the querys and format the data to OGR for reading data.
> This would allow it to them be called from Mapserver. If you keep it simple
> this could be extremely useful for supporting all kinds of services that
> could not be support otherwise. This would work in OGR for CSV, GML,
> basically any text flat file reader that already exists in OGR today.
>
> For now, I might write a trivial mapscript application to support my
> immediate needs.
>
> There are a large number of these NOSQL databases popping up and being
> able to have some generic connection via scripting up a web service makes a
> lot of sense to me, beyond the immediate need that I have. I have already
> just dumped the some data to a text file and used that to create a
> shapefile to get some data into a map. But I really like the idea of some
> kind of universal glue like the above.
>
> Thanks,
>   -Steve
>
>
>  Steve
>>
>> -----Original Message-----
>> From: mapserver-dev-bounces at lists.**osgeo.org<mapserver-dev-bounces at lists.osgeo.org>[mailto:
>> mapserver-dev-bounces@**lists.osgeo.org<mapserver-dev-bounces at lists.osgeo.org>]
>> On Behalf Of Stephen Woodbridge
>> Sent: Tuesday, February 05, 2013 10:13 AM
>> To: mapserver-dev
>> Subject: [mapserver-dev] MongoDB support?
>>
>> Hi All,
>>
>> Has anyone thought of adding support for MongoDB? I asked on the GDAL
>> list if there was support via OGR.
>>
>> MongoDB is a popular NoSQL database, there are others and google around
>> it seems that people have experimented with moving shapefiles in and out of
>> it using python and ogr.
>>
>> Anyway, I'm trying to keep up with the technology and found that MongoDB
>> actually has some basic spatial support built into it. Which got me to the
>> point that I would like to be able to issue a query and pull points and
>> attributes into a mapserver layer.
>>
>> Any thoughts on how to do this?
>>
>> Thanks,
>>     -Steve
>> ______________________________**_________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>>
>>
>>
> ______________________________**_________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20130212/38fd0174/attachment.html>


More information about the mapserver-dev mailing list