[ms4w-users] OGR and DGN: doesn't work
Frank Warmerdam
warmerdam at pobox.com
Fri Oct 26 11:57:38 EDT 2007
Jeff McKenna wrote:
> You can verify that your ms4w suppports DNG data by executing the
> following at the commandline:
> - execute: /ms4w/setenv.bat
> - execute: ogrinfo --formats
> - look for a '"DGN" (read/write)' line
> - now try a shp2img command with your mapfile (see
> http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img)
> - make sure your dng layer is in the same projection as your other data
> - possibly remove all other layers. projection objects, and set the
> map's EXTENT to that DNG layer, and then retry shp2img
>
> Mapfile example:
> http://mapserver.gis.umn.edu/docs/reference/vector_data/dgn
>
> Here's more reading on how OGR support DGN files:
> http://www.gdal.org/ogr/drv_dgn.html
Attila,
The only thing I would add to the above is that while DGN support is standard
in OGR, it only supports pre version 8 DGN files, not the modern microstation
v8 files. Currently there is no way to directly read v8 files in MapServer
or via OGR.
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 ms4w-users
mailing list