[mapserver-users] How can I get my shapefiles on LAN, without databases?

Mauricio Herrera georazor at gmail.com
Wed Aug 12 17:17:10 EDT 2009


Hello Jeff!

Only one question

the direction of the slash is correct in this mode?This mode is only for
windows right?

*SHAPEPATH "\\MACHINENAME\sharename\pathtodatafolder"*

or it should be with this slash?

*SHAPEPATH "//MACHINENAME/sharename/pathtodatafolder"*


Thanks


Mauricio




That's a good question.  I gave this a shot, and this worked for me with
shp2img (MapServer on Vista machine, data on XP machine):

MAP
 ...
 *SHAPEPATH "\\MACHINENAME\sharename\pathtodatafolder"*
 ...
 LAYER
   ...
   DATA "filename"
   ...
 END
END


-jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090812/3bfcc861/attachment.html


More information about the mapserver-users mailing list