[mapserver-users] OGR Support for TIGER 2000 Data?

Rob Martinson cathode at nichebox.com
Tue Aug 7 11:55:43 PDT 2001


Okay, this was a bit confusing to me but I now see what Jeff is saying.
OGR must look at the entire directory of raw data to open any of the
layers instead of a single .RT* file. I thought Jeff just meant that the
full path to the file must be specified, but instead just the directory
where the layers reside must be specified.

For example, my TIGER data is in:

/usr/local/mapdata/TIGER_2000/WA/53063/

In this directory I have files TGR53063.RT1 through TGR53063.RTZ.

Instead of calling ogrinfo as: 

ogrinfo /usr/local/mapdata/TIGER_2000/WA/53063/TGR53063.RT1

Try calling as:

ogrinfo /usr/local/mapdata/TIGER_2000/WA/53063

So OGR can look at the entire data structure. Works for me on this end
now. Thanks Jeff!

Rob Martinson
Nichebox - http://www.nichebox.com
Development - http://dev.nichebox.com 

> -----Original Message-----
> From: owner-mapserver-users at lists.gis.umn.edu 
> [mailto:owner-mapserver-users at lists.gis.umn.edu] On Behalf Of 
> Jeff McKenna
> Sent: Tuesday, August 07, 2001 4:01 PM
> To: Ed McNierney
> Cc: Users
> Subject: Re: [mapserver-users] OGR Support for TIGER 2000 Data?
> 
> 
> 
> > 
> > Thank for figuring that out!  However, I still can't get it 
> to work. 
> > I'm running the OGR tools I built (under Windows 2000) in the GDAL 
> > 1.1.5 distribution.  OGRINFO still refuses to recognize the 
> data set.  
> > Are you using a different OGR?
> > 
> 
> Hi Ed,
> 
> I just checked out the latest CVS version of GDAL (v1.1.5) 
> and built it (under Windows NT), and OGRINFO works fine for 
> me.  Hmm.  I placed OGRINFO into the directory where the 
> TIGER data resides (i.e. placed TGR25001.RT1, TGR25001.RT2... 
> in the same directory as OGRINFO).  The syntax I used for 
> OGRINFO is: $ ogrinfo full/path/to/data
> 
> This worked fine for me.  Maybe someone else has some ideas?
> 
> 
> 
> 
> -- 
> 
> Jeff McKenna
> GIS Specialist
> DM Solutions Group Inc.
> Ottawa, Ontario
> http://www.dmsolutions.ca/
> 




More information about the MapServer-users mailing list