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

Martin, Daniel DMartin@erac.com
Fri, 21 Jun 2002 10:10:51 -0500


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.

------=_NextPartTM-000-f84e0562-8520-11d6-9830-00508bcfddcb
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C21935.D51A31E0"

------_=_NextPart_001_01C21935.D51A31E0
Content-Type: text/plain;
	charset="iso-8859-1"

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@CI.BOSTON.MA.US]
Sent: Thursday, June 20, 2002 4:05 PM
To: Martin, Daniel; mapserver-users@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@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_01C21935.D51A31E0
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.4613.1700" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=124160515-21062002><FONT face=Arial color=#0000ff size=2>I want 
to followup on this and say that the ogr2ogr util worked great!&nbsp; Frank 
Warmerdam, you've done great work on that.</FONT></SPAN></DIV>
<DIV><SPAN class=124160515-21062002></SPAN><SPAN 
class=124160515-21062002></SPAN><SPAN class=124160515-21062002><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=124160515-21062002><FONT face=Arial color=#0000ff size=2>I have 
a&nbsp;few questions about the results from ogr2ogr.&nbsp; I don't want to 
clutter the mapserver-users list with off-topic messages.&nbsp; Is there a 
better place I can discuss GDAL&nbsp;and&nbsp;OGR?</FONT></SPAN></DIV>
<DIV><SPAN class=124160515-21062002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=124160515-21062002><FONT face=Arial color=#0000ff 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=124160515-21062002><FONT face=Arial color=#0000ff size=2>Dan 
Martin</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> Obe, Regina DND\MIS 
  [mailto:robe.dnd@CI.BOSTON.MA.US]<BR><B>Sent:</B> Thursday, June 20, 2002 4:05 
  PM<BR><B>To:</B> Martin, Daniel; 
  mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> RE: [mapserver-users] 
  TIGER OGR on Windows doesn't work with back slash in 
paths<BR><BR></FONT></DIV>
  <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>&nbsp;</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&nbsp;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>&nbsp;</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>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2>ogr2ogr&nbsp; -f "MapInfo File"&nbsp; tigtab 
  mytigfolder</FONT></SPAN></DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</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>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff size=2>It 
  generated the completechain.tab and some additional tab files.&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=649343720-20062002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</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&nbsp;3.6, I finally figured out something that is probably worth 
    getting into the mailing archives - just&nbsp;in case someone else is 
    searching for the solution.</FONT></SPAN></DIV>
    <DIV><SPAN class=024094921-19062002><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>On Windows, 
    paths in .map files&nbsp;can happily use the \ backslash, including the 
    paths of other OGR&nbsp;types such as MapInfo TAB.&nbsp; However, OGR for 
    TIGER line doesn't work unless you use strictly / foreslashes in your 
    paths.&nbsp; Pure trial and error landed me with that conclusion.&nbsp; 
    Perhaps it is a bug, or perhaps it is by design.&nbsp; Either way it's the 
    way it is.</FONT></SPAN></DIV>
    <DIV><SPAN class=024094921-19062002><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=024094921-19062002><FONT face=Arial size=2>Although, as the 
    documentation warns,&nbsp;TIGER data is&nbsp;so terribly slow it's nearly 
    useless.&nbsp; Speaking of which, if anyone knows a good converter for 
    TIGER&nbsp;to MapInfo that supports the 2000 Census data, please let me 
    know.&nbsp; 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>&nbsp;</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></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C21935.D51A31E0--

------=_NextPartTM-000-f84e0562-8520-11d6-9830-00508bcfddcb--