[Mapserver-users] exporting dxf file using php/mapscript

Attila Csipa plists at prometheus.org.yu
Wed Sep 3 06:05:48 EDT 2003


On Wednesday 03 September 2003 01:54, woodbri at swoodbridge.com wrote:
> Well, aside from various difficulties you might face with respect to
> handling data that dxf may not handle well, like image data, I think
> the best way to do this would be to write an OUTFORMAT driver for DXF
> format. I think you be able to use the Flash driver as a start point

Actually there already is an (untested and just as undocumented) DXF 
OUTPUTFORMAT, not for the faint at heart. You can try it out if you have a v4 
mapserver or newer cvs code. Do everything as usual, just drop the following 
in your mapfile to generate dxf-s instead of images:

OUTPUTFORMAT
       NAME imagemap
       MIMETYPE "text/plain"
       DRIVER imagemap
       EXTENSION dxf
       FORMATOPTION DXF=ON
END




More information about the mapserver-users mailing list