[mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
Hi, I have troubles with getting the ORG output to work. I have configured CVS ouput like this OUTPUTFORMAT NAME CSV DRIVER OGR/CSV MIMETYPE text/csv FORMATOPTION LCO:GEOMETRY=AS_WKT FORMATOPTION STORAGE=filesystem FORMATOPTION FORM=simple FORMATOPTION FILENAME=result.csv END I

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Matt McClelland
Check if you have enough disk space left df -alh Matt :) Sent from my iPhone On 04/12/2011, at 9:29 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I have troubles with getting the ORG output to work. I have configured CVS ouput like this OUTPUTFORMAT NAME CSV DRIVER

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
Hi, Part of the problem can be solved by setting TEMPPATH at MAP - WEB level. See http://trac.osgeo.org/mapserver/ticket/3354 and recent http://trac.osgeo.org/mapserver/ticket/4103. That makes Mapserver to use the desired directory as a target for the temporary stuff. However, there seems

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread Rahkonen Jukka
Hi, I could repeat the error on Windows (MS4W and Mapserver 6.0.0). This time data come from shapefile while previously they came from PostGIS. However, your error is not exactly the same than mine. You have OGR CreateDataSource failed while I am getting Failed to open result file.

[mapserver-users] Mapcache question.

2011-12-04 Thread forums
Hi: I hope this is the proper place to ask questions about Mapcache since it's been moved into the trunk of Mapserver. I'm wondering if Mapcache can help with a particular setup, and if so maybe some advice or direction on where to start? Here's the setup. Every 5 minutes a new set of GeoTiffs

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread Stephen Woodbridge
Hi Jerl, Maybe! is the short answer. The analysis of the problem is: 1. What is the primary purpose of mapcache? Will it is a flexible tools that can do a lot of things, like on-the-fly cache building, compositing images from tiles in the cache, etc. It's primary purpose is to provide tile

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread thomas bonfort
Jerl, mapcache itself does not do any pruning of the caches it has created, but you can get the same effect by using a cache backend that supports expiration (i.e. memcache). Mapcache can fit your need, provided: - you configure your tileset with a targetdate dimension- you use a memcache backend

Re: [mapserver-users] Trouble with OGR output and writing to temppath

2011-12-04 Thread John Cartwright
Thanks for the suggestion, but I ran across that ticket earlier and setting TEMPPATH didn't address my problem. It does direct the temporary files to the desired location I still see: ServiceException code=NoApplicableCode locator=mapserv msOGRWriteFromQuery(): General error message. Failed

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread forums
Thanks Stephen and Thomas. I think I'll be good with the dimension and the disk cache. Unfortunately, the apache we have doesn't have memcache built into it (too much hassle to upgrade it right now) and the version of SQLite is too old...also a hassle to upgrade. I was able to get it to load

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread forums
I almost have it, I just can't seem to get the targetdate dimension to populate. /mapcache/gmaps/country@WGS84/1/1/0.png works fine if I don't have the layers that require the targetdate parameter. I get a parameter pattern failed validation error returned from Mapserver when I have the

[mapserver-users] Post body is short

2011-12-04 Thread Hawk AA
Hi there, We are running a service where the access to mapfiles needs to be password protected. I’m using PHP Session for that, and until recently I’ve used a wrapper which looked like this: session_start(); $oParams = new HawkSoftware\URL\REQUESTParameters(); try {

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread Stephen Woodbridge
Jerl, http://mapserver.org/cgi/runsub.html Sounds like you do not have a validation_pattern for the data parameter. -Steve W On 12/4/2011 4:23 PM, forums wrote: I almost have it, I just can't seem to get the targetdate dimension to populate. /mapcache/gmaps/country@WGS84/1/1/0.png works

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread thomas bonfort
only the wms and wmts services support dimensions (there is no spec defining this support for the others). you can either adapt your gmaps/js code to build a wmts url, or hack into the mapcache code to add dimension support to the tms / gmaps service. -- thomas On Sun, Dec 4, 2011 at 22:23,