Re: [MapServer-users] CGI variable "map" fails to validate

2024-03-06 Thread Jan Hartmann via MapServer-users
Shouldn't it be ".*' ? On 06/03/2024 23:29, Lernout, Matthew via MapServer-users wrote: So, still banging my head against this a month later after eliminating HTTPS as the bogeyman. Using FastCGI and MapServer with the simplest config and what should be an "allow everything" test expression:

Re: [MapServer-users] multiple shapepaths

2023-12-13 Thread Jan Hartmann via MapServer-users
variables not pan out? *From:*MapServer-users *On Behalf Of *Jan Hartmann via MapServer-users *Sent:* Wednesday, December 6, 2023 1:14 AM *To:* Steve Lime *Cc:* mapserver-users@lists.osgeo.org *Subject:* Re: [MapServer-users] multiple shapepaths How about a shapepath at the layer level? I am

Re: [MapServer-users] multiple shapepaths

2023-12-06 Thread Jan Hartmann via MapServer-users
O, if you do a SHAPEPATH at the layer level then you might as well just add the full-path to the DATA element. You’re not really gaining anything with the additional complexity. Did the idea of using runtime variables not pan out?   From: MapServer-users On Behalf Of Jan Hartmann via MapServer-u

Re: [MapServer-users] multiple shapepaths

2023-12-06 Thread Jan Hartmann via MapServer-users
in the file system? On Wed, Dec 6, 2023 at 12:14 AM Jan Hartmann via MapServer-users wrote: How about a shapepath at the layer level? I am combining 20 years of working with old maps in three (or four :-)) different countries (Netherlands, Germany and Flemish and Walloon Belgium

Re: [MapServer-users] multiple shapepaths

2023-12-05 Thread Jan Hartmann via MapServer-users
won’t work. A configuration is loaded in entirety first, and then applied as necessary.On Tue, Dec 5, 2023 at 7:21 AM Jan Hartmann via MapServer-users <mapserver-users@lists.osgeo.org> wrote:Not sure. I cannot get it working anyway. Any ideas, Steve? On 04/12/2023 10:10, Jörg Thomsen (WhereGrou

Re: [MapServer-users] multiple shapepaths

2023-12-05 Thread Jan Hartmann via MapServer-users
02.12.23 um 19:32 schrieb Jan Hartmann via MapServer-users: Yes, that is what I sought, didn't know it was possible. Thanks! Jan On 02/12/2023 19:29, Steve Lime wrote: One other thought, you can use multiple paths via runtime subs to approximate what I think you’re looking for, so: WEB

Re: [MapServer-users] multiple shapepaths

2023-12-02 Thread Jan Hartmann via MapServer-users
and only the default would ever be used (e.g. “path2” “immutable”). —Steve On Fri, Dec 1, 2023 at 11:28 PM Steve Lime wrote: Nope, just the one value. On Fri, Dec 1, 2023 at 1:02 PM Jan Hartmann via MapServer-users wrote: Hi, Is it possible to use multiple paths

[MapServer-users] multiple shapepaths

2023-12-01 Thread Jan Hartmann via MapServer-users
Hi, Is it possible to use multiple paths in a shapepath? ./data1:./data2 does not work Jan ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [MapServer-users] PHP Mapscript: how to clone layers

2023-11-27 Thread Jan Hartmann via MapServer-users
verstudio.net twitter: @geographika On Sun, Nov 26, 2023, at 7:38 PM, Jan Hartmann via MapServer-users wrote: Hi, In previous versions of PHP MapScript a new layer was defined as: $l2 = new layerObj($oMap,$l1); $l1 is the base layer from which $l2 is copied. In MapScript SWIG the second parameter has

[MapServer-users] PHP Mapscript: how to clone layers

2023-11-26 Thread Jan Hartmann via MapServer-users
Hi, In previous versions of PHP MapScript a new layer was defined as: $l2 = new layerObj($oMap,$l1); $l1 is the base layer from which $l2 is copied. In MapScript SWIG the second parameter has disappeared. $l2 has to be cloned from $l1, and then inserted into the map. With PHP-MapScript this

Re: [MapServer-users] How to cascade data from OGC API Features service?

2023-11-14 Thread Jan Hartmann via MapServer-users
Hi Jukka, Sometimes there are problems when the actual filenames in the vrt are relative pathnames. Especially with the new mapscript.php include file. Perhaps you could try that. Jan On 13/11/2023 22:48, Rahkonen Jukka via MapServer-users wrote: Hi, I tried to make a WMS layer from OGC

Re: [MapServer-users] PHP-Mapscript: write imageObj to stdout

2023-11-13 Thread Jan Hartmann via MapServer-users
   //SWIG        if($mapscriptSwig) {            echo msIO_getStdoutBufferBytes();        }else{            echo ms_iogetStdoutBufferBytes();        } Sven Am 10.11.2023 um 18:59 schrieb Jan Hartmann via MapServer-users: Hi, In previous versions of PHP-Mapscript there was a

[MapServer-users] PHP-Mapscript: write imageObj to stdout

2023-11-10 Thread Jan Hartmann via MapServer-users
Hi, In previous versions of PHP-Mapscript there was a function ImageObj->saveImage(fn), that wrote an ImageObj to a file on disk. When fn was empty, the image was sent to stdout. In SWIG-Mapscript, this function has been replaced by ImageObj->save(fn), but fn cannot be empty anymore. How

Re: [MapServer-users] Docker image for MapServer with PHP-MapScript

2023-11-08 Thread Jan Hartmann via MapServer-users
t require Alpine for their Docker version. Anyway, thanks to Tanya, Vassilis and Steve, Jan Hartmann Amsterdam On 30/10/2023 18:56, Lime, Steve D (MNIT) wrote: Map-level metadata lives in the WEB object… *From:* MapServer-users *On Behalf Of *Jan Hartmann via MapServer-users *Sent:* Monday,

Re: [MapServer-users] Docker image for MapServer with PHP-MapScript

2023-10-30 Thread Jan Hartmann via MapServer-users
. I worked with this reference: https://mapserver.org/mapscript/mapscript-api/index.html So, you start by $oMap= newmapObj($mapfile); Best regards, Vassilis *From:* Jan Hartmann *Sent:* Saturday, October 28, 2023 9:14 PM *To:* Vassilis Chatzigiannakis ; mapserver-users@lists.osgeo.org *Sub

Re: [MapServer-users] Docker image for MapServer with PHP-MapScript

2023-10-28 Thread Jan Hartmann via MapServer-users
d be a mapscript.php file in the same folder as the  php_mapscriptng.so extension. You need to include it in your php script. Best, Vassilis *From:* MapServer-users *On Behalf Of *Jan Hartmann via MapServer-users *Sent:* Friday, October 27, 2023 9:42 PM *To:* mapserver-users@lists.osg

Re: [MapServer-users] Docker image for MapServer with PHP-MapScript

2023-10-27 Thread Jan Hartmann via MapServer-users
line 2 I am really desparate. Has anyone ever succeeded to get php_mapscriptng.so to work?  Or does anyone know of a working Docker image for MapServer with PHP MapScript? Jan On 21/10/2023 05:40, Jan Hartmann wrote: I tried this with serveral versions of PHP and MapServer, but got alway

[MapServer-users] Docker imgage for MapServer with PHP-MapScript

2023-10-20 Thread Jan Hartmann via MapServer-users
I tried this with serveral versions of PHP and MapServer, but got always the same result. Can anyone point me to a Docker image for MapServer + PHP-MapScript? Jan On 19/10/2023 18:12, Jan Hartmann wrote: Still not there. Everything has been installed, and phpinfo() gives: MapServer Version

[MapServer-users] Installing PHP-MapScript from source

2023-10-19 Thread Jan Hartmann via MapServer-users
Still not there. Everything has been installed, and phpinfo() gives: MapServer Version MapServer version 8.0.1 PROJ version 9.3 GDAL version 3.7 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER

Re: [MapServer-users] Compiling mapserver with php in user directory

2023-10-19 Thread Jan Hartmann via MapServer-users
, but they are not supported very well. Thanks for your advice! Jan On 18/10/2023 19:11, Jeff McKenna via MapServer-users wrote: Hi Jan, I understand that you won't listen to my advice here, no problem at all.  But I won't repeat myself here  Enjoy your afternoon, -jeff On 2023-10-18 1:39 p.m., Jan Hartmann

Re: [MapServer-users] Compiling mapserver with php in user directory

2023-10-18 Thread Jan Hartmann via MapServer-users
I compiled with:  -DPHP_INCLUDE_DIR=$INSTALLBIN/include/php \  -DPHP_EXTENSION_DIR=$INSTALLBIN/lib/php/extensions/no-debug-non-zts-20220829 and got lots of error messages about missing .h files (php.h, zend.h etc). I bulk copied them all to the directory in the build tree where the errors

[MapServer-users] Compiling mapserver with php in user directory

2023-10-17 Thread Jan Hartmann via MapServer-users
\, but that doesn't work, and I cannot find the PHP-library to add. CMAKE ends with the message: "Configuring incomplete, errors occurred!", without giving the precise errors. In the error log I get messages of missing "strrstr", "strlcat" and strlcpy". Can y

Re: [mapserver-users] Problem with html legend

2020-04-28 Thread Jan Hartmann
Thanks, Jeff, hope you enjoyed your Easter too. I thought that an embedded legend would automatically show the HTML page in the map, when a HTML template is specified. It doesn't, it just ignores the template and displays the default, automatically generated legend. Same goes for the

[mapserver-users] Problem with html legend

2020-04-07 Thread Jan Hartmann
Probably some silly mistake, but I can't get the MapServer HTML legend working. My mapfile has: legend     status embed     label     size tiny     end     template "paleogeography_legend.html" end And "paleogeography_legend.html" just has: [leg_class_html opt_flag=15]   ---

[mapserver-users] mapscript with php as module does not flush buffers

2020-01-02 Thread Jan Hartmann
Hi all, I use PHP-Mapscript to server WMS-maps, with a MapFile based on an underlying VRT-file. My application changes the geometry transformation of the VRT-file, and reloads the WMS. It uses the same MapFile ($oMap = ms_newMapObj($mapfile), but with a changed underlying VRT-file; When I

Re: [mapserver-users] Doubling of labels on high resolution maps

2019-10-17 Thread Jan Hartmann
s possible that print composer is making requests with some overlap. -Jukka Rahkonen- *Lähettäjä:*mapserver-users *Puolesta *Travis Kirstine *Lähetetty:* keskiviikko 16. lokakuuta 2019 18.24 *Vastaanottaja:* Jan Hartmann *Kopio:* MapServer-users *Aihe:* Re: [mapserver-users] Doubling of labe

[mapserver-users] Doubling of labels on high resolution maps

2019-10-16 Thread Jan Hartmann
Hi, I'm trying to generate high resolution print maps with QGIS, based on a MapServer WMS layer. When displayed in the regular QGIS application with 72dpi, all looks fine. When using the Print Composer based on the same Mapfile, but with 300dpi, some labels are duplicated (not all). Some

[mapserver-users] Getting data values from heatmap

2019-10-08 Thread Jan Hartmann
Hi, Is it possible to get the actual data values from the pixel values of a heatmap? A heatmap is computed by mapping a data range to values between 0 and 255, and then displaying these values based on a color ramp. So what you see is a map with colors ranging from (say) blue to red. BLue

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
Impressive, looks like viscurl is a real alternative to local files. Thanks for the information, I'm certainly going to look further on this. Jan On 8/30/2019 6:15 PM, Peter Schmitt wrote: On Fri, Aug 30, 2019 at 9:48 AM Jan Hartmann <mailto:j.l.h.hartm...@uva.nl>> wrote: Tha

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
-sets over the web? On 8/30/2019 5:20 PM, Peter Schmitt wrote: Hi Jan, On Fri, Aug 30, 2019 at 6:20 AM Jan Hartmann <mailto:j.l.h.hartm...@uva.nl>> wrote: Hi Pete, could you explain what you mean by "cloud-optimized geotiffs? A Cloud Optimized GeoTIFF (COG) is a regula

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
Hi Pete, could you explain what you mean by "cloud-optimized geotiffs? Regards, Jan On 8/29/2019 5:42 PM, Peter Schmitt wrote: > If anyone is interested by our docker image, you can find it here: https://github.com/camptocamp/docker-mapserver Thanks for sharing this, Yves! Regarding

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-29 Thread Jan Hartmann
ecrets, env variables and so on.. On Thu, 29 Aug 2019, 14:10 Jan Hartmann, <mailto:j.l.h.hartm...@gmail.com>> wrote: Hi Wouter, I am definitely interested in your setups, especially the docker containers with mapserver. I've also a lot of separate mapserver applications th

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-29 Thread Jan Hartmann
that this version does not support PHP-MapScript, PostGIS and GDAL input? On 8/29/2019 1:16 PM, Yves Jacolin wrote: Hello, If anyone is interested by our docker image, you can find it here: https://github.com/camptocamp/docker-mapserver Y. Le jeu. 29 août 2019 à 13:14, Jan Hartmann

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-29 Thread Jan Hartmann
using MapServer since 2000 Regards, Jan Hartmann University of Amsterdam https://www.uva.nl/profiel/h/a/j.l.h.hartmann/j.l.h.hartmann.html On 8/29/2019 11:24 AM, Jeff McKenna wrote: Thanks for wanting to share this; the best way is to create a new wiki page on the MapServer wiki (https

Re: [mapserver-users] MS4W version 4.0.1 released

2019-08-26 Thread Jan Hartmann
Just curious, how can I use the RT Topology library within Mapserver? Jan On 8/26/2019 11:43 AM, Jeff McKenna wrote: Hello everyone, MS4W 4.0.1 is now available, which contains many security updates, as well as a few important changes.  Get it now at https://ms4w.com Please see MS4W's

Re: [mapserver-users] Mapserver 7.4 on UbuntuGIS

2019-06-28 Thread Jan Hartmann
Ah, July-August, I see. I can wait for that. Thanks for the quick answers. Jan On 6/28/2019 3:59 PM, Angelos Tzotsos wrote: Hi, Packages now moved to UbunsutGIS Unstable. We will move them to stable after OSGeoLive 13.0 release. Best, Angelos On 6/26/19 12:37 PM, Jan Hartmann wrote: Thanks

Re: [mapserver-users] Mapserver 7.4 on UbuntuGIS

2019-06-26 Thread Jan Hartmann
PM, Jan Hartmann wrote: Hello all, I saw Mapserver 7.4 on the UbuntuGis experimental page: https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-experimental Any idea, when it will be available on UbunuGis stable, which still has only 7.2? Jan Hartmann Amsterdam

[mapserver-users] Mapserver 7.4 on UbuntuGIS

2019-06-25 Thread Jan Hartmann
Hello all, I saw Mapserver 7.4 on the UbuntuGis experimental page: https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-experimental Any idea, when it will be available on UbunuGis stable, which still has only 7.2? Jan Hartmann Amsterdam

[mapserver-users] Release date of Mapserver 7.2

2018-02-13 Thread Jan Hartmann
Hello folks, Can anyone tell me when Mapserver 7.2 will be officially released? We are updating our servers, and would very much like to use PHP 7 and vector tiles. Cheers, Jan Hartmann University of Amsterdam ___ mapserver-users mailing list

[mapserver-users] PHP-mapscript: composite block in layer definition

2017-03-30 Thread Jan Hartmann
Hi folks, Perhaps I overlooked something, but I don't see how to define a composite block within a layer with php-mapscript. In a regular mapfile it works beautifully (http://mapserver.org/mapfile/composite.html) Regards, Jan Hartmann Amsterdam

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Jan Hartmann
On 04/25/2013 04:26 PM, Daniel Morissette wrote: What if you try to gdal_translate it to a TIFF or JPEG for instance? Please make sure you use the gdal_translate tool from the exact same MS4W package as what your MapServer is using. Why should this be so, Daniel? I would expect to give

Re: [mapserver-users] Photo Viewer

2013-02-18 Thread Jan Hartmann
-setMetaData(wms_srs,epsg:$epsg); $oMap-setMetadata(wms_contactperson,Jan Hartmann); $oMap-setMetadata(wms_contactorganization,University of Amsterdam); $oMap-setMetadata(wms_contactelectronicmailaddress,j.l.h.hartm...@uva.nl); $oMap-setMetadata(wms_enable_request,*); $pwd = http

Re: [mapserver-users] Displaying overlapping linestrings

2013-01-25 Thread Jan Hartmann
] *On Behalf Of *Jan Hartmann *Sent:* Thursday, January 24, 2013 11:00 AM *To:* Stephen Woodbridge *Cc:* mapserver-users@lists.osgeo.org *Subject:* Re: [mapserver-users] Displaying overlapping linestrings On 01/24/2013 05:35 PM, Stephen Woodbridge wrote: On 1/24/2013 11:13 AM, Jan Hartmann wrote

[mapserver-users] Displaying overlapping linestrings

2013-01-24 Thread Jan Hartmann
Does anyone know a trick to do this: I'm making geographical indexes for the map series in our map library. Each map sheets is displayed as a polygonal linestring, based on its corner coordinates. Lots of sheets have exactly the same boundaries, so it's not clear where a polygon indicates

Re: [mapserver-users] Displaying overlapping linestrings

2013-01-24 Thread Jan Hartmann
On 01/24/2013 05:35 PM, Stephen Woodbridge wrote: On 1/24/2013 11:13 AM, Jan Hartmann wrote: Does anyone know a trick to do this: I'm making geographical indexes for the map series in our map library. Each map sheets is displayed as a polygonal linestring, based on its corner coordinates

Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Jan Hartmann
Hi Steve, what on earth is GIS Day? Congratulations with the new version, almost ten years after MapServer went really public at the first MapServer congres in Minneapolis! Jan On 11/14/2012 04:15 PM, Lime, Steve D (DNR) wrote: And on GIS Day no less... nice timing. Fabulous work by all

Re: [mapserver-users] Mapfile VS MapScript performance

2012-11-07 Thread Jan Hartmann
On 11/07/2012 10:15 AM, thomas bonfort wrote: - certain mapscript scripts will leak non trivial amounts of memory, forcing server restarts periodically if you don't have an infinite amount of memory available. Hi Thomas, can you give more information about those memory leaks in MapScript?

[mapserver-users] Angle Auto with geomtransform arrows and small lines

2012-10-29 Thread Jan Hartmann
Hi, I'm constructing maps of street segments with arrows at the endpoints to indicate the direction of the house numbers, using the geomtransform / angle auto method described in http://mapserver.org/mapfile/symbology/construction.html;. When zooming in, the arrow heads remain at the same

[mapserver-users] Fwd: Constraining WMS output type

2012-03-12 Thread Jan Hartmann
Hi all, Is there a way to restrict the output types Mapserver offers as a WMS service, e.g. only png 8-bits? In QGIS, when I choose png as output for a WMS layer, I always get back png24 rasters, even if I explicitly specify png8 as outputtype in the mapfile. Not sure if this would be

Re: [mapserver-users] Fwd: Constraining WMS output type

2012-03-12 Thread Jan Hartmann
mapfile? -Jukka Rahkonen- Jan Hartmann wrote: Hi all, Is there a way to restrict the output types Mapserver offers as a WMS service, e.g. only png 8-bits? In QGIS, when I choose png as output for a WMS layer, I always get back png24 rasters, even if I explicitly

[mapserver-users] Aligning labels within a polygon

2012-02-21 Thread Jan Hartmann
Hi, I'm inputting lots of street address points in PostGIS, and try to generate labels for the streets. The convex hull of the points of a street approximate the course of the street, and I would like to position the streetname in the middle of the convex hull polygon, aligned to its

Re: [mapserver-users] Aligning labels within a polygon

2012-02-21 Thread Jan Hartmann
linestring. David. *From:*mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Jan Hartmann *Sent:* Tuesday, February 21, 2012 10:23 AM *To:* mapserver-users@lists.osgeo.org *Subject:* [mapserver-users] Aligning labels within a polygon Hi

[mapserver-users] Constraining label position

2012-02-14 Thread Jan Hartmann
Hi, The development version of Openlayers has a new facility: smooth tile transition. When panning, the old image remains visible for 2.5 seconds under the new one, so as to make the panning process smoother. This works fine for static maps, but gives undesired effects with MapServer labels.

Re: [mapserver-users] Can't get 8-bit palette output

2012-01-19 Thread Jan Hartmann
EXTENSION png FORMATOPTION INTERLACE=OFF FORMATOPTION PALETTE_FORCE=TRUE FORMATOPTION PALETTE=/usr/local/mapserver/apps/mr/compass/compass.palette END Steve *From:*mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Jan Hartmann

[mapserver-users] Can't get 8-bit palette output

2012-01-02 Thread Jan Hartmann
Happy New Year, all. I'm porting my applications from MapServer 5.7 to 6.0.1, and I am unable to get 8-bit palette output. The MapScript commands are: $oMap-outputformat-set('driver','GD/PNG'); $oMap-outputformat-set('imagemode',MS_IMAGEMODE_PC256); which give me the following

Re: [mapserver-users] Hiding scale dependant layers in WMS GetCapabilities

2011-09-13 Thread Jan Hartmann
a single UNION layer with all those layers in the connection , and set that layer's metadata to ows_enable_request * http://freegis.org/pipermail/mapserver-de/2011-September/004477.html http://freegis.org/pipermail/mapserver-de/2011-September/004479.html Jan On 09/10/2011 01:44 PM, Jan

[mapserver-users] Hiding scale dependant layers in WMS GetCapabilities

2011-09-10 Thread Jan Hartmann
Hi folks, Is the following possible: I have a MapFile with a few groups, each consisting of multiple layers that are displayed dependent on the chosen scale. I want to display only the group names in the GetCapabilities request, and according to

Re: [mapserver-users] Line numbers of error messages in mapfiles with includes

2011-09-08 Thread Jan Hartmann
Yes, it was under 5.7. I tested it under 6 and there it works OK. Thanks, Jan On 09/07/2011 09:52 PM, Steve Lime wrote: Which version are you using? For some reason I thought this was in place in the 6.0 release. Steve On Wed, Sep 7, 2011 at 8:29 AM, Jan Hartmannj.l.h.hartm...@uva.nl

Re: [mapserver-users] Line numbers of error messages in mapfiles with includes

2011-09-08 Thread Jan Hartmann
Tanks Steve, not necessary. Better spend my time on updating everything to 6 ... Jan On 09/08/2011 04:22 PM, Steve Lime wrote: Changes are restricted to maplexer.l if you felt the need to patch 5.7. Let me know if you need assistance... Steve On Thu, Sep 8, 2011 at 3:39 AM, Jan

[mapserver-users] Line numbers of error messages in mapfiles with includes

2011-09-07 Thread Jan Hartmann
Sometimes it's difficult to find the location of an error in a Mapfile, when that Mapfiles includes another Mapfile. In that case the line number is that of the combined files. Would it be possible to set the line-counter to the actual file Mapserver is parsing? Jan

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Jan Hartmann
About the GD library: the dowload site (http://www.boutell.com/gd/) is down, and there is no indication how long this will be so. There is a link to the code repository, but no standard tar-file is to be found there. Since MapServer cannot be compiled without GD, would it make sense to provide

Re: [mapserver-users] RE: Validation beyond [A-z]

2011-04-29 Thread Jan Hartmann
include the regex validation string of /./ which means match anything except a null string, or to also accept a null string then use /.*/ You still need to be aware of when you should put a validation in place even if it accepts any string. Regards, -Steve W On 04/28/11 18:48, Jan Hartmann wrote

Re: [mapserver-users] RE: Validation beyond [A-z]

2011-04-28 Thread Jan Hartmann
I find the whole validation issue difficult and not well documented (http://trac.osgeo.org/mapserver/ticket/3754, last updated four hours ago). How do I put all validation off? I really don need that much security. Jan On 04/28/11 18:19, Lime, Steve D (DNR) wrote: I see the problem, just

Re: [mapserver-users] RE: making POINT with SQL

2011-04-08 Thread Jan Hartmann
Didn't I hear this advice before on this list :-) Jan On 7-4-2011 21:49, Lime, Steve D (DNR) wrote: Make sure you're actually turning the layer on. Status ON always makes me wonder. Try setting STATUS to DEFAULT and comment out the maxscale line and see what happens. Steve

[mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
Hi folks, just a beginner's question: Is it possible to position the image-error message of a WMS request in the middle of the image? Normally it is placed in the upper left corner, and with OpenLayers (overlaid over Google Maps) the message is displayed on a tile outside the visual screen.

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
no... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jan Hartmann Sent: Friday, April 08, 2011 9:21 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Error Message in WMS service Hi

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
be desirable regardless IMHO. Other option is to generate longer error messages with really long layer names. ;-) Steve -Original Message- From: Jan Hartmann [mailto:j.l.h.hartm...@uva.nl] Sent: Friday, April 08, 2011 9:31 AM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
Ah, I knew it was a beginner's question. Thanks Michael. Jan On 8-4-2011 18:36, Smith, Michael ERDC-CRREL-NH wrote: Jan, In the options to OpenLayers WMS layer, you set the ratio: 1 and OpenLayers will not request outside of the visible screen area. Mike

Re: [mapserver-users] Projection problems

2011-01-08 Thread Jan Hartmann
On 01/07/11 20:57, Frank Warmerdam wrote: On 11-01-07 02:40 PM, Jeff McKenna wrote: On 11-01-07 10:49 AM, Jan Hartmann wrote: Yes, the transformation to WGS84 for the Dutch coordinate system (Amersfoort, Rijksdriehoeksnet) is still *not* part of the latest PROJ4 release (4.7.0, downloaded

Re: [mapserver-users] Projection problems

2011-01-07 Thread Jan Hartmann
(Sorry for crossposting to the PROJ list, but this has been a problem for years going) Yes, the transformation to WGS84 for the Dutch coordinate system (Amersfoort, Rijksdriehoeksnet) is still *not* part of the latest PROJ4 release (4.7.0, downloaded yesterday). You need to change the

Re: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-12-02 Thread Jan Hartmann
On 2010-12-02 6:04, Lime, Steve D (DNR) wrote: I'd advocate binding a few variables like extent and scale to expressions with a special syntax. For example, [_minx] or something like that. RFC 64 makes it much easier to extend expressions like this. I would certainly like to have that. If

Re: [mapserver-users] Re: Clipping returned WFS data to the requesting bounding box

2010-11-29 Thread Jan Hartmann
On 2010-11-29 22:11, Lime, Steve D (DNR) wrote: I'm not aware of any means to do this. If you're using PostGIS perhaps there's a way to use the !BOX! hack in conjunction with some of the analytical functions but it's a long shot... (see

Re: [mapserver-users] Gauss-Krüger

2010-11-16 Thread Jan Hartmann
If your map is from 1908, there is a change that its projection is not in the official modern EPSG table. In that case you need to derive the whole PROJ4 definition from the legend of the map. As a rule, this is not difficult, as the theoretical definitions of the common projection have been

[mapserver-users] Shell-script to compile MapServer in a user directory tree

2010-10-08 Thread Jan Hartmann
Hi all, The last few months I have been working in a Cloud environment with lots of virtual machines, all with MapServer, PostGIS and PL/R. I couldn't work with binaries, since different sites needed different configurations. It's not difficult to compile MapServer once you have done it a

Re: [mapserver-users] RE: CGI returning a 502 error

2010-09-23 Thread Jan Hartmann
Wasn't there a similar problem about the hard-coded maximum number of classes a few years ago? That problem was solved, if I remember correctly. Wouldn't it be a good idea to take that solution over to the number of CGI parms? The problem won't turn up often, but if it does it is hard to

Re: [mapserver-users] Re: Output geospatial PDFs

2010-09-21 Thread Jan Hartmann
Is this so? Jan On 09/21/10 15:58, Sumit Sharma wrote: One more thing... Stick to Cario renderer instead PDF in Mapserver. As I understand support for PDF may discontinue from 6.0 release. -Sumit ___ mapserver-users mailing list

[mapserver-users] mapserv -v as html

2010-09-08 Thread Jan Hartmann
Hi, Is there a simple way to do a browser request for mapserv -v? If I type an URL like http://localhost/cgi-bin/mapserv?-v; I get an Internal Server Error, because this way mapserv doesn't return HTTP headers. Jan ___ mapserver-users mailing list

Re: [mapserver-users] thread safety and php and fastcgi

2010-09-03 Thread Jan Hartmann
On 09/02/10 16:03, Frank Warmerdam wrote: In the case of FastCGI the fastcgi mapserver process is only given one cgi request at a time to handle. It won't be given another until the previous one is complete. Apache can start multiple separate FastCGI MapServer instances in order to handle

Re: [mapserver-users] FastCGI, MapServer and Apache on Linux

2010-09-01 Thread Jan Hartmann
Are there any benchmarks for a comparison between MapServer CGI and MapServer FastCGI? Jan On 09/01/10 07:48, Jeff McKenna wrote: On 10-08-31 9:44 PM, Nicolas Chenier wrote: Good day all, I am fairly new at this, and I am seeking help. We are currently using a MapServer setup with Apache

Re: [mapserver-users] FastCGI, MapServer and Apache on Linux

2010-09-01 Thread Jan Hartmann
On 09/01/10 12:35, Jeff McKenna wrote: On 10-09-01 12:23 PM, Jan Hartmann wrote: Are there any benchmarks for a comparison between MapServer CGI and MapServer FastCGI? Yes, see the graphs included in last year's FOSS4G WMS benchmarking exercise: http://www.slideshare.net

Re: [mapserver-users] FastCGI, MapServer and Apache on Linux

2010-09-01 Thread Jan Hartmann
On 09/01/10 16:46, Smith, Michael ERDC-CRREL-NH wrote: Nic, In the 2010 benchmarking effort, we are using mod_fcgid with the latest Apache. Here are the fcgi parameters we have in our conf file IfModule fcgid_module FcgidInitialEnv LD_LIBRARY_PATH

Re: [mapserver-users] raster query strategy

2010-08-18 Thread Jan Hartmann
On 08/18/10 00:46, Richard Greenwood wrote: On Tue, Aug 17, 2010 at 2:57 PM, Frank Warmerdamwarmer...@pobox.com wrote: Jan Hartmann wrote: Is this a bug? Shouldn't MapServer use the gdaladdo overviews at the appropriate scales? Rich / Jan, No, generally I treat raster query as an exact

Re: [mapserver-users] raster query strategy

2010-08-17 Thread Jan Hartmann
Is this a bug? Shouldn't MapServer use the gdaladdo overviews at the appropriate scales? Jan On 08/17/10 16:09, Richard Greenwood wrote: I am working with a single band raster of 10mX10m cells. I have added overlays with gdaladdo and it displays nicely. When I query the layer I am using

[mapserver-users] php_mapscript with apache-php-dso

2010-08-03 Thread Jan Hartmann
Hi folks, I have compiled php-mapscript to run under a Linux Apache server with php installed as a dynamic module. My whole binary tree is under $HOME, and programs find their libraries via the environment variable LD_LIBRARY_PATH. Everything works beautiful with PHP installed as a CGI

Re: [mapserver-users] Raster Strategies Examples

2010-08-03 Thread Jan Hartmann
On 08/03/10 14:12, Frank Warmerdam wrote: I find the MapServer scale values very confusing myself. If I want to compute the scale for particular request (for instance to establish breakpoints for MINSCALE/MAXSCALE), I do a request at the target resolution with shp2img and debug output on

Re: [mapserver-users] php_mapscript with apache-php-dso

2010-08-03 Thread Jan Hartmann
that it is also required for DSO modules. Daniel Jan Hartmann wrote: Hi folks, I have compiled php-mapscript to run under a Linux Apache server with php installed as a dynamic module. My whole binary tree is under $HOME, and programs find their libraries via the environment variable LD_LIBRARY_PATH

Re: [mapserver-users] Raster Strategies Examples

2010-08-03 Thread Jan Hartmann
On 08/03/10 16:06, Daniel Morissette wrote: Jan, Jeff, If you have ideas of an easier mechanism to help determine scales that you would like to see added in MapServer then please share them... I'd be happy to help improve this. As a rule of thumb, for raster maps I compute the scale that

Re: [mapserver-users] Allowing users to draw polygons on MapServer maps

2010-07-08 Thread Jan Hartmann
There is GeoMajas, but I have never looked at it: http://geomajas.org/ And there is the Canvas HTML element (http://en.wikipedia.org/wiki/Canvas_element), something I am definitely going to look into when I have time. See a few GIS-demos at

Re: [mapserver-users] creating views/queries on the fly

2010-07-07 Thread Jan Hartmann
On 07/06/10 16:27, P Kishor wrote: Yes, my preference is PL/Perl, but I am not sure how that would help? What are you suggesting? Are you saying that I created services out of the queries I want, and then access those services from within QGIS, MapServer? My problem is that all the potential

Re: [mapserver-users] creating views/queries on the fly

2010-07-07 Thread Jan Hartmann
On 07/07/10 14:50, P Kishor wrote: (Sidenote: the QGIS experience is frustrating. The program can do so much, but it does so in its own idiosyncratic, sometimes, seemingly half-baked way. Even registering on the darned forums was an impossibility. Apparently, I couldn't answer the

Re: [mapserver-users] creating views/queries on the fly

2010-07-06 Thread Jan Hartmann
Hi Puneet, Would a scripting language, like Pl/Pgsql, be something to tackle your problem? It lets you build dynamic commands: http://www.postgresql.org/docs/8.4/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN. I have also used PHP to build dynamic SQL queries, but I

Re: [mapserver-users] Custom Projections with WMS Server

2010-05-04 Thread Jan Hartmann
I tried this with QGIS, and it didn't work. AFAICS QGIS only accepts well know EPSG numbers. Jan On 05/04/10 15:15, Travis Kirstine wrote: Is it possible to configure a wms server with custom projections (add a entry in the epsg file and mapfile) and have is available to client applications

Re: [mapserver-users] Can map server do this?

2010-04-26 Thread Jan Hartmann
Looks a bit like Sketchup. How about a driver for Sketchup 3D? It has already input- en output facilities for DXF and DEM Jan On 04/26/10 16:51, Lime, Steve D (DNR) wrote: I can't tell from the example but it doesn't look like the map itself is oblique rather that the buildings are drawn in

[mapserver-users] mapserver.org down?

2010-04-26 Thread Jan Hartmann
Hi all, Am I the only one that doesn't get through to mapserver.org? Pages take ages to load and then break off with a timeout. Jan Hartmann Amsterdam ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman

[mapserver-users] mapserver.org down?

2010-04-26 Thread Jan Hartmann
Hi all, Am I the only one that doesn't get through to mapserver.org? Pages take ages to load and then break off with a timeout. Jan Hartmann Amsterdam ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [mapserver-users] Can map server do this?

2010-04-26 Thread Jan Hartmann
Looks a bit like Sketchup. How about a driver for Sketchup 3D? It has already input- en output facilities for DXF and DEM Jan On 04/26/10 16:51, Lime, Steve D (DNR) wrote: I can't tell from the example but it doesn't look like the map itself is oblique rather that the buildings are drawn in

Re: [mapserver-users] WMS For Open Street Maps for MapServer?

2010-03-20 Thread Jan Hartmann
On 2010-03-19 23:00, Tamas Szekeres wrote: You might want to try to use the GDAL WMS/TMS driver http://www.gdal.org/frmt_wms.html, as something like: Very interesting. How about using gdalwarp to georeference images over the Internet? Any hints how to optimise this driver, as against using

[mapserver-users] OSGeo4W setup hangs

2010-03-18 Thread Jan Hartmann
Hi, When I try to update my OSGeo4W installation in advanced mode from Internet, setup.exe proceeds until the package selection and hangs after that. The progress window says: Parsing ini file http://download.osgeo.org/osgeo4w/setup.ini... setup.ini.bz2 from http://download.osgeo.org;. Can

[mapserver-users] Forcing WMS errors in XML-format in PHP-MapScript

2010-03-16 Thread Jan Hartmann
This is probably something I should try to look up myself, but perhaps someone on this list has a quick answer. I'm generating WMS output completely from PHP MapScript (essentially to make non-projected raster files available for WMS clients under a fake projection number, to georeference

Re: [mapserver-users] Forcing WMS errors in XML-format in PHP-MapScript

2010-03-16 Thread Jan Hartmann
On 2010-03-16 14:05, Daniel Morissette wrote: Jan Hartmann wrote: This is probably something I should try to look up myself, but perhaps someone on this list has a quick answer. I'm generating WMS output completely from PHP MapScript (essentially to make non-projected raster files

  1   2   >