[mapserver-users] MapServer 7.2.0 Beta 2 is Released

2018-06-13 Thread Lime, Steve D (MNIT)
Hi all: The MapServer PSC is happy to announce the release of the second beta for MapServer 7.2.0. It can be downloaded at http://mapserver.org/download.html#dev-release. There are no major feature additions. Please see the detailed change log (http://mapserver.org/development/changelog/changel

Re: [mapserver-users] Default GetCapabilities Version Not Working

2018-05-17 Thread Lime, Steve D (MNIT)
. Are you sure clients aren’t passing bad versions as opposed to no version? --Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D (MNIT) Sent: Thursday, May 17, 2018 1:32 PM To: Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applicat

Re: [mapserver-users] Default GetCapabilities Version Not Working

2018-05-17 Thread Lime, Steve D (MNIT)
Hi Matthew: Looking at the code MapServer 7.0 defaults to 1.3.0 already for GetCapabilties requests – you shouldn’t need that line. That said, it should work… --Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Cechini, Matthew F. (GSFC-423.0)[Science Sys

Re: [mapserver-users] Σχετ: MapServer 7.2.0 PHP support?

2018-05-14 Thread Lime, Steve D (MNIT)
Hi Stefano: I mean the second beta coming in a day or two... We'd at PHP 7 support when ready and convenient. --Steve From: Stefanos Anastasiou Sent: Monday, May 14, 2018 2:14:02 PM To: Lime, Steve D (MNIT); Richard Greenwood; mapserver Subject: Σχετ: [maps

Re: [mapserver-users] MapServer 7.2.0 PHP support?

2018-05-14 Thread Lime, Steve D (MNIT)
Hi Rich: It was my mistake to include PHP 7 support in the feature list – I thought it was ready. There has been some work but it has not been finished. Consequently it will not be included in the 7.2 release. I’ll fix the feature list with the next beta. As I mentioned, work *has* been done. J

Re: [mapserver-users] MapServer 7.2.0 Beta 1 is Released

2018-05-09 Thread Lime, Steve D (MNIT)
I should add that the source distribution is available from the usual spot: http://mapserver.org/download.html under development releases. From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D (MNIT) Sent: Wednesday, May 09, 2018 1:27 PM To: mapserver

[mapserver-users] MapServer 7.2.0 Beta 1 is Released

2018-05-09 Thread Lime, Steve D (MNIT)
Hi all: The MapServer is happy to announce the release of the first beta for MapServer 7.2.0. A long time coming - too long - this version features a number of significant updates, including: - Support for Enhanced Layer Metadata Management (RFC82) - Calculate MINDISTANCE fro

Re: [mapserver-users] LABELITEM in TEMPLATE or dynamic template

2018-04-20 Thread Lime, Steve D (MNIT)
[layername_meta data key]… It would be interesting to learn a little more about your setup to see if there is a more expedient way to do what you’re after. --Steve From: Luca Delucchi [mailto:lucadel...@gmail.com] Sent: Monday, April 16, 2018 11:44 PM To: Lime, Steve D (MNIT) Cc: MapServer Subject: Re

Re: [mapserver-users] LABELITEM in TEMPLATE or dynamic template

2018-04-16 Thread Lime, Steve D (MNIT)
I don’t get what you mean by template - are you really talking about a query template (either via TEMPLATE or a template-driven output format) or something else? --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Luca Delucchi

Re: [mapserver-users] Σχετ: Release date of Mapserver 7.2

2018-03-28 Thread Lime, Steve D (MNIT)
: Lime, Steve D (MNIT) ; Nicolas Gignac ; mapserver-users@lists.osgeo.org; MapServer Dev Mailing List Subject: Σχετ: [mapserver-users] Release date of Mapserver 7.2 Hi Steve, will this version support php 7 ? Regards, Stefanos Στις 4:36 μ.μ. Τετάρτη, 28 Μαρτίου 2018, ο/η "Lime, Steve D

Re: [mapserver-users] Release date of Mapserver 7.2

2018-03-28 Thread Lime, Steve D (MNIT)
Depends on what you mean by close/short term. While a release date hasn't been set - I could see a beta sometime in April. I believe all of the planned features are either in master or sitting in a pull request. The MapServer vector tiles stuff was merged yesterday. --Steve

Re: [mapserver-users] Bonn Code Sprint Summary

2018-03-23 Thread Lime, Steve D (MNIT)
Ditto on the hard work - looks like the sprinters had a productive week! -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephan Meißl Sent: Friday, March 23, 2018 8:50 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-us

Re: [mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread Lime, Steve D (MNIT)
I would agree on the updating. We aren’t patching 4 or 5 anymore. Oldest version I’d recommend it 6.4.x… From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Dan Little Sent: Tuesday, March 06, 2018 1:47 PM To: DamienZINS Cc: mapserver-users@lists.osgeo.org Subjec

Re: [mapserver-users] Release date of Mapserver 7.2

2018-02-13 Thread Lime, Steve D (MNIT)
I’d like to shoot for an alpha by March 1st. I think we're pretty much waiting on my merge of the vector tiles code. My pull request is in good shape, just trying to track down a few regression test errors (and I need to add some tests of my own). --Steve -Original Message- From: maps

Re: [mapserver-users] MapFile DATA Syntax for PostGIS raster with FILTER

2018-02-07 Thread Lime, Steve D (MNIT)
t_my_id' '-1' END If the my_id parameter isn't supplied or doesn't validate (e.g. a 3-digit number) the default value is used. --Steve ____________ From: mapserver-users on behalf of Lime, Steve D (MNIT) Sent: Wednesday, February 7, 2018 7:35:5

Re: [mapserver-users] MapFile DATA Syntax for PostGIS raster with FILTER

2018-02-07 Thread Lime, Steve D (MNIT)
What version? You don’t have to use a filter. You can do it all in the data statement plus validation. —Steve From: mapserver-users on behalf of Paul Lewis Sent: Wednesday, February 7, 2018 11:13:23 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-user

Re: [mapserver-users] Status of MVT vector tiles?

2018-02-05 Thread Lime, Steve D (MNIT)
My branch (https://github.com/sdlime/mapserver/tree/vector-tiles) is the one to try. You should be able build it as you would any other branch – using cmake. You need protobuf and protobuf-c installed to be able to compile things though. Configuring MVT output is really quite similar to configur

Re: [mapserver-users] UTFGRID and Mapscript

2018-02-02 Thread Lime, Steve D (MNIT)
Can you post what the layer definition *should* look like? It’s possible the PHP code wasn’t updated. Perhaps there’s a workaround using some of the OWS metadata since most output drivers will support a variety of means of configuration. From: mapserver-users [mailto:mapserver-users-boun...@lis

Re: [mapserver-users] How add a point remotelly

2018-01-22 Thread Lime, Steve D (MNIT)
There are certain pieces of a mapfile that can be set via URL. Typically only values doing type validation in the parser. Anything else would require validation and some things are simply not mutable (which is where substitution comes in). This approach doesn't use substitution - you're actually

Re: [mapserver-users] Can a legend graphic be scaled?

2018-01-12 Thread Lime, Steve D (MNIT)
How are you calling the legend? From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Wednesday, January 10, 2018 2:07 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Can a legend graphic be scaled? All, I would like

Re: [mapserver-users] MultiPolygon layer requested as GeoJSON is returned as Polygon

2018-01-08 Thread Lime, Steve D (MNIT)
Hi Peter: Adding the following metadata to the layer returns a multipolygon for me: METADATA "ows_geomtype" "Geometry" END Without specific direction on geometry type it may be that MapServer is capitalizing on the layer type or something like that. Steve From: ma

Re: [mapserver-users] Polygon is filled with hatch symbol only partly

2018-01-08 Thread Lime, Steve D (MNIT)
Would be good to see examples of data and mapfile definitions that illustrate the problem. This should not be happening... --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of mseidl Sent: Monday, January 08, 2018 5:30 AM To: maps

Re: [mapserver-users] Buidl cache on demand

2017-12-20 Thread Lime, Steve D (MNIT)
Yup, that’s the default behavior. The first user through pays a bit of a performance as tiles are initially created. Subsequent users will work off the cache then... —Steve From: mapserver-users on behalf of Dr. Marco Lechner Sent: Wednesday, December 20, 2017

Re: [mapserver-users] Legend graphic output: Nested.

2017-12-15 Thread Lime, Steve D (MNIT)
You might be able to lay it out as a map (using a mapfile) with a bunch of inline features that you could assign symbols (could be calls to MapServer to get legend icons since a SYMBOL can be a URL) and labels. The problem is that if this needs to be really dynamic (different layers show/hide)

Re: [mapserver-users] R: understanding runtime substitution usage

2017-11-28 Thread Lime, Steve D (MNIT)
The error you're getting is because no mode is set. That's the output from the form supposed to be? If it's just the resulting map then add a hidden variable called mode with a value of map. The filter and validation look ok to me. --Steve -Original Message- From: mapserver-users [mailt

Re: [mapserver-users] Mapserver request processing time

2017-11-17 Thread Lime, Steve D (MNIT)
There’s nothing in MapServer itself to limit processing time. I’ve had it run for minutes on large requests and return successfully. Perhaps there’s a limit configured in your webserver? From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stefanos Anastasiou Sent

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-19 Thread Lime, Steve D (MNIT)
Glad this was figured out! What was the code change exactly? From: mapserver-users on behalf of Erik H Sent: Wednesday, October 18, 2017 8:07:42 PM To: Eichner, Andreas - SID Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Draw roads WITHOUT an

Re: [mapserver-users] msOGRFileOpen(): Falling back to MapServer only evaluation

2017-10-17 Thread Lime, Steve D (MNIT)
Hi: The message is specific to SQLite. I believe it has to do how filtering can be done and depends on the form of your DATA statement. If you don't use SQL syntax for the data statement then you have to fall back to MapServer filter syntax. See http://mapserver.org/input/vector/sqlite.html for

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-16 Thread Lime, Steve D (MNIT)
else. The algorithm for drawing a line is well known. From: Erik H Sent: Monday, October 16, 2017 2:23:33 PM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Draw roads WITHOUT anti-aliasing I don't think we have

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-16 Thread Lime, Steve D (MNIT)
From: Erik H [mailto:erik.h11...@gmail.com] Sent: Monday, October 16, 2017 1:15 PM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Draw roads WITHOUT anti-aliasing Thanks for your reply, but I should have mentioned that I have a LOT of different

Re: [mapserver-users] Draw roads WITHOUT anti-aliasing

2017-10-16 Thread Lime, Steve D (MNIT)
Hmmm… I wonder if you just could use a pre-computed palette to control quantizing to 8 bits. You can supply a palette file (RGB or RGBA) and the MapServer will map 24/32-bit values to those in the palette. Format options are: FORMATOPTION "PALETTE_FORCE=TRUE" FORMATOPTION "PALETTE=palet

Re: [mapserver-users] passing variables to includes

2017-10-16 Thread Lime, Steve D (MNIT)
Need the mapfile equivalent of SASS... A standard, platform-independent pre-processor would be nice. I’ve heard of folks using the C pre-processor to do this sort of thing so they’d have a version of a mapfile (and no includes) full of #define and #ifdef structures. In some cases I’ve gone nuts

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-13 Thread Lime, Steve D (MNIT)
Ticket is https://github.com/mapserver/mapserver/issues/5490... --Steve From: Carlos Ruiz [mailto:boolean10...@yahoo.com] Sent: Thursday, October 12, 2017 12:55 PM To: Lime, Steve D (MNIT) ; mapserver-users@lists.osgeo.org; Sven Schroeter Subject: Re: AW: RE: [mapserver-users] php Mapscript

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-12 Thread Lime, Steve D (MNIT)
l Message- From: Sven Schroeter [mailto:schroe...@netgis.de] Sent: Thursday, October 12, 2017 8:05 AM To: Lime, Steve D (MNIT) ; 'Carlos Ruiz' ; mapserver-users@lists.osgeo.org Subject: AW: RE: [mapserver-users] php Mapscript queryByAttributes Hi Steve and Carlos, thanks for

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Lime, Steve D (MNIT)
Try: $qfield = 'gid'; $qstring = "([gid] IN '1,2,3')"; @$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE); I'm guessing the layer in question is PostGIS? In older versions of MapServer the query string could be given in the native SQL language of underlying driver.

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Lime, Steve D (MNIT)
The query syntax is given in MapServer expression syntax. I think there’s a logical expression for why you’re seeing these results: queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything is evaluated as gid = “gid > 100”. Valid but not what you’re looking for. Your last

Re: [mapserver-users] MapCache 1.6.1 and 1.4.2 are released

2017-10-02 Thread Lime, Steve D (MNIT)
Thanks for handling Jeff and a big thanks for Even for the fix! Note this is fixing a XSS vulnerability associated with the WMS/WMTS error responses - in case you don't want track down the CVE id. --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osge

Re: [mapserver-users] V8 MapScript Support

2017-09-29 Thread Lime, Steve D (MNIT)
So there is no V8 library file? That's a problem. It has to be somewhere on your system (I've never tried V8 support though) - perhaps it's a static library? From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jonathan Beliën Sent: Wednesday, September 27, 2017 4

Re: [mapserver-users] WFS export as GeoJSON or CSV

2017-09-22 Thread Lime, Steve D (MNIT)
Are these all exports via OGR output formats? One idea might be to try the conversion at the command line (take MapServer out of the equation) and view the result into QGIS. Since you're grabbing whole feature classes that seems doable. That would help determining where the issue lies - could be

Re: [mapserver-users] GRABBING some default CGI parameters in MapFile.

2017-09-12 Thread Lime, Steve D (MNIT)
You’re a mad man! From: Basques, Bob (CI-StPaul) [mailto:bob.basq...@ci.stpaul.mn.us] Sent: Tuesday, September 12, 2017 9:58 AM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists.osgeo.org Subject: Re: GRABBING some default CGI parameters in MapFile. All, I’ve been wanting to build a HUD

Re: [mapserver-users] rotate and fit based on polygon

2017-09-11 Thread Lime, Steve D (MNIT)
Looks like you need to use the polygon extent to compute the rotation angle but then should use the extent of the rotated polygon for the map extent. From: Travis Kirstine Sent: Friday, September 8, 2017 9:23 PM To: Carlos Ruiz; Lime, Steve D (MNIT) Cc

Re: [mapserver-users] rotate and fit based on polygon

2017-09-08 Thread Lime, Steve D (MNIT)
It’s kinda hard to picture what you’re after, any way to help visualize it? From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Travis Kirstine Sent: Thursday, September 07, 2017 1:27 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] rotate and fit

Re: [mapserver-users] Multi template

2017-09-08 Thread Lime, Steve D (MNIT)
Hi Pierre: Ok, I whipped up a test. It is possible to use both the legacy templates and the output format method. The key is setting a value for the WEB object QUERYFORMAT parameter. If that parameter is set to some value that doesn't match any existing OUTPUTFORMAT names then MapServer will use

Re: [mapserver-users] GRABBING some default CGI parameters in MapFile.

2017-09-07 Thread Lime, Steve D (MNIT)
Width in what context? How are you trying use that value? From: mapserver-users on behalf of Basques, Bob (CI-StPaul) Sent: Thursday, September 7, 2017 11:18:04 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] GRABBING some default CGI parameters

Re: [mapserver-users] Multi template

2017-08-23 Thread Lime, Steve D (MNIT)
I'll have to setup a quick test to satisfy my own curiosity and report back. -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of pe_lord Sent: Wednesday, August 23, 2017 12:31 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver

Re: [mapserver-users] Multi template

2017-08-23 Thread Lime, Steve D (MNIT)
Yes, you can have both although whenever I've started to use the outputformat-based templating I've abandoned the other approach. If no query format is set then MapServer will revert to the older approach. You can't, however, mix and match the approaches within a single query response. Does that

Re: [mapserver-users] Segfault - LINE layer

2017-08-18 Thread Lime, Steve D (MNIT)
agreed, shouldn't segfault in either case From: Andrea Peri Sent: Friday, August 18, 2017 2:22:15 PM To: Lime, Steve D (MNIT) Cc: Dave Barter; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Segfault - LINE layer Hi, I guess the avoid of emp

Re: [mapserver-users] Segfault - LINE layer

2017-08-18 Thread Lime, Steve D (MNIT)
-users [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Dave Barter Lähetetty: 18. elokuuta 2017 16:05 Vastaanottaja: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> Aihe: Re: [mapserver-users] Segfault - LINE layer On 18 Aug 2017, at 13:44, Lime, Steve D (

Re: [mapserver-users] Segfault - LINE layer

2017-08-18 Thread Lime, Steve D (MNIT)
I'd call it a bug. What version? Can you prepare a small test case? From: mapserver-users on behalf of Dave Barter Sent: Friday, August 18, 2017 5:13:29 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Segfault - LINE layer This call:- /usr/lib

Re: [mapserver-users] Fixed positioning

2017-08-08 Thread Lime, Steve D (MNIT)
Yup, it's possible, for example: http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/barter/test.map&mode=map The mapfile is below... MAP NAME 'barter' SIZE 256 256 IMAGECOLOR 255 255 255 EXTENT 0 0 255 255 SYMBOL NAME 'circle' TYPE ELLIPSE

Re: [mapserver-users] XSS vulnerability on the 'layer' parameter of WMTS

2017-08-07 Thread Lime, Steve D (MNIT)
I'd favor the more simple and safer approach. It's not that difficult for the user to validate the layers requested against the GetCapabilties response. MapServer itself does not return the name of the invalid layer, presumably for the exact same reason. Instead you get "msWMSLoadGetMapParams():

Re: [mapserver-users] Wrong about cgi feature parameter

2017-08-01 Thread Lime, Steve D (MNIT)
[mailto:ahmettemi...@gmail.com] Sent: Tuesday, August 01, 2017 3:50 AM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Wrong about cgi feature parameter Thank you Steve for your detailed help. Actually I intended to create polygon using OpenLayers, then

Re: [mapserver-users] rotating a label 90 degrees.

2017-07-31 Thread Lime, Steve D (MNIT)
I can’t think of anything offhand. If using PostGIS could you compute the angle and add 90? I think you could then use attribute binding on the result. Could pre-process data too. Otherwide we’d need an “angleoffset” parameters or something like that. From: mapserver-users [mailto:mapserver-use

Re: [mapserver-users] Wrong about cgi feature parameter

2017-07-31 Thread Lime, Steve D (MNIT)
I was able to get something very similar working, albeit via a straight MapServer CGI call – didn’t try WMS. I noticed in your example you reference two layers poor and polf, is that intended? Request: http://maps1.dnr.state.mn.us/cgi-bin/mapserv72?map=/usr/local/mapserver/apps/test/temiz/tes

Re: [mapserver-users] Using OGL rendering instead of AGG

2017-07-28 Thread Lime, Steve D (MNIT)
The OpenGL render is quite old and hasn't been maintained properly - especially in light of the major graphics refactoring done with 6.x. We should probably deprecate it at this point. Anyway, I don't think you'll have much luck with OpenGL without a good bit of work. I'm not sure that would s

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

2017-07-14 Thread Lime, Steve D (MNIT)
want. All you’re doing is seeding it with feature properties – an extent, centroid and/or attributes… Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D (MNIT) Sent: Friday, July 14, 2017 11:16 AM To: Basques, Bob (CI-StPaul) mailto:bob.basq

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

2017-07-14 Thread Lime, Steve D (MNIT)
srid=200068" Steve From: Basques, Bob (CI-StPaul) [mailto:bob.basq...@ci.stpaul.mn.us] Sent: Thursday, July 13, 2017 10:24 AM To: Lime, Steve D (MNIT) Cc: Stephen Woodbridge ; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Zoom to something and display in one shot from Map

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

2017-07-12 Thread Lime, Steve D (MNIT)
The shpext tag can re-project, format and buffer a shapes extent if that helps. From: Basques, Bob (CI-StPaul) [mailto:bob.basq...@ci.stpaul.mn.us] Sent: Wednesday, July 12, 2017 8:37 AM To: Lime, Steve D (MNIT) Cc: Stephen Woodbridge ; mapserver-users@lists.osgeo.org Subject: Re: [mapserver

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

2017-07-11 Thread Lime, Steve D (MNIT)
You can also do pure mapserver with a query layer and a URL template. It's doing a dynamic redirect but it's a single call from your perspective. You'd have a layer like so: LAYER NAME 'parcel_query' TYPE QUERY DATA 'parcels' VALIDATION qstring '^[0-9]{16}$' # 16-digit pin number E

Re: [mapserver-users] 3D / 2.5D / Coordinates with Z and GEOMETRY Type in WFS

2017-07-10 Thread Lime, Steve D (MNIT)
Maybe to mapserver-dev for a discussion? Could apply the patch (https://github.com/mapserver/mapserver/pull/5456) to 7.2. -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna Sent: Tuesday, July 04, 2017 4:05 PM To: mapserver

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

2017-06-16 Thread Lime, Steve D (MNIT)
This behavior is documented http://mapserver.org/ogc/wfs_server.html and http://mapserver.org/output/ogr_output.html. The latter seems to contradict the documentation on the former that states that OGR output doesn't honor that metadata setting. Steve From: mapserver-users [mailto:mapserver-us

Re: [mapserver-users] calculating min / max scaledenom based on projection

2017-05-11 Thread Lime, Steve D (MNIT)
Scale should be SRS independent in most cases shouldn’t it? The exception being something like epsg:4326 where ground distance varies by latitude. With epsg:4326 MapServer has two options: - The default is using a constant decimal degrees to inches value, I think it’s based at the equ

Re: [mapserver-users] Multi template

2017-05-11 Thread Lime, Steve D (MNIT)
Multiple layers can be referenced in a single template. I pasted in a particularly nasty one below that we use for returning JSON based on a map click for about 30 layers. Any time you see [resultset… that’s a different layer. If a layer isn’t present in a query result then it is omitted from th

Re: [mapserver-users] Allow request in http and https

2017-05-02 Thread Lime, Steve D (MNIT)
Can you use? "wms_onlineresource" "//my-server/" Steve From: mapserver-users on behalf of Andrea Peri Sent: Tuesday, May 2, 2017 7:36:54 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Allow request in http and

Re: [mapserver-users] Multi template

2017-05-01 Thread Lime, Steve D (MNIT)
FORMATOPTION "FILE=" defines the actual MapServer template to use so it's required. FORMATOPTION 'ATTACHMENT=...' sets an HTTP header value that effectively names the file being returned. That's useful when folks save the response to a file otherwise you see long names like "mapserver?my.m

Re: [mapserver-users] Multi template

2017-04-27 Thread Lime, Steve D (MNIT)
My suggestion is the same as before, use OUTPUTFORMATs. You can define a JSON format and a HTML format and process the same layer through both, including simple joins. The exception here is if you're doing one-to-many joins where the join itself requires a template. In that case you're stuck bec

Re: [mapserver-users] Multi template

2017-04-18 Thread Lime, Steve D (MNIT)
You can certainly have multiple templates associated with the same mapfile by using the template output format. See http://mapserver.org/development/rfc/ms-rfc-36.html... Then you can change templates via WMS or via the queryformat CGI parameter. --Steve From: mapserver-users [mailto:mapserver-

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

2017-04-04 Thread Lime, Steve D (MNIT)
MapServer uses the system-level POSIX regex lib available on your system. It's not trying to anything itself... -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andrea Peri Sent: Tuesday, April 04, 2017 10:00 AM To: Rahkonen Jukka (MM

Re: [mapserver-users] OGR Attributes

2017-03-21 Thread Lime, Steve D (MNIT)
Hi Flavio! Which version are you referencing? Is this something that used to work at some poing? Got any sample data? Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Flavio Hendry Sent: Saturday, March 18, 2017 12:53 AM To: ma

Re: [mapserver-users] Mapserver GRID in degrees decimal minutes format

2017-03-10 Thread Lime, Steve D (MNIT)
That would be best I think. From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Pedro Venâncio Sent: Thursday, March 09, 2017 3:37 AM To: Jeff McKenna Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapserver GRID in degrees decimal minutes form

Re: [mapserver-users] reprojecting maximum extent in PHP MapScript

2017-03-10 Thread Lime, Steve D (MNIT)
Do you have a simple dataset and script that illustrates the problem? --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Shorthouse, David Sent: Friday, March 10, 2017 7:39 AM To: mapserver-users@lists.osgeo.org Subject: [mapserv

Re: [mapserver-users] Mapserver GRID in degrees decimal minutes format

2017-03-08 Thread Lime, Steve D (MNIT)
Jeff, should this be considered a bug? --Steve From: mapserver-users [mapserver-users-boun...@lists.osgeo.org] on behalf of Jeff McKenna [jmcke...@gatewaygeomatics.com] Sent: Wednesday, March 08, 2017 4:55 PM To: mapserver-users@lists.osgeo.org Subject: Re

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

2017-03-02 Thread Lime, Steve D (MNIT)
. -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 > > > *From:* Basques,

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

2017-03-02 Thread Lime, Steve D (MNIT)
The yh would have the same effect IF you set xf to "" - you have to overcome the defaults. --Steve From: Basques, Bob (CI-StPaul) [bob.basq...@ci.stpaul.mn.us] Sent: Thursday, March 02, 2017 1:07 PM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists

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

2017-03-02 Thread Lime, Steve D (MNIT)
Try xf=” “… Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Thursday, March 02, 2017 12:40 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] SHPXY output formatting, how can I drop the comma in the X/Y sepa

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

2017-02-23 Thread Lime, Steve D (MNIT)
You certainly can have STYLEs inside labels. I use this to do shields on county roads: CLASS NAME 'County Road' STYLE COLOR 255 255 255 WIDTH 1 MAXWIDTH 1.5 MINWIDTH .75 OUTLINECOLOR 200 200 200 OUTLINEWIDTH 1 END LABEL STYLE # shield SYMBOL

Re: [mapserver-users] Set value_list precision in raster query template

2017-02-02 Thread Lime, Steve D (MNIT)
Those raster attributes are constructed before they are passed to the template so the value list is not a number anymore but rather a delimited string. However, you can process the values independently like so: [item name="value_0" precision="2"],[item name="value_1" precision="2"],[item name

Re: [mapserver-users] Mapfile - filter by parameter - full scan

2017-01-26 Thread Lime, Steve D (MNIT)
You can just put the where clause in the data statement using a sub select using the native SQL of the underlying database. The substitution will work there to and you avoid the translation step from MapServer expressions to native SQL. --Steve From: map

[mapserver-users] MapServer 6.0.6, 6.2.4, 6.4.5 and 7.0.4 are released

2017-01-18 Thread Lime, Steve D (MNIT)
Today the project team released versions 6.0.6, 6.2.4, 6.4.5 and 7.0.4 of MapServer. This is primarily a security release to address CVE-2017-5522. That issue involves a buffer overflow identified by MapServer developers associated with specific WFS get feature requests. All users are encourage

Re: [mapserver-users] Mapserver data point on map

2017-01-06 Thread Lime, Steve D (MNIT)
Are the points displayed? -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of newmapserver Sent: Wednesday, January 04, 2017 8:02 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapserver data point on map Hello and hap

Re: [mapserver-users] variable substitution

2017-01-04 Thread Lime, Steve D (MNIT)
I should also add that you should add anchors (^$) to your validation expression. Just using "[0-9]" will match "111" but also "111; do something nasty in SQL". So "^[0-9]*$" is much better. Steve ____________ From: Lime, St

Re: [mapserver-users] variable substitution

2017-01-04 Thread Lime, Steve D (MNIT)
Actually you don't want the []'s around the substitution as they denote a column reference. '%adrkey%' or %adrkey% should suffice depending on the type of comparison being done. --Steve From: mapserver-users [mapserver-users-boun...@lists.osgeo.org] on be

[mapserver-users] MapServer 6.0.5, 6.2.3, 6.4.4 and 7.0.3 are released

2016-12-05 Thread Lime, Steve D (MNIT)
Today the project team released versions 6.0.5, 6.2.3, 6.4.4 and 7.0.3 of MapServer. This is primarily a security release to address CVE-2016-9839. That issue involves OGR error messages being too verbose in some instances and potentially disclosing sensitive information if the underlying connec

Re: [mapserver-users] Labels moving

2016-11-29 Thread Lime, Steve D (MNIT)
That is normal. Label position is computed based on the clipped geometry. There is a LAYER processing directive called LABEL_NO_CLIP available if you want to avoid that behavior. --Steve ___ From: mapserver-users [mapserver-users-boun...@lists.osgeo.org] on beh

Re: [mapserver-users] PostGIS date queries performance issues

2016-11-18 Thread Lime, Steve D (MNIT)
Tom: There were definitely changes in this area. Can you share the WFS filter plus the resulting SQL in each version. This is the type of thing that should have gotten better in 7.0 as WFS filters are translated more completely into native SQL. It’s possible I introduced an inefficiency in that

Re: [mapserver-users] GetFeatureInfo layout in plain text

2016-11-10 Thread Lime, Steve D (MNIT)
This should be possible. Templates are not limited to HTML output, any text based format should be able to be created. You do this through output formats. Here's an example for plain text: OUTPUTFORMAT NAME 'plain-text' DRIVER 'TEMPLATE' MIMETYPE 'text/plain' FORMATOPTION "FILE=

Re: [mapserver-users] Converting a v5.6 CGI call to v6.0

2016-11-09 Thread Lime, Steve D (MNIT)
Do you get an actual MapServer error? It sounds like you made the right changes relative to the URL. From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Joel Benford Sent: Wednesday, November 09, 2016 10:17 AM To: mapserver-users@lists.osgeo.org Subject: [mapserve

Re: [mapserver-users] [mapserver-dev] MapServer tutorial - symbology

2016-11-07 Thread Lime, Steve D (MNIT)
It's by no means a bad idea - I've thought that a standard set of named colors could also make sense (e.g. COLOR RED). At least for symbols they could be implemented (I think) as a constant hash where the key is the symbol name and the value is a mapfile snippet (e.g. "SYMBOL NAME 'circle' POINT

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

2016-11-04 Thread Lime, Steve D (MNIT)
Steve: A width value can be a double or a reference to an attribute only (an attribute binding). It can't be an expression... You'd need to do that computation elsewhere, obviously easy with a database. Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists

Re: [mapserver-users] arcgis 10.3 enterprise geodatabase

2016-11-03 Thread Lime, Steve D (MNIT)
If GDAL/OGR can handle the format then you’re in luck. I’d check there first… From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapse

Re: [mapserver-users] Layer opacity not working

2016-10-31 Thread Lime, Steve D (MNIT)
What's the requested image type? -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna Sent: Monday, October 31, 2016 1:29 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Layer opacity not working Oh, I *

Re: [mapserver-users] Over-riding the extents based on SQL query.

2016-10-11 Thread Lime, Steve D (MNIT)
Bob: See the “single image mapfile” thread for an example of how this might be done with a combination of query and map requests chained together. --Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Tuesday, October 11, 2016

Re: [mapserver-users] Single image mapfile

2016-10-10 Thread Lime, Steve D (MNIT)
It is possible but it's a two-step process within MapServer. It looks like so (I think): MAP EXTENT [bbox of whole dataset] LAYER NAME 'myraster' TYPE RASTER STATUS OFF ... stuff to draw the raster ... END LAYER NAME 'myfeature' TYPE QUERY STAT

Re: [mapserver-users] Fwd: [Qgis-user] Wrong retrieving of wms legend

2016-09-16 Thread Lime, Steve D (MNIT)
Indeed it does - interesting feature! What does the layer definition for rt_ofc.10k88 look like? -Original Message- From: Andrea Peri [mailto:aperi2...@gmail.com] Sent: Friday, September 16, 2016 9:55 AM To: Lime, Steve D (MNIT) Cc: mapserver-users@lists.osgeo.org Subject: Re

Re: [mapserver-users] Fwd: [Qgis-user] Wrong retrieving of wms legend

2016-09-16 Thread Lime, Steve D (MNIT)
Hi Andrea: I guess I'm not sure exactly what you're asking. With latest/greatest QGIS raster WMS layers (e.g. aerial photos) show up fine in the QGIS legend if I have a KEYIMAGE set in the layer object. --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@list

Re: [mapserver-users] Vector tile support

2016-09-16 Thread Lime, Steve D (MNIT)
or timing. Steve -Original Message- From: Ian Walberg [mailto:ian.walb...@airborne.aero] Sent: Tuesday, September 13, 2016 4:15 PM To: Lime, Steve D (MNIT) ; mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org Subject: RE: Vector tile support Steve, Thanks, let us give this a

Re: [mapserver-users] Vector tile support

2016-09-13 Thread Lime, Steve D (MNIT)
Thomas had posted on the topic almost a year ago: https://lists.osgeo.org/pipermail/mapserver-dev/2015-September/014598.html I don't think there was a great deal of response. I was able to get things compiled and kinda working with the Leaflet MVT client. http://maps2.dnr.state.mn.us/dev/mv

Re: [mapserver-users] mapcache question

2016-08-24 Thread Lime, Steve D (MNIT)
I would think reprojection of individual tiles into another set of tiles that would stitch back together without artifacts would be difficult. I thought MapCache did support native MapServer mode=map as a source which could useful if GDAL supports WMTS and you could create a corresponding MapSer

Re: [mapserver-users] [SOLVED] Re: Filtering NULL values from Postgis Layer in Mapserver 7

2016-08-19 Thread Lime, Steve D (MNIT)
] [SOLVED] Re: Filtering NULL values from Postgis Layer in Mapserver 7 Steve, thank you Lime, Steve D (MNIT) wrote > The filter option is still there - it's just implemented as a processing > option instead. So what was: > > FILTER 'myitem != NULL' > > Become

Re: [mapserver-users] MapServer 7.0 WFS post request using ogc filter

2016-08-19 Thread Lime, Steve D (MNIT)
What does "not work" mean? Is there an error message or are you seeing an incorrect result set? What does the layer definition look like? Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of TMa Teng Sent: Thursday, August 18, 2016

<    1   2   3   4   5   >