SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
CandidedeVoltaire
Calcite | Level 5
Montreal, May 9, 2008

I would like to import a Geography Markup Language (GML) file into GMAP. I know that the United States Bureau of Census (USBC) – TIGER/GML is using this format. So I do hope SAS and GMAP can access the files I need but I can’t find any information or literature on the help files related to GML format. Can some one help me or indicate me where to go from here.

Thank you.
6 REPLIES 6
CandidedeVoltaire
Calcite | Level 5
Thank you Cinthia,

I beleive the United States Bureau of Census (USBC) can import GML files and convert them into TIGER. The information links you gave me provide information reading TIGER files with the SAS/GIS. I do not have the GIS software no my computer. I am trying to see if GMAP could be use with that file.

Thank you anyway.

Best regards.

Guy
Cynthia_sas
SAS Super FREQ
Hi:
I know it's not the same. I could not find any hits on GML and SAS.

However, it is possible to read an XML file with SAS -- so you might be able to read your GML file into a SAS dataset and then use that dataset with PROC GMAP. But PROC GMAP is meant to deal with a SAS dataset and with the maps contained in the SAS/Graph maps catalog.

So, even if you could read the XML file with SAS, that still leaves you with the issue of whether the GML coordinates correspond to the coordinates in the SAS/Graph map datasets used by PROC GMAP.

These papers may contain relevant information:
http://www2.sas.com/proceedings/forum2008/252-2008.pdf
http://www2.sas.com/proceedings/forum2008/253-2008.pdf

cynthia
CandidedeVoltaire
Calcite | Level 5
Thank you Cinthia. The information is great. I will take the time required to read and digest this new material.

I will leave you whit a french expression "Tu va aller au ciel pour ça" that can be translated by "Thank you... you will get to Heaven for this"

Best regards.

Guy
Cynthia_sas
SAS Super FREQ
Guy:
You're welcome! I am happy to help.
cynthia
WillIvey_sas
SAS Employee
If you can find the data you're interested in ESRI's shape file format, you can use Proc MapImport to create a SAS/Graph map data set. If you're just interested in the US Census data, the shape files can be downloaded from http://arcdata.esri.com/data/tiger2000/tiger_download.cfm .

-Will

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 2142 views
  • 0 likes
  • 3 in conversation