VS: [mapserver-users] using vector data format

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Jun 18 09:01:45 EDT 2008


Hi, 

Your problem is that Mapserver does not support AutoCAD dwg file format.  You need to convert it first to some supported format, which are listed at
http://gdal.org/ogr/ogr_formats.html

-Jukka Rahkonen. 


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: valerio vianello
Lähetetty: ke 18.6.2008 12:24
Vastaanottaja: mapserver
Aihe: [mapserver-users] using vector data format 
 
Dear all,

I tried without success to use a dwg file as data input for a layer into the mapfile.

My goal is to use a vector data to build the main layer of the map so that when the map is "resize" the image quality will be good at every size.

Mapserver give me this error   "File not found or unsupported format."
and my test map file is this:

MAP

  IMAGETYPE      PNG 

  
  EXTENT         24.914925 60.162912 24.917090 60.164152  

  SIZE           300 200
  SHAPEPATH      "/var/www/"

  IMAGECOLOR     255 255 255

  WEB
    TEMPLATE  'test.html'  
    IMAGEPATH '/var/www/tmp/data_tmp/'
    IMAGEURL  '/tmp/data_tmp/'
  END
 # Start of LAYER DEFINITIONS -----------------------------------------------------------
LAYER
   NAME "test"
   TYPE POLYGON
   CONNECTIONTYPE OGR
   CONNECTION "/var/www/demo1/images/b1_f2.dwg"
   STATUS DEFAULT
   CLASS
   END
END 

END

any suggetsion ?

Thanks

Valerio



      ___________________________________ 
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/



More information about the mapserver-users mailing list