[mapserver-users] Possibility to read DXF files?

Brent Fraser bfraser at geoanalytic.com
Tue Dec 13 11:18:12 EST 2011


Works for me.  Confirm your version of GDAL supports DXF by issuing on 
the command line:

ogrinfo --formats

It should show:

  -> "DXF" (read/write)

Best Regards,
Brent Fraser


On 12/13/2011 2:03 AM, Micha wrote:
> Hello,
>
> i'm trying to read DXF files to represent them on a map. I heard that it
> would be possible, but for me it is impossible till now. If it is possible
> which Version of Mapserver and GDAL/OGR do I have to have installed?
> Actually it is a quite old version with Mapserver 5.2 and GDAL 1.5 (never
> change a running system). Might it be possible for such a system?
>
> My actuall layer definition looks like this (perhaps it has some mistakes
> which I don't see):
>
> LAYER
>    NAME 'dxf_map'
>    CONNECTIONTYPE ogr
>    CONNECTION 'Profil.DXF'
>    STATUS on
>    TYPE LINE
>    STYLEITEM "AUTO"
>    CLASS
>     NAME 'try'
>    END
>
> METADATA
>   WMS_SRS 'epsg:900913 epsg:31467'
>    WMS_TITLE 'dxf_map'
>    WMS_FEATURE_INFO_MIME_TYPE 'text/html'
>    WFS_SRS   'epsg:900913 epsg:31467'
>    WFS_TITLE 'dxf_map'
> END
>
> PROJECTION
> 	'init=epsg:31467'
> END
>
> END #Layer
>
> Best regards
> Micha
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Possibility-to-read-DXF-files-tp7089202p7089202.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list