[Gdal-dev] Reading DGNv8 file from MAPSERVER with DGNDirect

Frank Warmerdam warmerdam at pobox.com
Wed Mar 7 14:54:55 EST 2007


Jean-Daniel Gonon wrote:
> Hi
> 
> Yes, I replace original OGR DLL/Lib in MapServer with the DLL I build in 
> VC++.
> But I don't modify other setting in MAPSERVER, I don't rebuild MAPSERVER
> 
> I see, witth spys in my source code, that MAPSERVER open DGNv8 file, 
> MAPSERVER can read unit of resoution, geometry of file (2d/3d).
> But geographics elements are not display in MAPSERVER interface, I have 
> just a message about "CGI error".

Jean-Daniel,

One thing that mapserver always does when rendering is set the spatial
filter for the region of the map.  Is it possible this is not working
properly with your driver?  You can use the -spat commandline switch to
ogrinfo to test the same thing.

However, since you mention there was a cgi error, perhaps this is not
the issue. Exactly what cgi error did you get?  I think it might be
prudent for you to do some testing using "shp2img" which also comes
with most mapserver distributions, and makes it easy to test things at
the commandline.

Something like:

   shp2img -all_debug 1 -m your.map -o out.png -l your_layer

One nice thing about shp2img is that it is more practical to debug than
mapserv run under apache.

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list