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

Daniel Morissette morissette@dmsolutions.ca
Fri, 07 Nov 2003 10:03:42 -0500


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@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users