[mapserver-users] using vector data format

valerio vianello valerio.vianello at yahoo.it
Wed Jun 18 05:24:33 EDT 2008


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080618/5a84033e/attachment.html


More information about the mapserver-users mailing list