Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Convert .GmL to a spatial data type

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 ...

  1. #1
    mbrady is offline Junior Member Yellow Belt
    Join Date
    Dec 2007
    Posts
    14

    Convert .GmL to a spatial data type

    Good morning, does anyone know of a way that I can convert .GML files to a format that is recognized by SQL spatial? Thanks

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    4,563
    Blog Entries
    4

    Re: Convert .GmL to a spatial data type

    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 ~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 03-12-2010, 10:21 AM
  2. Spatial Data Management and Data Visualization with SQL Server 2008 & Bing Maps
    By Johannes Kebeck's Blog in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 03-11-2010, 05:40 PM
  3. Spatial Data Import Utility fails on UK data
    By davidb in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 01-15-2009, 09:24 AM
  4. GeoFeeder: Convert Your Vector Data to GeoRSS and Import into Virtual Earth
    By VE For Government in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 10-17-2007, 09:41 AM
  5. Different data source, same map type > plot map symbols..
    By Verh0ef in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-28-2003, 06:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79