ThinkGeo.com    |     Documentation    |     Premium Support

GeoJSON data example in Desktop Edition

Hi,
Is it possible to load GeoJSON file using Desktop Edition.

Thanks,
Riyaz

Hi Riyaz,

Feature.CreateFeatureFromGeoJson(“GeoJsonString”);

I think this API is what you want.

Regards,

Ethan

Hi Ethan,
I want to load GEOJSON(.geo.json) file in Thinkgeo desktop edition.
I am attaching a sample ‘custom.geo.json’ file for your reference.

custom.geo.zip (49.0 KB)

Thanks,
Riyaz

Hi Riyaz,

Thanks for your sample, but our API only parse the separated feature, I think you should want to parse the json file by your custom code or some 3rd part library.

Wish that’s helpful.

Regards.

Ethan

Hi,

Yes.

Could you please tell me, you having some sample code for it.

Thanks,
Riyaz

Hi Riyaz,

Sorry we don’t have a sample for it, because we don’t have related experience.

But I think you can refer some internet topic for example: https://www.codeproject.com/Tips/834005/storing-GeoJson-coordinates

Wish that’s helpful.

Regards,

Ethan