[mapserver-users] TIGER OGR on Windows doesn't work with back slash in paths

Martin, Daniel DMartin at erac.com
Fri Jun 21 08:10:51 PDT 2002


I want to followup on this and say that the ogr2ogr util worked great!
Frank Warmerdam, you've done great work on that.
 
I have a few questions about the results from ogr2ogr.  I don't want to
clutter the mapserver-users list with off-topic messages.  Is there a better
place I can discuss GDAL and OGR?
 
Thanks,
Dan Martin

-----Original Message-----
From: Obe, Regina DND\MIS [mailto:robe.dnd at CI.BOSTON.MA.US]
Sent: Thursday, June 20, 2002 4:05 PM
To: Martin, Daniel; mapserver-users at lists.gis.umn.edu
Subject: RE: [mapserver-users] TIGER OGR on Windows doesn't work with back
slash in paths


I don't know if this has been answered already - since my mail seems a bit
delayed.
 
I actually had pretty good success with Gdal OGR2OGR tool on Windows and
applying it to Tiger 2000 (although I compiled the source under Cygwin so
not sure if that made a difference).
 
My syntax was something like
 
ogr2ogr  -f "MapInfo File"  tigtab mytigfolder
 
Where mytigfolder is the folder containing my tiger data and tigtab is the
folder to create to output the map info tab files.
 
It generated the completechain.tab and some additional tab files.  The
completechain was really all I needed for my purposes so didn't look too
closely at the other tab files.
 
I think you can download it from 
 
http://gdal.velocet.ca/projects/opengis/
<http://gdal.velocet.ca/projects/opengis/>   <http://www.remotesensing.com> 
 
 
 
 
 
 
 
 
 

-----Original Message-----
From: Martin, Daniel [mailto:DMartin at erac.com]
Sent: Wednesday, June 19, 2002 6:06 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] TIGER OGR on Windows doesn't work with backslash
in paths


After struggling with using TIGER line data through OGR within the Windows
binary version 3.6, I finally figured out something that is probably worth
getting into the mailing archives - just in case someone else is searching
for the solution.
 
On Windows, paths in .map files can happily use the \ backslash, including
the paths of other OGR types such as MapInfo TAB.  However, OGR for TIGER
line doesn't work unless you use strictly / foreslashes in your paths.  Pure
trial and error landed me with that conclusion.  Perhaps it is a bug, or
perhaps it is by design.  Either way it's the way it is.
 
Although, as the documentation warns, TIGER data is so terribly slow it's
nearly useless.  Speaking of which, if anyone knows a good converter for
TIGER to MapInfo that supports the 2000 Census data, please let me know.
Even if it doesn't support the extra year 2000 files, it may work for my
needs.
 
Thanks,
Dan Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020621/355a4bc6/attachment.htm>


More information about the MapServer-users mailing list