[Mapserver-users] Re: VirtualSpatialData (OGR Connectiontype)
Frank Warmerdam
warmerdam at pobox.com
Fri Jan 23 07:15:33 PST 2004
Arthur, John wrote:
> I just wanted you all to know that Héryk is not alone. I too, am having the
> exact same issue. Works fine with ogrinfo, but not with MapServer. I only
> have one version of gdal11.dll, so there should be no issues there.
>
> Could the problem be that the precompiled version that DM provides, was
> compiled against a different version of gdal than what is provided by the
> OpenEV_FW_163.zip? Because the gdal11.dll contained in mapserver zip is
> different that the version in the OpenEV_FW_163.zip.
John,
No MapServer is built with exactly the same build of GDAL found in OpenEV_FW_163.
I would add that the way MapServer is currently built against GDAL on windows,
a bunch of the OGR stuff is statically linked into mapserver executables, as
opposed to being used from gdal11.dll. Because of that, it is generally not
sufficient to replace a gdal11.dll to upgrade mapserver to a new/different
version of OGR.
This is something I would dearly like to fix in MapServers' windows build structure,
but to accomplish it (practically speaking) we almost need to rewrite the
mapogr.cpp module to use the OGR C API and to reexamine the use of some of the
style related definitions in mapogr.cpp. The use of static OGR libraries in
MapServer causes me no end of headaches.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list