[mapserver-users] TIGER OGR on Windows doesn't work with back
slash in paths
Obe, Regina DND\MIS
robe.dnd@CI.BOSTON.MA.US
Thu, 20 Jun 2002 17:04:34 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2189E.1463CF20
Content-Type: text/plain;
charset="iso-8859-1"
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@erac.com]
Sent: Wednesday, June 19, 2002 6:06 PM
To: mapserver-users@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
------_=_NextPart_001_01C2189E.1463CF20
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>I
don't know if this has been answered already - since my mail seems a bit
delayed.</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>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).</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>My
syntax was something like</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2>ogr2ogr -f "MapInfo File" tigtab
mytigfolder</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>Where
mytigfolder is the folder containing my tiger data and tigtab is the folder to
create to output the map info tab files.</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>I
think you can download it from </FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2><A
href="http://gdal.velocet.ca/projects/opengis/">http://gdal.velocet.ca/projects/opengis/</A><A
href="http://www.remotesensing.com"></A></FONT></SPAN></DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Martin, Daniel
[mailto:DMartin@erac.com]<BR><B>Sent:</B> Wednesday, June 19, 2002 6:06
PM<BR><B>To:</B> mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B>
[mapserver-users] TIGER OGR on Windows doesn't work with backslash in
paths<BR><BR></FONT></DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>Dan
Martin</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C2189E.1463CF20--