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 <b...@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@lists.osgeo.**org <mapserver-users@lists.osgeo.org> > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users> >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users