Desktop productivity for business analysts and programmers

Importing in GMAP a Geography Markup Language (GML) file

Reply
Occasional Contributor
Posts: 8

Importing in GMAP a Geography Markup Language (GML) file

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.
SAS Super FREQ
Posts: 8,820

Re: Importing in GMAP a Geography Markup Language (GML) file

Hi:
I found references to Tiger Data here:
http://support.sas.com/documentation/cdl/en/apdatgis/60614/HTML/default/a001020160.htm
http://support.sas.com/documentation/cdl/en/apdatgis/60614/HTML/default/a000782606.htm

I found that link by going to support.sas.com and entering
Tiger
into the search box.

cynthia
Occasional Contributor
Posts: 8

Re: Importing in GMAP a Geography Markup Language (GML) file

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
SAS Super FREQ
Posts: 8,820

Re: Importing in GMAP a Geography Markup Language (GML) file

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
Occasional Contributor
Posts: 8

Re: Importing in GMAP a Geography Markup Language (GML) file

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
SAS Super FREQ
Posts: 8,820

Re: Importing in GMAP a Geography Markup Language (GML) file

Guy:
You're welcome! I am happy to help.
cynthia
SAS Employee
Posts: 1

Re: Importing in GMAP a Geography Markup Language (GML) file

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
Ask a Question
Discussion stats
  • 6 replies
  • 277 views
  • 0 likes
  • 3 in conversation