convert geoJson data to sql server spatial data type (GIS)
问题 I've downloaded from openstreetmaps administrative borders (city, region, country, etc...) in geoJson format. I'm trying to store the json data related to the polygons in my ms sql server using spatial data. Since I've never parsed such a complex json file I've got difficulties in manually creating a c# object to store the parsed data. I'm using newtonsoftJson.json, to read the geoJson file and create an object. Then I use reflection to get the properties related to the object. This is quite