Good morning, does anyone know of a way that I can convert .GML files to a format that is recognized by SQL spatial? Thanks
This is a discussion on Convert .GmL to a spatial data type within the MapPoint Add-ins and Related Products forums, part of the Map Forums category; Good morning, does anyone know of a way that I can convert .GML files to a format that is recognized ...
Good morning, does anyone know of a way that I can convert .GML files to a format that is recognized by SQL spatial? Thanks
MBrady,
SQL Spatial can import from GML, but it actually only supports a subset of GML ( SQL Server's profile of the GML Schema ), so you may encounter errors. Have you tried it? If not, do something like this:
DECLARE @g AS geography = geography::GeomFromGml(@x, 4326);
Let us know how it goes.
There are commercial tools like Safe FME that might help, though last time I checked it was pricey?
Eric
~ Order MapPoint MapPoint 2011 Here and Get Free Access to the MapForums Downloads ~
~~
~ Upgrade to Get Access to the MapForums Downloads ~
There are currently 1 users browsing this thread. (0 members and 1 guests)