Frank

I'm running MapServer on Windows 2000 Professional. I found out that
msOWSBuildURLFilename() in mapows.c adds a backslash character.

See following snippet:

#ifdef _WIN32
        sprintf(pszBuf, "%s\\", pszPath);
#else
        sprintf(pszBuf, "%s/", pszPath);
#endif

I think this is what's messing things up. My mapfile works fine for WMS and
the GML file mentioned in the error message is being created in the
appropriate directory.

Is this a bug? If so, what's the work around? If not, what am I doing wrong?

Thanks!
JAB

----- Original Message ----- 
From: "Brown, Jeff (C2MS)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 05, 2006 11:12 AM
Subject: For JAB: FW: [UMN_MAPSERVER-USERS] Why do I get this error message
when trying to access WFS?




-----Original Message-----
From: Frank Warmerdam [mailto:[EMAIL PROTECTED] On Behalf Of Frank
Warmerdam
Sent: Friday, May 05, 2006 10:59 AM
To: Brown, Jeff (C2MS)
Cc: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] Why do I get this error message when
trying to access WFS?

Brown, Jeff (C2MS) wrote:
> I get the following error message when I try to access my WFS
resource:
> msOGRFileOpen(): OGR error. Open failed for OGR connection
> `/ms4w/tmp/ms_tmp/\7bb0d77657833c3f75a5de7149b5572f.tmp.gml'. File not

> found or unsupported format.

Jeff,

It looks like an extra "\" is getting inserted in the path somehow.
You might want to check your temporary file path in the WEB object.
Perhaps it is in there?  Or perhaps you will need to drop the trailing
forward slash from there (though that might cause other problems).

Best regards,
-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam,
[EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF,
http://osgeo.org

Reply via email to