[FWTools] ogr2ogr and asterisks in Windows XP

Simon Taylor simon.taylor.uk at gmail.com
Thu Sep 28 13:51:31 EDT 2006


Hi,

I'm trying to convert VMAP0 data to ESRI shapefiles using ogr2ogr. The
problem is that all the files it has to create from the VMAP0 data
have asterisks in their name, eg:

1: libref at libref(*)_line (Line String)
2: libreft at libref(*)_text (Point)
3: tileref at tileref(*)_area (Polygon)
4: tilereft at tileref(*)_text (Point)
5: polbndp at bnd(*)_point (Point)

The Windows file system doesn't allow the creation of files with
asterisks in their name, so as soon as I run the following command:

ogr2ogr -spat -3 52 0 55 -f "ESRI Shapefile" C:\vmap
gltp:/vrf/P:/vmap/v0eur/vmaplv0/eurnasia

I immediately get the error:

ERROR 1: Failed to create file C:\vmap\libref at libref(*)_line.shp.

Is there any way I can tell ogr2ogr to omit the asterisk?

Thanks,

Simon


More information about the FWTools mailing list