<P>Thank you for your help. We'll try again and I have very much appreciated all the help I got from the mapserver discussion group. Could you advise me where I could post or a friend of mine could post this kind of questions.
<P>Many thanks again,
<P>Emmanuelle
<P> <B><I>Frank Warmerdam <warmerdam@pobox.com></I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Emmanuelle wrote:<BR>> Hi Frank,<BR>><BR>> There was some problem to use the ogr2ogr under windows. The command was<BR>> unable to find the datasource [Unable to open datasource ] :-( joined<BR>> the commands below.<BR>><BR>> I am also not quite sure how can I make sure that the dbf file contains<BR>> certain columns- such as code ISO, country names, region names.<BR>><BR>> .\v0soa\vmaplv0\soamafr is the relative path of the data sources<BR>><BR>> soamer is at the same level as dht. and lat. files<BR>><BR>> T:\Projects\Analytix\02 Utils\Nima>ogr2ogr -f "ESRI Shapefile"<BR>> polbnda.shp .\v0s<BR>> oa\vmaplv0\soamafr<BR><BR>Emmanuelle,<BR><BR>You need the gltp:/vrf/ prefix on the name. You should also use a full<BR>path to the dataset, not a relative path. Relative paths may not work<BR>due to the nature of OGDI. I would also note that Shapefiles are the<BR>default output format, so you don't need to select it with -f.<BR><BR>eg.<BR><BR>ogr2ogr polbnda.shp gltp:/vrf/.../v0soa/vmaplv0/soamfr<BR><BR>Actually, as previously noted, you will also need to select the layer<BR>you want and rename that layer to polbnda. Please refer back to my earlier<BR>message where I detailed how to do this.<BR><BR>As for what columns appear in the .dbf file ... you get whatever you get.<BR>The only thing you can control is to force it to discard some stuff you<BR>don't need.<BR><BR>PS. I don't think this discussion belongs on the mapserver list.<BR><BR>Best regards,<BR><BR>-- <BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up | Frank Warmerdam, 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></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>