[mapserver-users] Multiple Shapepaths?
Daniel Morissette
morissette at dmsolutions.ca
Thu Sep 20 07:38:05 PDT 2001
Stephan Dunning wrote:
>
> Is it possible to employ two separate shapepaths or mapfiles for one map
> with multiple layers, one for permanent shapes/layers and one for temporary
> shapes/layers to be purged daily?
>
> Each database query performed by a user on my app creates a dbf and
> ultimately a shapefile to use in mapserver, but I have writing these temp
> shapes to the same directory as my other permanent shapes. I'd like to
> store them separately in order to automatically purge the temp directory on
> a daily basis.
>
It's possible... simply set an absolute path for the DATA value of the
temporary shapefile layer and then the SHAPEPATH will be ignored for
this layer.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list