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

Obe, Regina DND\MIS robe.dnd at CI.BOSTON.MA.US
Thu Jun 20 14:04:34 PDT 2002


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/20020620/b0d0eb72/attachment.htm>


More information about the MapServer-users mailing list