[Mapserver-users] Could someone post an OGR layer for a DGN file

Daniel Morissette morissette at dmsolutions.ca
Fri Nov 7 10:03:42 EST 2003


Stephen Clark wrote:
> 
> ### sample connection to DGN files using OGR
> 
> LAYER
>    NAME "FDP_093I100_dgn"
>    TYPE LINE
>    STATUS ON
>    CONNECTIONTYPE OGR
>    CONNECTION "d:/sclark1/TPL/FDP093I100.dgn"
> 
>    METADATA
>     WMS_TITLE "sample FDP 2001"
>     WMS_ABSTRACT "N/A"
>     WMS_SRS "EPSG:26910"
>   END
> 
> 
> END
> 

For sure you're missing a CLASS definition for your layer to show up.
There are examples in the OGR HOWTO:

http://mapserver.gis.umn.edu/doc40/ogr-howto.html#examples

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list