Ticket #1770 (new defect)
WFS/OWS Path problem?
| Reported by: | warmerdam | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | high | Milestone: | 6.0 release |
| Component: | WFS Server | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | tmitchell |
Description (last modified by warmerdam) (diff)
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)" <jeffrey.brown@ngc.com>
To: <cropwithdawn@cox.net>
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:fwarmerdam@gmail.com] On Behalf Of Frank
Warmerdam
Sent: Friday, May 05, 2006 10:59 AM
To: Brown, Jeff (C2MS)
Cc: MAPSERVER-USERS@LISTS.UMN.EDU
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).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

