Guillaume Sueur wrote:
Hi list,

I'm trying to feed my app with a geoJSON file generated by FME, which
then should be translated to postGIS by ogr. But the FME GeoJSON looks
suspicious, as it begins by :
{"LIEU_Geocodes_new":{"type":"FeatureCollection"
where LIEU_Geocodes_new is the name of the original MapInfo file
processed to geoJSON by FME.
this global object is out of the geoJSON specifications, and makes ogr
fail to translate the file. If I just remove this encapsulation, it goes
well.

Guillaume,

I can confirm that FME returns extra bits in GeoJSON output.
As I see, it isn't documented in "FME Readers and Writers" manual, so little to say.

Any of you would know why FME is returning such misformed geoJSON ?

I would suggest to ask your question on FMETalk

http://groups.google.com/group/fmetalk

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to