joining shp and dbase files

Alberto Gomez agomez at CCCMM.CESGA.ES
Thu May 26 08:41:01 EDT 2005


Hi Emil,

  I'm ashamed, i had not even tryed with 'c:/...' It works perfect now.

  Thanks very very much


Alberto



----- Original Message -----
From: "Emil Zegers" <taatuut at PLANET.NL>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Thursday, May 26, 2005 1:42 PM
Subject: Re: [UMN_MAPSERVER-USERS] joining shp and dbase files


> Hello Alberto,
>
> You could try switching to absolute path names.
>
> If your dbf is located at C:/inetpub/wwwroot/project/data/myfile.dbf
>
> Then instead of:
>
> "/inetpub/wwwroot/project/data/myfile.dbf"
>
> in the DATA parameter use:
>
> "C:/inetpub/wwwroot/project/data/myfile.dbf"
>
> Similair if the file is located at Z:/geodata/dbase/myfile.dbf
>
> in the DATA parameter use:
>
> "Z:/geodata/dbase/myfile.dbf"
>
> UNC paths also works so if your Z: disk is a mapping to a machine called
> alberto then use
>
> "\\alberto\geodata\dbase\myfile.dbf"
>
> Make sure the Windows user has appropriate rights to access the disk or
> share and don't forget that Windows IIS uses the IUSR on default.
>
> The IUSR account is a local machine account so it can only access local
> files and not mapped drives or other servers.
>
> So if you want to access data on other servers you need to switch to use a
> domain user in IIS (best is to create a new user or group for this
purpose).
>
> Accessing other drives/servers may work if you use integrated security in
> addition to anonymous access on IIS but this is only so if your (domain)
> accoutn has sufficient rights. Everybody from outside (not a domain user)
> will not be able to access that data. This can be confusing when testing
> your setup.
>
> Regards,
>
> Emil
>
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
> Behalf Of Alberto Gomez
> Sent: donderdag 26 mei 2005 13:31
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] joining shp and dbase files
>
>
>  Hi Emil,
>
>    Thank you for your quick response. It works great!!... but in local.
I'm
>  working in windows and my dbf file is located in a network volume (Z:). I
>  set DATA parameter with a full path like this:
>  "/inetpub/wwwroot/project/data/myfile.dbf" and i need to change from "C:"
> to
>  "Z:".
>
>    Could you helpme with that?
>
>    Tanks in advance,
>     Alberto
>
>
>
>
>



More information about the mapserver-users mailing list