wfletcher / EasyGIS.NET

EasyGIS.NET source
GNU Lesser General Public License v3.0
67 stars 24 forks source link

GeoJSON parser #88

Open theo2f opened 2 years ago

theo2f commented 2 years ago

Hi! I found on project that have a class for GeoJSON on egis.web.controls and reference for GeoJSON.Net on egis.mapbox.vector.tile. How can I parse GeoJSON features on WinForms and add to SFMap? I can write a parser, but I'm looking the best practice to do it.

Thank you.

theo2f commented 2 years ago

I don't know if have a better way on EGIS, but I found the library GeoLibrary (https://github.com/songjiahong/Geo.Library) that make this job really easy.

wfletcher commented 2 years ago

The GeoJson class is the egis.web.controls was written some time ago and provides very basic support, while the GeoJSON.NET reference is a 3rd-party package dependency from the original mapbox library I created egis.mapbox.vector.tile from https://github.com/bertt/mapbox-vector-tile-cs

The GeoJson.net library looks like it has a lot of support and is the choice I would recommend. https://github.com/GeoJSON-Net/GeoJSON.Net