on Unix systems I would use as workaround for this a cron job, e.g.
running a script every 5 minutes and having something like
find /path/to/zoom/level -name "*.png" -mmin +5 -exec rm {} \;
which deletes all PNG files older than 5 minutes
armin
On 11/25/2013 03:31 PM, James_in_Utah wrote:
Th
illogical quirk.
FWIW, I believe I had brought this up as a change request to the wmts
working group, but this was ignored as I am not a member.
best regards,
thomas
On 9 April 2013 20:57, Armin Burger mailto:armin.bur...@gmx.net>> wrote:
Dear all
I have a question regarding th
Dear all
I have a question regarding the GoogleCRS84Quad TileMatrixSet defined in
MapCache. MapCache specifies this in the docs with the first level [0]
as pixel resolution 0.70312500 deg, and an extent of
-180 -90 180 90
and returns the GoogleCRS84Quad TileMatrixSet in the Capabilities
re
William
I cannot say anything for Mac OS in this respect. But at least for Linux
running Apache in the classical pre-fork MPM I did not experience
problems with PHP-MapScript running as an Apache DSO. Also some stress
tests with benchmarking using multiple WMS requests with on MapScript
OWS a
David
According to the WMS specs, BBOX parameters for getMap requests are
comma-separated, you are using spaces only (url-encoded as %20). I would
expect MS to return an exception instead of ignoring this.
armin
On 05/03/2012 21:20, David Miller wrote:
Hi list!
We have MapServer 6.0.1 inst
Hello everybody
there is a quite flexible and easy to use solution to achieve all these
requirements with additional (non-standard) request parameters: using MapScript
bindings for OWS/WxS requests (see e.g.
http://mapserver.org/ogc/mapscript.html).
I use both PHP and Python bindings and every
On 01/03/2012 18:34, Rahkonen Jukka wrote:
Hi,
Unfortunately axis order in WFS 1.1.0 (or in GML3) is complicated.
I need a second option so I can respond to a customer regarding their concerns of
using our> WFS services. Their concern is mainly confidence and the ability of
moving forwar
I think setting the layer template to an *empty* string does not make
the layer queryable. Set it to whatever non-empty string and try again, like
$layer->set("template", "pippo");
PHP MapScript (or maybe PHP in general) seems to treat empty strings
typically equivalent to null or false.
arm
thanks again Thomas,
with this setting for the apsx2 it compiled and installed fine.
Armin
On 02/01/2012 15:18, thomas bonfort wrote:
hmm, the apxs2 command does seem to need the -Wl flag passed to it
--
thomas
On Mon, Jan 2, 2012 at 14:41, Armin Burger wrote:
Thomas
thanks a lot for the
Thomas
thanks a lot for the quick help.
OS is Ubuntu 10.04 64bit, libtool version is 2.2.6b.
I made the changes as you suggested and compilation continued. But then
another error appeared:
/usr/bin/apxs2 -Wc," -DUSE_MEMCACHE -DUSE_PCRE -DUSE_OGR -DUSE_GEOS
-DUSE_SQLITE -DUSE_PIXMAN-DLIN
Hi all
I tried to compile MapCache from Mapserver trunk and get the error
/usr/share/apr-1.0/build/libtool --mode=link --tag CC gcc -rpath
/usr/local/lib ./lock.lo ./service_ve.lo ./source.lo ./tileset.lo
./core.lo ./image.lo ./imageio_jpeg.lo ./http.lo ./imageio_png.lo
./service_wms.lo ./gri
Michal
I hope I understood your question correctly...:
the following code returns all class indexes for the provided layer and
full map extent that appear in the data.
$me = $map->extent;
$layer->open();
$status = $layer->whichShapes($me);
$classWithData = array();
while ($shape = $layer->nex
Hi all
I tried to use with PHP MapScript the function for the LAYER class
"nextShape()" as described in the documentation with a small script
example.
The short version is
$extentMap = $map->extent;
$status = $layer->whichShapes($extentMap);
$shape = $layer->nextShape();
This works fin
Puneet
if you're interested in general in some sample code using PHP or Python
MapScript for OWS request handling, please find some classes here:
http://p-ows.pmapper.net/trac/browser/p-ows/trunk
armin
On 08/09/2011 20:05, Mr. Puneet Kishor wrote:
On Sep 8, 2011, at 1:03 PM, thomas bonfort
in PHP MapScript should be something like
$map->setMetaData("ows_enable_request", "*");
in Python:
map.setMetaData("ows_enable_request", "*")
armin
On 08/09/2011 20:05, Mr. Puneet Kishor wrote:
On Sep 8, 2011, at 1:03 PM, thomas bonfort wrote:
it goes in map->web->metadata
I guessed
QGIS has quite nice possibilities to select the encoding when opening
and writing the various supported vector data formats (including e.g.
shape and KML).
armin
On 07/09/2011 17:59, Chris Jackson wrote:
Hi all
I am having some issues with special characters in my application (sure
I am not
Chris
Is it just this specific WMS or any other as well? I think the NASA JPL
is very often not working or responding (it currently returns HTTP error
403 for getCapalities). It's even more like I cannot remember anymore
when it was working... Maybe the URL has just changed...
Armin
On 05/0
On 04/09/2011 19:07, Frank Warmerdam wrote:
On 11-09-04 09:33 AM, Armin Burger wrote:
Hi all
I noticed a strange behaviour of MapServer (5.6.7 and 6.0.1) when
defining for
a raster layer based on an ECW file a processing parameter for the
bands order
like
PROCESSING "BANDS=3,2,1"
Hi all
I noticed a strange behaviour of MapServer (5.6.7 and 6.0.1) when
defining for a raster layer based on an ECW file a processing parameter
for the bands order like
PROCESSING "BANDS=3,2,1"
The order of the bands does not have any effect. The image is always
displayed in the original b
I discovered now the conversion method in the Mapserver source code in
maptile.c => msTileSetExtent().
armin
On 10/06/2011 17:43, Armin Burger wrote:
Hi all
I would like to set up a scripting solution based on MapScript that
replies correctly to requests using the Google tile schema x+
Hi all
I would like to set up a scripting solution based on MapScript that
replies correctly to requests using the Google tile schema x+y+z. Does
anybody know a formula how to transform the XYZ request values to
bounding box coordinates in the Google Spherical Mercator projection?
I know tha
e if the
free() removal has any effect.
Alan
On April 27, 2011 01:25:54 pm Armin Burger wrote:
Hi everybody
in MapServer/MapScript 6 the various class methods "free()" have been
removed. If I want to have PHP/MapScript code compatible with both
MapServer 5.x and 6, the easiest would be to
Hi everybody
in MapServer/MapScript 6 the various class methods "free()" have been
removed. If I want to have PHP/MapScript code compatible with both
MapServer 5.x and 6, the easiest would be to completely remove these
method calls from the code.
My question is just if these free() methods a
Francesco
getShape() has been deprecated in MS <=5.6 and has been re-introduced
(with modifications) in MS 6, and getFeature() that replaced getShape()
in MS <=5.6 has been removed in MS 6, quite clear, isn't it? ;-)
There's a migration guide Mapscript 5.6->6 and an RFC hat describe
Mapscrip
Hi all
the outputformat KML in the new MS 6 is quite nice and it allows easy
and flexible data export to KML especially via Mapscript. But the
implementation of the export of data attributes could be improved IMHO.
Currently the fields/items of the layers (defined under map file
METADATA KML
I tried the MS 6beta1 from SVN (the osgeo download site is not responding).
The first error I found in PHP Mapscript was related to the function
setXY() for point objects, the following code causes a segmentation
fault (something like "child pid 16057 exit signal Segmentation fault
(11)" in th
Hello Jukka
your assumption how the the OFFSITE tag is applied for the WCS output is
also what I would have expected it to do. I probably did not notice this
strange behaviour since my set ups of WCS only used non-overlapping
tiles (for WMS I use overlapping tiles and the OFFSITE works fine).
Hi all
when defining a WFS with MapServer the GetCapabilities request returns
several warnings of the type:
WARNING: Optional metadata ... was missing for ...
if the version is set to 1.1.0 (it does not appear for requested version
1.0.0). I do not really understand why missing *optional* me
Hello
just a more marginal remark regarding WCS and time support: is there a
chance that the small patches for WCS-T (tickets #2487 and #1856) will
make it into the 5.4?
Greetings, Armin
On 26/02/2009 06:44, Steve Lime wrote:
Greetings all: MapServer 5.4 Beta 2 is now available for downlo
My experience is the following: I'm using PHP MapScript since ~ 2 years
as Apache DSO without noticing problems. Important is to use the Apache
'prefork MPM' version of Apache 2.+ (or Apache 1.3 which seems always
'prefork'). Using the threaded MPM ('worker') of Apache seems not to
work correct
developers.
Greetings, Armin
On 10/11/2008 17:33, Alexander Petkov wrote:
On Wed, Nov 5, 2008 at 11:39 AM, Alexander Petkov <[EMAIL PROTECTED]> wrote:
On Wed, Nov 5, 2008 at 10:13 AM, Armin Burger <[EMAIL PROTECTED]> wrote:
Alex
I had a look at the code and tried the suggested fix. I u
#x27; as a range of dates instead of
single dates for the full timeseries.
Armin
On 05/11/2008 17:46, Alexander Petkov wrote:
On Mon, Nov 3, 2008 at 4:10 PM, Armin Burger <[EMAIL PROTECTED]> wrote:
Hi everybody
I wanted to test the time support functionality of WCS but this seems n
Hi everybody
I wanted to test the time support functionality of WCS but this seems
not to be working. There is an older bug report at
http://trac.osgeo.org/mapserver/ticket/1856
but it seems this has not been fixed yet.
I use a PostGIS table to store the tileindex for the time series and as
Milo
Depending on the purpose, you could check if Mapyrus is useful for you.
Disadvantage is that you need to define the map layout a second time and
make it look similar to Mapserver layout. But the PDF output quality is
far better than the one of Mapserver, and you do not need to bother with
Alim
The extent returned for a layer seems to be working only for 'standard'
layers (e.g. based on shapefiles), but neither for Postgis nor raster
layers, god knows why I use the code below for zooming to the extent
of a Postgis layer:
$data = trim($layer->data);
$dataList1 = preg_split(
On 17/04/2008 14:20, Daniel Morissette wrote:
Armin Burger wrote:
[...] Or using the main map file and deleting all layers but the
requested one with 'removeLayer()'. This does not work with PHP
Mapscript since this method does not exist there.
The removeLayer() method does no
John
I don't know if it is an option for you, but it would be quite easy doing this
with Mapscript, using the functionality of OWSrequest. Either using an 'empty'
map file and adding to it the desired layer from the main map file with
Mapscript 'addLayer()' method. This works with all types of M
Carlo
I don't know if this behaviour is a feature or a bug of PHP Mapscript (I
have not tested it with SWIG versions of Mapscript). A workaround is to
project the buffer in the same projection as the layer. Then the extent
is returned correctly. Something like
$prj = ms_newprojectionobj($qu
Jukka
if you have a column you can use for sorting you could rewrite the
shapefile using the sortshp tool provided with mapserver. The problem
might be how to add this field if you create the shapefile with
gdaltindex. One could use a Perl/PHP/Python script to update a sort
column in the shap
Jukka
I was working a bit on this issue since we face the same problem. If you
don't mind using Python MapScript instead of the Mapserver CGI then you
could try to use this Python class that uses the OWSRequest
functionality of Mapserver/Mapscript:
http://svn.pmapper.net/repos/owspy/trunk/
Hello
I'd have a question for the PHP Mapscript developers: are there any
plans to implement the removeLayer() method (that exists for SWIG
Mapscript versions) also in PHP Mapscript? Setting the layer status to
MS_DELETE is in most cases not an alternative since it seems to have
effects only
41 matches
Mail list logo