[mapserver-users] mapscript: read GeoJSON

Steve Lime sdlime at gmail.com
Wed Jul 13 11:49:07 EDT 2011


OGR would be the most straightforward I'd think. You could write the GeoJSON
to a file and then craft a layer to access it directly...

Steve

On Wed, Jul 13, 2011 at 4:07 AM, Frank Broniewski <brfr at metrico.lu> wrote:

> Hi,
>
> what would be the best way to read a geojson feature/featurecollection with
> mapscript?
>
> My goal is to query a map by a feature which comes as geojson. Of course
> it's not too hard to parse the geojson into a mapserver geometry object
> (pointObj, lineObj, ...). But if there's already a best practice (with the
> aid of other libraries, like ogr, shapely maybe?), I'd be happy to apply
> this one.
>
> Many thanks
>
> Frank
> --
> Frank BRONIEWSKI
>
> METRICO s.à r.l.
> géomètres
> technologies d'information géographique
> rue des Romains 36
> L-5433 NIEDERDONVEN
>
> tél.: +352 26 74 94 - 28
> fax.: +352 26 74 94 99
> http://www.metrico.lu
> ______________________________**_________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110713/d582625c/attachment.html


More information about the mapserver-users mailing list