<P>At last we&nbsp; got some results but we got this message. Not quite sure what the <A href="mailto:libref@libref(*)_line.shp">libref@libref(*)_line.shp</A> corresponds to. Can anybody help on this?
<P>C:\&gt;ogr2ogr polbnda.shp gltp:/vrf/v0soa/vmaplv0/soamafr<BR>ERROR 4: Failed to open Shapefile <A href="mailto:`libref@libref(*)_line.shp'">`libref@libref(*)_line.shp'</A>.
<P>ERROR 1: Terminating translation prematurely after failed<BR>translation of layer <A href="mailto:libref@libref(*)_line">libref@libref(*)_line</A><BR>
<P>&nbsp;<B><I>Emmanuelle &lt;bultee@yahoo.fr&gt;</I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>Hi Frank, 
<P>There was some problem to use the ogr2ogr under windows. The command was unable to find the datasource [Unable to open datasource ] :-( joined the commands below. 
<P>I am also not quite sure how can I make sure that the dbf file contains certain columns- such as code ISO, country names, region names. 
<P>.\v0soa\vmaplv0\soamafr is the relative path of the data sources</P>
<P>soamer is at the same level as dht. and lat. files<BR></P>
<P>T:\Projects\Analytix\02 Utils\Nima&gt;ogr2ogr -f "ESRI Shapefile" polbnda.shp .\v0s<BR>oa\vmaplv0\soamafr<BR>FAILURE:<BR>Unable to open datasource `.\v0soa\vmaplv0\soamafr' with the following drivers.<BR>&nbsp; -&gt; ESRI Shapefile<BR>&nbsp; -&gt; UK .NTF<BR>&nbsp; -&gt; SDTS<BR>&nbsp; -&gt; TIGER<BR>&nbsp; -&gt; IHO S-57 (ENC)<BR>&nbsp; -&gt; MapInfo File<BR>&nbsp; -&gt; DGN<BR>&nbsp; -&gt; GML<BR>&nbsp; -&gt; AVCBin<BR>&nbsp; -&gt; OGDI<BR>&nbsp; -&gt; FMEObjects Gateway 
<P>Many thanks </P>
<P>Emmanuelle<BR>-----Original Message-----<BR>From: Frank Warmerdam [mailto:warmerdam@pobox.com] <BR>Sent: Saturday, November 23, 2002 11:32 AM<BR>To: woodbri@swoodbridge.com<BR>Cc: Mapserver-Users<BR>Subject: Re: [mapserver-users] vmap0 to shape file<BR><BR><BR>woodbri@swoodbridge.com wrote:<BR>&gt; OK, I tried this, if you don't have the xvt libraries and includes it<BR>&gt; will not be easy and will only be fun if you like pain and headaches.<BR>&gt; <BR>&gt; Frank,<BR>&gt; Does ogr2ogr support converting VPF to shapefiles?<BR>&gt; What is the command syntax?<BR>&gt; What are the limits on conversion?<BR><BR>Steve,<BR><BR>Yes, ogr2ogr can be used to translate VPF to shapefile, if you have a<BR>build with OGDI support (such as the OpenEV_FW binary builds). For<BR>instance, to extract the political boundaries you might do this:<BR><BR>warmerda@gdal[589]% ogr2ogr polbnda.shp<BR>gltp:/vrf/usr4/mpp1/v0noa/vmaplv0/noamer<BR>'polbnda@bnd(*)_area'<BR>warmerda@gdal[590]% ls -l polbnda*<BR>-rw-r--r-- 1 warmerda users 1052287 Nov 22 11:58 polbnda.dbf<BR>-rw-r--r-- 1 warmerda users 327 Nov 22 11:57 polbnda.prj<BR>-rw-r--r-- 1 warmerda users 10335532 Nov 22 11:58 polbnda.shp<BR>-rw-r--r-- 1 warmerda users 85980 Nov 22 11:58 polbnda.shx<BR><BR>In the dataset name 'gltp:/vrf/usr4/mpp1/v0noa/vmaplv0/noamer' the<BR>gltp:/vrf part is not really in the filesystem. The VPF data was at<BR>/usr4/mpp1/v0noa. The "noamer" directory should be at the same level as<BR>the dht. and lat. files.<BR><BR>The resulting political boundaries seem to include a "nam" attribute<BR>with the state names/province names. Not too sure about namtional level<BR>boundaries. I couldn't browse around in the data very easily since it<BR>was still fairly large.<BR><BR>The limits? I'm not too sure what issues you will run into. The data<BR>model is VPF as exposed through the OGDI VPF (vrf) driver.<BR><BR>Best regards,<BR><BR>-- <BR>---------------------------------------+--------------------------------<BR>---------------------------------------+------<BR>I set the clouds in motion - turn up | Frank Warmerdam,<BR>warmerdam@pobox.com<BR>light and sound - activate the windows | http://pobox.com/~warmerdam<BR>and watch the world go round - Rush | Geospatial Programmer for Rent<BR><BR><BR></P>
<P><BR>
<HR SIZE=1>
<A href="http://fr.mail.yahoo.com/">Yahoo! Mail</A> -- Une adresse @yahoo.fr gratuite et en français !<BR></BLOCKQUOTE><p><br><hr size=1><a href="http://fr.mail.yahoo.com">Yahoo! Mail</a> -- Une adresse @yahoo.fr gratuite et en français !<br>