[Cartoweb-dev] map file CONNECTION without absolute paths?

Marc.Monnerat at swisstopo.ch Marc.Monnerat at swisstopo.ch
Thu Jun 14 04:27:18 EDT 2007


What type of format are you using ? It look like it's esri arcinfo

CONNECTIONTYPE local is only for shapefile only (and you can omit it). It
has nothing to do with absolute or relative path to data. If you want to use
some coverage, use something like:

For more informations, look the excellent "vector data access"


Marc M.

-----Message d'origine-----
De : cartoweb-dev-bounces at lists.maptools.org
[mailto:cartoweb-dev-bounces at lists.maptools.org] De la part de Carolin Latze
Envoyé : jeudi, 14. juin 2007 09:38
À : cartoweb-dev at lists.maptools.org
Objet : Re: [Cartoweb-dev] map file CONNECTION without absolute paths?


I forgot to change CONNECTIONTYPE to local. Did it now and included the
filename in the DATA attribute. Anyway, it doesn't work:

Error in msSHPOpenFile():

I also tried it with extension (arc.adf) and without specifying the filename
(only the folder). I get the same error :-(

Thanks in Advance

Carolin Latze wrote:
> Hi all,
> it's me again ;-) I have another (new) problem now: I had to import 
> arcview data into cartoweb. I found a very good tool to convert the 
> layers in a map file, which works. My only problem is, that I have 
> absolute paths in the CONNECTION attribute in the map file. Is there a 
> way to avoid them? I tried to use relative ones, which leads to 
> errors,
> e.g.:
> Error in msOGRFileOpen(): Open failed for OGR connection 
> `data/AdministrativeBoundaries/boundary'.  File not found or 
> unsupported format.
> Has anybody a hint for me how to solve this problem?
> Thanks in Advance!
> Carolin

Carolin Latze
Research Assistant

Department of Computer Science
Boulevard de Pérolles 90
CH-1700 Fribourg

phone: +41 26 300 83 30

Cartoweb-dev mailing list
Cartoweb-dev at lists.maptools.org

More information about the Cartoweb-dev mailing list