[mapserver-dev] mapserver 3.7 - msBuildPath call in msOGRFileOpen breaks ogdi connections
jnovak at novacell.com
Mon Nov 18 23:58:40 EST 2002
Thanks gentlemen for the quick fix.
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Monday, November 18, 2002 12:25 PM
Cc: mapserver-dev at lists.gis.umn.edu
Subject: Re: [mapserver-dev] mapserver 3.7 - msBuildPath call in
msOGRFileOpen breaks ogdi connections
For the record, this problem has been fixed by Frank in CVS (3.7)
See also http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=219
> Administrator wrote:
> I'm regression testing my 3.7 mapserver build against some of my 3.6.3
> map files.
> In 3.7, the connection string for this layer:
> NAME "NORTHAMERICA"
> CONNECTION "gltp:/vrf/H:/GIS Data/Digital Chart of the
> World/NIMA/Level 0/v0noa/vmaplv0/noamer:polbndl at bnd(*):Line"
> CONNECTIONTYPE OGR
> TYPE LINE
> STATUS DEFAULT
> COLOR 255 255 0
> is prepended with the absolute path to the map file, causing great
> sadness in the open routine for this data type as the gltp parser
> barfs when gltp: is not found as the first five characters of the URL.
> It appears that the addition of the msBuildPath invocation in
> msOGRFileOpen is the culprit. As I'm sure this works for other data
> types I have not needed or tested, could I get some advice regarding
> handling of this particular situation.
> I have temporarily munged the gltp: parser to search for that string
> and throw away anything before it, but I suspect this not the optimal
> John Novak
> Novacell Technologies
More information about the mapserver-dev