Re: [mapserver-users] Slow and degrading performance with radar (but not satellite) on mapserver-6.0.1-3_0.el6.x86_64

2020-07-23 Thread Stephen Woodbridge
00913=-9392582.0328932,4383204.9527744,-9236038.9989652,4539747.9867024=256=256" > junk.png Gives the following in junk.png: Content-type: text/html MapServer Message msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN validation failed. msEvalRegex(): R *From: *mapserver-users on beha

Re: [mapserver-users] Slow and degrading performance with radar (but not satellite) on mapserver-6.0.1-3_0.el6.x86_64

2020-07-22 Thread Stephen Woodbridge
you need to include in your QUERY_STRING=MAP=& it is probably hard coded in the fcgi config. -Steve W On 7/22/2020 7:15 PM, English Paul wrote: So you have a complex historical "mess" and its not clear where the performance issue is. So you need to divide the problem into small

Re: [mapserver-users] Slow and degrading performance with radar (but not satellite) on mapserver-6.0.1-3_0.el6.x86_64

2020-07-22 Thread Stephen Woodbridge
Hi Paul, So you have a complex historical "mess" and its not clear where the performance issue is. So you need to divide the problem into small problems that you can verify are or are not contributing. I would start with something like this: Take one slow image request and try that as cgi

Re: [mapserver-users] SSL curl error when hitting HTTP WMS

2020-06-09 Thread Stephen Woodbridge
Should a bug/enhancement request be opened against this? Maybe there should be an option like: PROCESSING "UNSAFESSL=YES" So mapserver can handle this directly from the mapfile? -Steve W On 6/9/2020 6:55 AM, Rahkonen Jukka (MML) wrote: Hi, The service indeed seems to redirect into https

Re: [mapserver-users] MapScript PHP label with expression and linebreak

2020-03-28 Thread Stephen Woodbridge
rendering. $labelObj->set("WRAP", "@"); Thank you very much for your help Jean-Philippe *De :* mapserver-users de la part de Stephen Woodbridge *Envoyé :* 28 mars 2020 10:43 *À :* mapserver-users@lists.

Re: [mapserver-users] MapScript PHP label with expression and linebreak

2020-03-28 Thread Stephen Woodbridge
When labeling with linebreaks, I insert an unique character like '@', so "[field1]@[field2]" and then on the label block add WRAP "@" Try that and see if it works for you. -Steve W On 3/28/2020 10:22 AM, Jean-Philippe Chenel wrote: Hi, Using MapScript PHP API, I want to create a label

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Stephen Woodbridge
was not in the good range. z/x/-y.png Tiles generated: .../8/37 and 38/64 and 65.png Tiles loaded by OpenLayers (with error 404): .../8/73 to 77/130 and 131.png Thanks, *De :* mapserver-users de la part de Stephen

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Stephen Woodbridge
Jean-Philippe, I don't think it works like that. Resolution is determined by zoom factor so you generate  metatile at that resolution then you chop that metatile in tiles of whatever size you specify. So resolution is controled by zoom not tile size. -Steve W On 3/9/2020 2:45 PM,

Re: [mapserver-users] How to assemble mapcache tilesets into a new layer?

2020-02-13 Thread Stephen Woodbridge
. I suppose if you wanted you could also define a new tileset so it would cache the assembled images, but I'm not sure that that is needed except possibly in very high demand situations. But this is just my surmise. Thanks,   -Steve On 2/13/2020 1:46 PM, Stephen Woodbridge wrote: On 2/13/2020 12:36

Re: [mapserver-users] How to assemble mapcache tilesets into a new layer?

2020-02-13 Thread Stephen Woodbridge
this look right? Should I have an section and what should be in that if anything for assembly of existing tilesets? Thanks,   -Steve Jérome. Le 13/02/2020 à 17:24, Stephen Woodbridge a écrit : Hi all, I have three existing layers in my mapcache.xml and I need to create a new layer th

[mapserver-users] How to assemble mapcache tilesets into a new layer?

2020-02-13 Thread Stephen Woodbridge
Hi all, I have three existing layers in my mapcache.xml and I need to create a new layer that assembles this three layers into a single layer. There is a section in the mapcache documentation https://mapserver.org/mapcache/tile_assembling.html but it is not very helpful ;) Can anyone help

Re: [mapserver-users] removing seamlines along edges of air photos?

2019-12-06 Thread Stephen Woodbridge
Mark, This sounds more like a GDAL question, in that your should probably cleanup the images first. A few things come to mind: 1) see if you can use nearblack utility to set the collars to NODATA 2) use gdal_translate with extents to copy only the data and not the collars 3) define a polygon

Re: [mapserver-users] mapcache seed speed optimization

2019-11-12 Thread Stephen Woodbridge
to split large shape files into smaller and then use vector tile indexes in Mapserver. The tool shp2tile has been working well for me. Stephen Woodbridge has written that tool. It can be found at http://imaptools.com/download-software.html I think that You had to compile yourself on linux

Re: [mapserver-users] mapcache seed speed optimization

2019-11-11 Thread Stephen Woodbridge
with large national data sets in shape format. One of the biggest improvements for me has been to split large shape files into smaller and then use vector tile indexes in Mapserver. The tool shp2tile has been working well for me. Stephen Woodbridge has written that tool. It can be found at http

Re: [mapserver-users] Mapserver / Mapcache WMTS still not working on ArcGIS clients - image offset vertically

2019-07-24 Thread Stephen Woodbridge
Mark, I can see the shift here and if you mouse over the upper left corner of the image I'm seeing a shift in the UL_Y value http://geomoose.lyonco.org/mapcache/demo/wms   UL_Y = 262080 http://geomoose.lyonco.org/mapcache/demo/wmts  UL_Y = 238272 I have no idea why this is happening, but it

[mapserver-users] Adding cache control headers to wms requests

2019-07-04 Thread Stephen Woodbridge
Hi all, I need to add the following headers to some wms responses: |Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 I am aware that I can set: MAP WEB METADATA ... "ows_http_max_age" "0" END END ... END But it seems like it would be a good idea to be able to

Re: [mapserver-users] Having an issue displaying a VRT file

2019-06-29 Thread Stephen Woodbridge
Never mind! I figured it out. If your MAP->NAME is the same as you LAYER->NAME then that take priority over of LAYER->NAME and then display all the other layers also. In this case rendering the the gray scale tif over the colors. -Steve On 6/29/2019 12:22 PM, Stephen Woodbridge w

[mapserver-users] Having an issue displaying a VRT file

2019-06-29 Thread Stephen Woodbridge
Hi all, I've been banging my head against this problem for a while so asking for ideas. Thanks,   -Steve W I have GTiff file the looks like: $ gdalinfo -stats -hist /maps/wms/data/VIIRS_CHLORA/VIIRS_CHLORA.tif Driver: GTiff/GeoTIFF Files: /maps/wms/data/VIIRS_CHLORA/VIIRS_CHLORA.tif Size is

Re: [mapserver-users] mapserver 7.4 beta phpng build error

2019-04-21 Thread Stephen Woodbridge
Rich, Do you have the php-dev package installed? -Steve W On 4/21/2019 9:17 AM, Richard Greenwood wrote: Seth, I don't think this helps your issue with Travis, but just for the record, I still can't get PHPNG to build on Ubuntu 18.04. The legacy PHP builds fine. I've tried building PHPNG

Re: [mapserver-users] mapserver connection string with multiple hosts

2019-03-18 Thread Stephen Woodbridge
Typically, this is handled via a load balancer where the connection is pointed at a proxy and the proxy is configured with a list of hosts, not via the connection string, and then decides which host to forward the connection to. -Steve W On 3/18/2019 6:10 AM, Linsenmaier Dierk wrote: Hello

Re: [mapserver-users] How to make label background transparent?

2019-03-12 Thread Stephen Woodbridge
;L116/all;L280/all i'm not in the office today though to get at it. bobb From: mapserver-users on behalf of Schylberg Lars Sent: Monday, March 11, 2019 11:23:07 AM To: Stephen Woodbridge; mapserver-users Subject: Re: [mapserver-users] How to make label background

Re: [mapserver-users] How to make label background transparent?

2019-03-11 Thread Stephen Woodbridge
however use predefined 256 color palettes for another reason. /Lars -Original Message- From: mapserver-users On Behalf Of Stephen Woodbridge Sent: den 11 mars 2019 16:25 To: lars.schylb...@blixtmail.se; mapserver-users Subject: Re: [mapserver-users] How to make label background

Re: [mapserver-users] How to make label background transparent?

2019-03-11 Thread Stephen Woodbridge
Hi Lars, Thank you for the feedback on this. Let me clarify what I'm trying to do. I have a shape file with contour lines in it. I drawing this as an overlay image so the background is transparent. In the mapfile the IMAGECOLOR sets the background color and this is the color that is

Re: [mapserver-users] How to make label background transparent?

2019-03-08 Thread Stephen Woodbridge
is not written at all. -Steve W On 3/8/2019 9:16 PM, Stephen Woodbridge wrote: Hi All, I have a mapfile with: MAP IMAGECOLOR 255 255 255 and LAYER with:   CLASS     STYLE   COLOR "#00"   WIDTH 1     END     LABEL   STYLE     GEOMTRANSFORM 'labelpoly'     COL

[mapserver-users] How to make label background transparent?

2019-03-08 Thread Stephen Woodbridge
Hi All, I have a mapfile with: MAP IMAGECOLOR 255 255 255 and LAYER with:   CLASS     STYLE   COLOR "#00"   WIDTH 1     END     LABEL   STYLE     GEOMTRANSFORM 'labelpoly'     COLOR 255 255 255   END   TEXT (tostring([DEG_F], "%.1f"))   TYPE TRUETYPE  

Re: [mapserver-users] mapserver 6.2 unexpected behavior or not?

2019-03-05 Thread Stephen Woodbridge
DEFAULT means the layer will always be displayed like a background layer, but it is dependent on MIN/MAXSCALEDENOM ON means that if it is requested via the LAYERS=... that it can be displayed again dependent on MIN/MAXSCALEDENOM OFF means it will be ignored by the mapserver CGI even if its in

Re: [mapserver-users] Does mapserver or mapcache have support for reading arcgis REST services?

2019-03-03 Thread Stephen Woodbridge
/frmt_wms.html Michael Smith Remote Sensing/GIS Center US Army Corps On Mar 3, 2019, at 10:09 AM, Stephen Woodbridge mailto:stephenwoodbridg...@gmail.com>> wrote: Hi, Does mapserver or mapcache have support for reading arcgis REST services? and does anyone have an example? Below is an examp

[mapserver-users] Does mapserver or mapcache have support for reading arcgis REST services?

2019-03-03 Thread Stephen Woodbridge
Hi, Does mapserver or mapcache have support for reading arcgis REST services? and does anyone have an example? Below is an example url that fetches an image from such a sevice. Thanks,   -Steve W https://gis.charttools.noaa.gov/arcgis/rest/services/MCS/ENCOnline/MapServer/exts/Maritime

Re: [mapserver-users] SVG OUTPUTFORMAT TEXT LABEL

2019-02-27 Thread Stephen Woodbridge
I'm guessing that this is a CAIRO issue because mapserver hands off the rendering to CAIRO and at a low level CAIRO is sending the vectors to the SVG file rather than rasterizing them. That said, I haven't looked at the code and I'll defer to any of the dev's. -Steve W On 2/27/2019 5:50 AM,

Re: [mapserver-users] Upside Down labelling - Rotate Line text 180 degrees

2019-02-19 Thread Stephen Woodbridge
On 2/19/2019 4:08 AM, Martin Svend Hagerup wrote: Hi all Using Mapserver to produce maps for navigation applications we need to be able to rotate the road labels 180 degrees on the map so when the driver is driving south he/she will see the map upside down In an ideal world the line segments

Re: [mapserver-users] help passing runtime variables through cgi obfuscation script

2019-02-14 Thread Stephen Woodbridge
Have your script add the parameters to QUERY_STRING. Sent from my iPhone > On Feb 14, 2019, at 11:19 PM, Brent Wood wrote: > > Hi, > > I hope this makes sense... > > I'm using simple shell CGI scripts to avoid passing the mapfile name in the > service URL, eg: > >

Re: [mapserver-users] [mapserver-dev] Setup for MVT (was: Time for a 7.2.2 release?)

2019-02-12 Thread Stephen Woodbridge
ably heavily dependent on the behavior of the client and until folks get a chance to use this functionality we won't be able to provide much guidance. --Steve -Original Message- From: Stephen Woodbridge [mailto:stephenwoodbridg...@gmail.com] Sent: Thursday, February 07, 2019 9:06 PM To:

Re: [mapserver-users] Help with failing Postgis query...

2019-02-10 Thread Stephen Woodbridge
Brent, Are you wrapping your query like: DATA "select * from (select ROW_NUMBER() OVER (order by code) as id, code, sci_name, com_name, lower(family_com)||' ('|| family_sci||')' as Family, point from rdb.species_master s, maps.null_point p where code in (select distinct species from

Re: [mapserver-users] mamcache vertical assembly

2019-02-05 Thread Stephen Woodbridge
regards, Rich On Tue, Feb 5, 2019 at 4:38 PM Stephen Woodbridge mailto:stephenwoodbridg...@gmail.com>> wrote: I found response to question by Thomas on this subject that suggested it might cause a deadlock if you ran out of connections. Anyway I decided to build a new map file

[mapserver-users] MVT Tiles status?

2019-02-05 Thread Stephen Woodbridge
Is the MVT vector tiles stuff released yet? If not what’s the plan for that? I saw some posts in the archives that Steve L had stuff on github but would prefer to get it from Ubuntu packages. Thanks, -Steve W Sent from my iPhone ___

Re: [mapserver-users] mamcache vertical assembly

2019-02-05 Thread Stephen Woodbridge
:35 PM, Lime, Steve D (MNIT) > wrote: > > I’ll try to derive something from the source and report back. > From: mapserver-users on behalf of > Stephen Woodbridge > Sent: Sunday, January 27, 2019 7:08:38 PM > To: mapserver-users > Subject: [mapserver-users] mamcache

[mapserver-users] mamcache vertical assembly

2019-01-27 Thread Stephen Woodbridge
Hi, The mapcache docs has a page for vertical assembly but it is blank :( I have 7 layers in mapcache and I would like to vertically assemble these into a composite layer. In the past I have been loading all 7 in openlayers but it makes more sense to just composite them into a new layer.

Re: [mapserver-users] A weird(er) question about data sources?

2018-12-11 Thread Stephen Woodbridge
Hi Bob, For raster data using GDAL, I thought you could open remote URLs like AWS data stores, etc. Would that work for you? https://www.gdal.org/gdal_virtual_file_systems.html -Steve W On 12/11/2018 2:14 PM, Basques, Bob (CI-StPaul) wrote: All, Not sure where I really want to go with

Re: [mapserver-users] Mapserver limit watermark

2018-11-26 Thread Stephen Woodbridge
I think the problem is that each tile, ulass you are using metatiles like in mapcache, is a separate mapserver request and mapserver does not know about other requests so there is no way to filter out some watermarks. If you use something like mapcache to generate your tiles that uses a

Re: [mapserver-users] Raster performance hints

2018-11-06 Thread Stephen Woodbridge
I’ve had excellent results using jpeg YCBR in geotiff compression. It make small files, supports overviews and is fast. Building a custom overview layer is a good idea and save a lot in response time over opening a large number if files. -Steve W Sent from my iPhone > On Nov 6, 2018, at

Re: [mapserver-users] MapCache Time Dimension

2018-08-14 Thread Stephen Woodbridge
The error message says " (not in cache, and/or no source configured) " if you don't have the tile in the cache then mapcache needs to know how to generate the tile which is defined by the source definition and it can not find a source definition for "random_crime_wms". What does the source

[mapserver-users] Please reopen issue #3237

2018-07-22 Thread Stephen Woodbridge
Hi, I don't seem to be able to reopen https://github.com/mapserver/mapserver/issues/3237 Thanks,   -Steve --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ mapserver-users mailing list

Re: [mapserver-users] LABEL_NO_CLIP

2018-07-03 Thread Stephen Woodbridge
If you are using mapcache then the label should get drawn once per metatile. So in a scene you might have the label more than once but not in every tile. When you are rendering tiles mapserver has no knowledge of what was drawn in other requests or even if there were other request. so what

[mapserver-users] Mapserver crashing on CentOS 7 displaying jp2 files

2018-06-15 Thread Stephen Woodbridge
Hi all, I've run into a problem with mapserver crashing processing a jp2 file. In gdb (no symbols), it say the crash is in libgdal. I didn't download these rpms or build mapserver on this server but this is the list that appears to be here: [root@gis2 ~]# ls mapserver

[mapserver-users] Having a problem with mapserver crashing on CentOS 7 displaying jp2 files

2018-06-15 Thread Stephen Woodbridge
Hi all, I'm trying to display jp2 files through mapserver on CentOS 7, but I'm getting a crash in libgdal when it processes the file. In theory, the followinf rpms have been installed: armadillo-8.300.0-1.el7.x86_64.rpm libaec-1.0.2-1.el7.x86_64.rpm arpack-3.1.3-2.el7.x86_64.rpm

[mapserver-users] Efficiency of serving serving jp2 vs gtiff?

2018-03-01 Thread Stephen Woodbridge
Hi all, I'm wondering how efficient mapserver is serving jp2 files vs tiled gtiff files? Is there a significant difference? I know that with jpeg files it has to decode a whole row to access any pixel in that row which make it a poor choice, but I don't think that jp2 has the same issue.

Re: [mapserver-users] mapserver with kml

2017-12-14 Thread Stephen Woodbridge
Ivan, The "+" char in the URL is interpreted as a space you have to ecapce this as %2B But you should be able to give the OUTPUTFORMAT block an NAME "kml" and give that the appropriate parameters like: EXTENSION "kml" MIMETYPE "application/vnd.google-earth.kml+xml" and

Re: [mapserver-users] Labelling Lines with Center justification not owrking as expected.

2017-08-25 Thread Stephen Woodbridge
bobb On Aug 24, 2017, at 7:29 PM, Stephen Woodbridge <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>> wrote: On 8/24/2017 5:47 PM, Basques, Bob (CI-StPaul) wrote: All, I’m working on a Parcel Assessment app that will display Parcel edges and which streets they abut

Re: [mapserver-users] Labelling Lines with Center justification not owrking as expected.

2017-08-24 Thread Stephen Woodbridge
On 8/24/2017 5:47 PM, Basques, Bob (CI-StPaul) wrote: All, I’m working on a Parcel Assessment app that will display Parcel edges and which streets they abut.  I’m trying to label each edge of the parcel with it’s Edge length, but the positioning of the labels is not at all what I’m expecting

[mapserver-users] Mapcache - How to assemble multiple layser into single image?

2017-07-13 Thread Stephen Woodbridge
Hi all, I seem to remember that it is possible to assemble multiple existing mapcache layers into a single image request, but my google-foo is failing me this morning. I need to assemble this on the server not the client. Any pointers or examples would be appreciated. -Steve W --- This

Re: [mapserver-users] Fwd: Zoom to something and display in one shot from MapServer CGI.

2017-07-11 Thread Stephen Woodbridge
runaway processes being created . . . . bobb On Jul 11, 2017, at 10:38 AM, Stephen Woodbridge <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>> wrote: On 7/11/2017 10:39 AM, Basques, Bob (CI-StPaul) wrote: All, It’s probably because it’s Tues. but I think I’ve asked

Re: [mapserver-users] Zoom to something and display in one shot from MapServer CGI.

2017-07-11 Thread Stephen Woodbridge
On 7/11/2017 10:39 AM, Basques, Bob (CI-StPaul) wrote: All, It’s probably because it’s Tues. but I think I’ve asked this before in the past . . . I have a DB with PIN numbers for PARCELS and I want to be able to auto-zoom(with buffer) to a PARCEL by just sending in a PIN number via CGI.

Re: [mapserver-users] mapserver, msProjectPoint() error

2017-07-10 Thread Stephen Woodbridge
I think this error is caused because you have a layer with data defined in lat,lon and it has coordinatesgreater than +-85.0511287776451 degrees of latitude or > 180.0 or < -180.0 long. Coordinates outside that range will generate this error. -Steve W On 7/10/2017 7:31 PM, Vu, Johnson (EC)

Re: [mapserver-users] Upgraded to Xenial and mapserver does not work

2017-06-16 Thread Stephen Woodbridge
Solved it. Had a ancient /etc/ld.so.conf.d/libc.conf messing things up. Removed it and things are working. Sorry for the noise. -Steve W On 6/16/2017 10:04 AM, Stephen Woodbridge wrote: Hi all, I just upgraded my system from trusty to xenial and mapserver does not work: $ /usr/bin

[mapserver-users] Upgraded to Xenial and mapserver does not work

2017-06-16 Thread Stephen Woodbridge
Hi all, I just upgraded my system from trusty to xenial and mapserver does not work: $ /usr/bin/mapserv -v /usr/bin/mapserv: error while loading shared libraries: libproj.so.0: cannot open shared object file: No such file or directory $ apt-show-versions | grep mapserv

Re: [mapserver-users] how remove the geometry from wfs response

2017-06-16 Thread Stephen Woodbridge
https://github.com/mapserver/docs/issues/179 On 6/16/2017 9:00 AM, Jeff McKenna wrote: On 2017-06-16 9:46 AM, Stephen Woodbridge wrote: Should an issue(s) be opened against this: * for the doc? yes, please file this doc ticket at https://github.com/mapserver/docs Thanks SteveW

Re: [mapserver-users] how remove the geometry from wfs response

2017-06-16 Thread Stephen Woodbridge
Should an issue(s) be opened against this: * for the doc? * for adding something to the test suite? * for the WFS non compliance with ogr? -Steve W On 6/16/2017 6:25 AM, Even Rouault wrote: On jeudi 15 juin 2017 20:22:04 CEST Andrea Peri wrote: > Hi, > I need to force the remove from the

Re: [mapserver-users] Mapserver 7.0.5, PostGIS and Query Errors

2017-06-07 Thread Stephen Woodbridge
Try adding FILTER "t" and see if that fixes the issue. If it does, please write it up as a bug. -Steve W On 6/7/2017 3:27 AM, Jörg Thomsen (WhereGroup) wrote: Hi, had the same problem a few weeks ago. The solution was to fix the FILTER or EXPRESSION within the classes. I don't remember

Re: [mapserver-users] problem serving postgis raster as WMS

2017-06-03 Thread Stephen Woodbridge
Brent, Does this help: https://postgis.net/docs/RT_FAQ.html#idm27746 What version of gdal do you have installed. You might need the mode=2 argument on the DATA statement. -Steve W On 6/3/2017 5:40 PM, Brent Wood wrote: Hi, I'm looking to (eventually) manage several hundred raster layers

Re: [mapserver-users] WMS - Change color map of a DEM dynamically

2017-05-30 Thread Stephen Woodbridge
Here is a good explanation: https://lists.osgeo.org/pipermail/gdal-dev/2014-May/039091.html On 5/30/2017 8:09 PM, Stephen Woodbridge wrote: I don't use QGIS so maybe someone else has some idea how to do what you want with that. I think I might try something along these lines: Create a GDAL

Re: [mapserver-users] WMS - Change color map of a DEM dynamically

2017-05-30 Thread Stephen Woodbridge
I don't use QGIS so maybe someone else has some idea how to do what you want with that. I think I might try something along these lines: Create a GDAL VRT file for each theme and add appropriate color tables for them. You might need to write a script to generate the color ramps as color table

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-14 Thread Stephen Woodbridge
an idea. On April 14, 2017 1:43:09 PM Stephen Woodbridge <wood...@swoodbridge.com> wrote: http://mapserver.org/mapfile/outputformat.html Why not serve them a GTiff format for qgis? You can define multiple output formats in the mapfile, and let the browser use the 8bit png and hav

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-14 Thread Stephen Woodbridge
ot;Re: Contents of mapserver-users digest..." Today's Topics: 1. geotiff 48bit with mapserver 7 wms (David) 2. Re: geotiff 48bit with mapserver 7 wms (Stephen Woodbridge) -- Message: 1 Date: Wed, 12 Apr 2017 00:22:12

Re: [mapserver-users] Σχετ: CONGIG MS_ERRORFILE ownership

2017-04-13 Thread Stephen Woodbridge
need to put it in cgi-bin directory and then access it via http://localhost/cgi-bin/script.py -Steve Στις 9:27 μ.μ. Πέμπτη, 13 Απριλίου 2017, ο/η Stephen Woodbridge <wood...@swoodbridge.com> έγραψε: On 4/13/2017 1:26 PM, Stefanos Anastasiou wrote: > Hello list, >I noticed

Re: [mapserver-users] CONGIG MS_ERRORFILE ownership

2017-04-13 Thread Stephen Woodbridge
On 4/13/2017 1:26 PM, Stefanos Anastasiou wrote: Hello list, I noticed that when I set the CONFIG "MS_ERRORFILE" "/home/stefanos/mapdata/log_file.log" it is saved with ownership to www-data for both user and group. Well this seems to cause problem for Python mapscript (at least at my

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-11 Thread Stephen Woodbridge
Read this: http://mapserver.org/input/raster.html You need to add to your highres layer PROCESSING "SCALE=AUTO" Or per band scaling. I done thing most browsers know what to do with 16 bits per channel. -Steve W On 4/11/2017 8:22 PM, David wrote: Hi there, iam having some trouble to serve

Re: [mapserver-users] Σχετ: Mascript information

2017-04-09 Thread Stephen Woodbridge
Στις 10:44 μ.μ. Σάββατο, 8 Απριλίου 2017, ο/η Stephen Woodbridge <wood...@swoodbridge.com> έγραψε: On 4/8/2017 3:41 PM, Stephen Woodbridge wrote: > On 4/8/2017 2:26 PM, Stefanos Anastasiou wrote: >> Hi list, >> I need a small clarification about mapscript. I noticed that t

Re: [mapserver-users] Mascript information

2017-04-08 Thread Stephen Woodbridge
On 4/8/2017 3:41 PM, Stephen Woodbridge wrote: On 4/8/2017 2:26 PM, Stefanos Anastasiou wrote: Hi list, I need a small clarification about mapscript. I noticed that the documentation on the API of php Mapscript is fully documented here: http://mapserver.org/mapscript/php/phpmapscript.html

Re: [mapserver-users] Mascript information

2017-04-08 Thread Stephen Woodbridge
On 4/8/2017 2:26 PM, Stefanos Anastasiou wrote: Hi list, I need a small clarification about mapscript. I noticed that the documentation on the API of php Mapscript is fully documented here: http://mapserver.org/mapscript/php/phpmapscript.html Regarding python mapscript, which documentation

Re: [mapserver-users] A trouble at validation level

2017-04-04 Thread Stephen Woodbridge
Try this: (^[-a-zA-Z0-9_.=#'&%() ]+$) If you want '-' in the character class [] it must be the first char in the brackets otherwise it is interpreted as a range character. And you should not need to escape chars in the [] class with '\' -Steve On 4/4/2017 9:59 AM, Andrea Peri wrote: Thx

Re: [mapserver-users] Another related SHPXY question, about Crossing window vs within for TEMPLATED output.

2017-03-02 Thread Stephen Woodbridge
On 3/2/2017 5:20 PM, Basques, Bob (CI-StPaul) wrote: All, So, I’ve got my cool LISP output template working nicely. I even have more than one Layer working from a single Template, but, I just discovered that if a line does not originate or terminate inside of my BBOX of interest, then it’s not

Re: [mapserver-users] SHPXY output formatting, how can I drop the comma in the X/Y separator??

2017-03-02 Thread Stephen Woodbridge
Maybe the docs should be updated. If nothing else at least open a ticket with this additional information. -Steve W On 3/2/2017 2:09 PM, Lime, Steve D (MNIT) wrote: The yh would have the same effect IF you set xf to "" - you have to overcome the defaults. --Steve

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-27 Thread Stephen Woodbridge
ext]" COLOR 0 0 255 OUTLINECOLOR 255 255 255 TYPE TRUETYPE FONT arial SIZE 8 ANTIALIAS FALSE POSITION CC PARTIALS FALSE FORCE TRUE MINDISTANCE 0 BUFFER 0 ANG

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-27 Thread Stephen Woodbridge
Don't use the geotransform labelpnt, in fact don't label it: symbol name "arrow-north" type truetype font arrows character "" filled true end LABEL ... CLASS STYLE COLOR "#88" SIZE 8 END END CLASS STYLE

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-23 Thread Stephen Woodbridge
You can have LABEL STYLE but you also need a GEOMTRANSFORM 'labelpoly' or 'labelpnt' http://mapserver.org/mapfile/label.html http://mapserver.org/mapfile/geomtransform.html -Steve W On 2/23/2017 2:47 PM, Mark Volz wrote: Brent, I think your right. I was under the impression that STYLE

Re: [mapserver-users] Mapcache to generate TMS?

2017-02-15 Thread Stephen Woodbridge
On 2/15/2017 4:09 AM, Dave Barter wrote: This is probably a daft question, but can mapcache be used to generate a static tile set for use by a TMS service? I was thinking this would be achieved using the tile seeder at zoom levels 0 - 20 and then pointing the TMS at the cache directory Yes,

Re: [mapserver-users] Cant get polygon labels to show up

2017-02-14 Thread Stephen Woodbridge
rver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Brent Fraser Lähetetty: 14. helmikuuta 2017 6:15 Vastaanottaja: Stephen Woodbridge <wood...@swoodbridge.com>; mapserver-users <mapserver-users@lists.osgeo.org> Aihe: Re: [mapserver-users] Cant get polygon labels to sho

Re: [mapserver-users] Cant get polygon labels to show up

2017-02-13 Thread Stephen Woodbridge
As a Followup, I used a hex editor to change the column name to uppercase and that did not change anything so its not a case probelm as far as I can tell. -SteveW On 2/13/2017 10:32 PM, Stephen Woodbridge wrote: On 2/13/2017 3:19 PM, Basques, Bob (CI-StPaul) wrote: try lowercase “location

Re: [mapserver-users] Cant get polygon labels to show up

2017-02-13 Thread Stephen Woodbridge
is interested in checking it out. This one has me totally stumped. -Steve W bobb On Feb 13, 2017, at 2:17 PM, Stephen Woodbridge <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>> wrote: I have a tileindex for a bunch of DOQQs and I would like to create a layer the displays the

[mapserver-users] Cant get polygon labels to show up

2017-02-13 Thread Stephen Woodbridge
I have a tileindex for a bunch of DOQQs and I would like to create a layer the displays there filenames and bboxes. I'm using the tileindex shapefile as my data source like with the layer definition below. The BBox polygon lines are showing up but I must be doing something stupid because I

Re: [mapserver-users] Embed map (detail map) in mapserver output?

2017-02-08 Thread Stephen Woodbridge
just another type of Legend (or could be thought of that way) bobb On Feb 8, 2017, at 4:39 PM, Stephen Woodbridge <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>> wrote: On 2/8/2017 5:22 PM, Basques, Bob (CI-StPaul) wrote: All, Anyone know of a way (trick) to

Re: [mapserver-users] Embed map (detail map) in mapserver output?

2017-02-08 Thread Stephen Woodbridge
On 2/8/2017 5:22 PM, Basques, Bob (CI-StPaul) wrote: All, Anyone know of a way (trick) to embed a map into a regular map query in Mapserver? Something like embedding a legend, but I actaully want to embed another higher resolution detail map. Ideally I would be able to use any of the layers

Re: [mapserver-users] group and subgroup

2017-02-06 Thread Stephen Woodbridge
On 2/6/2017 3:11 PM, milad nidal wrote: Hi, I'd like to create a subgroup with 2 layers. is-it posible? I tried what is menionned in the mapserver,s doc but it did not work. something like (groupe : test and subgroup test2 with layer1 and layer 2 in the subgroup) Thanks Try this: LAYER NAME

Re: [mapserver-users] Σχετ: Σχετ: Σχετ: Mapfile CLASS hierarchy

2017-01-23 Thread Stephen Woodbridge
, 23 Ιανουαρίου 2017, ο/η Stephen Woodbridge <wood...@swoodbridge.com> έγραψε: Sorry my bad, that should be SIZEUNITS Read the section on SIZE and WIDTH http://mapserver.org/mapfile/style.html It explains how SIZEUNITS is used. On 1/23/2017 11:20 AM, Stefanos Anastasiou wrote: You are pr

Re: [mapserver-users] Σχετ: Σχετ: Mapfile CLASS hierarchy

2017-01-23 Thread Stephen Woodbridge
that in meters. I've also set the PROJECTION "init:epsg=2100" END in both the MAP level and the LAYER level. My extent is in meters too, obtained from the ogrinfo -al -so command. but still. the same effect.. Στις 5:11 π.μ. Δευτέρα, 23 Ιανουαρίου 2017, ο/η Stephen Woodbr

Re: [mapserver-users] Σχετ: Σχετ: Mapfile CLASS hierarchy

2017-01-23 Thread Stephen Woodbridge
. I've also set the PROJECTION "init:epsg=2100" END in both the MAP level and the LAYER level. My extent is in meters too, obtained from the ogrinfo -al -so command. but still. the same effect.. Στις 5:11 π.μ. Δευτέρα, 23 Ιανουαρίου 2017, ο/η Stephen Woodbr

Re: [mapserver-users] Σχετ: Mapfile CLASS hierarchy

2017-01-22 Thread Stephen Woodbridge
. -Steve This blog entry from Simon Mercier describes how this works. http://www.mapgears.com/en/blog/archive/2013-03-05-roads_network_mapping Lars S. -Originalmeddelande- Från: "Stephen Woodbridge" <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>>

Re: [mapserver-users] Mapfile CLASS hierarchy

2017-01-21 Thread Stephen Woodbridge
, Stephen Woodbridge wrote: Within a layer objects are always drawn in the order they are delivered from the datasource. Think of the CLASSes are an IF-ELSEIF-BLOCK, when an object is presented each CLASS is tested and the first one the accepts the object renders it. I often up a default class

Re: [mapserver-users] Mapfile CLASS hierarchy

2017-01-21 Thread Stephen Woodbridge
Within a layer objects are always drawn in the order they are delivered from the datasource. Think of the CLASSes are an IF-ELSEIF-BLOCK, when an object is presented each CLASS is tested and the first one the accepts the object renders it. I often up a default class at then end that has no

Re: [mapserver-users] Unexpected result from overlapping images in tile index

2017-01-19 Thread Stephen Woodbridge
Right, you can not rely on the tileindex from doing anything more than say these are the objects that intersect with your bbox. There are no specific controls over how the objects interact other than items are draw in the order they are found in the data sources. This is why sorting efected

[mapserver-users] Maps and geocoding for Australia

2017-01-14 Thread Stephen Woodbridge
Hi all, Apologies for the cross posting. Over the past month or so I have been playing with OpenData for Australia. This is a work in progress, but I thought some of you might be interested. ## Maps http://imaptools.com:8080/demo/australia.html 394 australia-10m-map.inc 3663

Re: [mapserver-users] variable substitution

2017-01-04 Thread Stephen Woodbridge
Or use: FILTER ( "[gid]" = '[%adrkey%]' ) " for the column name ' for the value -Steve W On 1/4/2017 6:47 AM, thomas bonfort wrote: yeah, if you want an integer comparison use: FILTER ( [gid] = [%adrkey%] ) On Wed, Jan 4, 2017 at 12:43 PM Jörg Thomsen (WhereGroup)

Re: [mapserver-users] Label polygons outside [SEC=UNCLASSIFIED]

2016-11-11 Thread Stephen Woodbridge
On 11/11/2016 1:46 AM, Inna Nogeste wrote: I need to position the polygon label outside the polygon. Do I have to use OFFSET for this or is there another parameter I can use? Is there a way to label polygons so that they don’t collide with an overlaying/underlaying point symbol which is

Re: [mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED]

2016-11-09 Thread Stephen Woodbridge
STYLE SYMBOL 'xyz' SIZE [size] COLOR [colour] END where [colour] is a string "#rrggbb" -Steve W On 11/9/2016 6:35 PM, Inna Nogeste wrote: I need to symbolise data showing both size and colour, where there are 4 different symbol sizes and 11 different colours. The 11 colours can be

Re: [mapserver-users] Can Mapserver expressions contain parens?

2016-11-06 Thread Stephen Woodbridge
...@lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Friday, November 04, 2016 9:44 AM To: mapserver-users <mapserver-users@lists.osgeo.org> Subject: [mapserver-users] Can Mapserver expressions contain parens? I'm trying to use a style like: STYLE COLOR "#00" WIDTH (([FEATWIDTH]+.4)*

Re: [mapserver-users] Can Mapserver expressions contain parens?

2016-11-04 Thread Stephen Woodbridge
Ok, on an issue with parens as I reorged the expression to ([FEATWIDTH]*10+4) and still get an error: getSymbol(): Symbol definition error. Parsing error near ([FEATWIDTH]*10+4):(line 1620) So maybe expressions are not allowed on WIDTH? -Steve W On 11/4/2016 10:43 AM, Stephen Woodbridge

[mapserver-users] Can Mapserver expressions contain parens?

2016-11-04 Thread Stephen Woodbridge
I'm trying to use a style like: STYLE COLOR "#00" WIDTH (([FEATWIDTH]+.4)*10) END but I'm getting: getSymbol(): Symbol definition error. Parsing error near (([FEATWIDTH]+.4)*10):(line 1620) MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ

Re: [mapserver-users] MapServer IIS7

2016-10-13 Thread Stephen Woodbridge
base needs to be configured to accept connections from whatever user IIS runs under, which is probably different from apache or even your user account. -Steve W -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent

Re: [mapserver-users] MapServer IIS7

2016-10-13 Thread Stephen Woodbridge
Have you tried to connect to the sql server outside of mapserver using the same credentials? ie: make sure the the mapserver user is a valid user to do the connection with. -Steve W On 10/13/2016 10:18 AM, Vogt, Robert (RCIS) wrote: This is the full error... 502 - Web server received an

[mapserver-users] mapserver 6.4.1 crash on raster query

2016-07-13 Thread Stephen Woodbridge
Hi all, I am getting a crash with memory corruption in mapserver 6.4.1 when doing a query. The strange this is that I have two identical mapfiles where the only difference is the tif files being referenced by it and while they both crash the errors are slightly different as can be seen in

  1   2   3   4   5   6   7   >