Re: [mapserver-users] Rasterlite

2015-01-21 Thread Lime, Steve D (DNR)
If your GDAL build supports the format then there should be a way to access it through MapServer. Key is syntax I'd guess. Maybe something like? LAYER ... TYPE RASTER DATA "RASTERLITE:multirasterdb.sqlite,table=raster1" ... END Steve From: mapserver-users-boun...@lists.osgeo.org [ma

Re: [mapserver-users] Displaying overlapping linestrings

2013-01-24 Thread Lime, Steve D (DNR)
You could try drawing the features with the same base color but with opacity set. The more times the same area is rendered you'd get a different hue. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jan Hartmann Sent: Thursday, Ja

Re: [mapserver-users] apache module - mapserver

2013-01-23 Thread Lime, Steve D (DNR)
There's always the FastCGI option. That will certainly boost performance. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Maes Sent: Wednesday, January 23, 2013 2:10 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-us

Re: [mapserver-users] WFS GetFeature with filter for multiple layers

2013-01-22 Thread Lime, Steve D (DNR)
Are you stuck running such an old version? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Arjen de Korte Sent: Tuesday, January 22, 2013 10:45 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users]

Re: [mapserver-users] apache module - mapserver

2013-01-22 Thread Lime, Steve D (DNR)
Is this functionality documented someplace? I couldn't find anything. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eichner, Andreas - SID-NLKM Sent: Friday, January 18, 2013 3:41 AM To: Peter Maes; mapserve

Re: [mapserver-users] Comparaison date

2013-01-21 Thread Lime, Steve D (DNR)
Filters are passed to the underlying driver and use the syntax of that driver if supported, otherwise they use MapServer expression syntax . Class expressions use the MapServer expression syntax only. There's actually very little reason to use FILTERs when using an RDMS driver, just add it to th

Re: [mapserver-users] how use the expression function "area"

2013-01-08 Thread Lime, Steve D (DNR)
Hi Andrea: In expressions the tag [shape] should be used to reference the current geometry. Many of the drivers don't define a geometry name column (e.g. native shapefiles) so we needed a consistent way to refer to it... So try: EXPRESSION ( (area([shape]) > 1000) ) Steve -Original

Re: [mapserver-users] RE null value renders in pie chart

2013-01-03 Thread Lime, Steve D (DNR)
How about using a regex instead: CLASSITEM 'cri' CLASS EXPRESSION /./ ... END Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of steve.tout...@inspq.qc.ca Sent: Thursday, January 03, 2013 10:57 AM To: steve.tout...@inspq.qc.ca

Re: [mapserver-users] polygon clip/cut off at edge of tile

2012-12-19 Thread Lime, Steve D (DNR)
We'd need more information about your code to help. I can't think of how this would be possible for just straight feature drawing. Labels are another matter. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ghazale Harati Nezhad

Re: [mapserver-users] Retrieve function values from Postgres

2012-12-13 Thread Lime, Steve D (DNR)
I believe anything you can stuff in a DATA statement using SQL is legitimate. From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Heiko Schröter [schro...@iup.physik.uni-bremen.de] Sent: Tuesday, December

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-12-13 Thread Lime, Steve D (DNR)
Label expressions might turn out to be useful here. Just thinking out loud... I mean we might be able to extend things and define expressions where you can write tests like the intersecting a label bbox against the parent shape. Expressions with multiple labels work like classes and are executed

Re: [mapserver-users] MapServer 6.2: SIZEUNITS meters - Legend OUTLINE is too big

2012-12-11 Thread Lime, Steve D (DNR)
The SIZEUNITS are applied based on a computed cellsize for a map request- there is a conversion from meters to pixels based on an extent/image size. Without that same context I don't see how the legend can possibly match the map. Can you pass extent and image size as part of a getLegendGraphic r

Re: [mapserver-users] MapServer and 24bit Images

2012-12-07 Thread Lime, Steve D (DNR)
m] Sent: Friday, December 07, 2012 8:36 AM To: Lime, Steve D (DNR); mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] MapServer and 24bit Images Hi Steve, Thanks for the information. Basically I want only to display the layer (as WMS service) in the browser for testing or a real client.

Re: [mapserver-users] Zooming

2012-12-04 Thread Lime, Steve D (DNR)
You could write a onClick handler that takes a zoom value, sets a hidden variable called zoom and submits the form. function doZoom(zoom) { // set value of zoom hidden variable // submit the form } Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto

Re: [mapserver-users] MapServer and 24bit Images

2012-12-04 Thread Lime, Steve D (DNR)
I display true-color imagery all the time. I suspect that's not what you're trying to do though. You'll have to be more specific on format, perhaps post a layer definition? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osge

Re: [mapserver-users] Problem with attribute query, multiple attributes

2012-11-29 Thread Lime, Steve D (DNR)
Honestly I don't think an index is going to help unless the attribute filter is being passed to OGR processing. I'm not familiar enough with that driver to know if that's done or not. Usually attribute queries are written a form the driver understands. For PostGIS that means a bit of a where cla

Re: [mapserver-users] EXPRESSION error with MapServer 6.2

2012-11-29 Thread Lime, Steve D (DNR)
Hmmm... Seems like bug. There weren't any major changes to the EXPRESSION code but I imagine at least small modifications were made. I have access to similar data here, let me try a local test. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-use

Re: [mapserver-users] Compatibility between mapserver versions: nquery issue

2012-11-26 Thread Lime, Steve D (DNR)
The nquery mode is still supported, that hasn't changed. The error message is fairly informative, what are your templates named? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Arthur Delorme Sent: Mond

Re: [mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-25 Thread Lime, Steve D (DNR)
For completeness in a template you can use the item tag, e.g.: [item name="foo" precision="2"] There is also a commify option to make big numbers look nicer. (e.g. 2,123.23) Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@

Re: [mapserver-users] SDE 10.x support...

2012-11-14 Thread Lime, Steve D (DNR)
? Alan On 12-11-01 03:57 PM, Lime, Steve D (DNR) wrote: > Hi all: Has anyone successfully used the SDE 10.x client libs with > MapServer 6.0+? Compiles ok but I've had no luck actually using SDE layers. > > Steve > > *StEVE LIME | *DATA & Applications MANAGER > &

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

2012-11-14 Thread Lime, Steve D (DNR)
And on GIS Day no less… nice timing. Fabulous work by all those that contributed code. A special shout out to Thomas for handling the release manager role. Thanks everyone! Steve From: mapserver-dev-boun...@lists.osgeo.org [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of thomas bonf

Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread Lime, Steve D (DNR)
Not sure about clustering, but there may be other options as well: You might be able to simply use POSITION AUTO and give these labels a high priority. MapServer will place them. If you need markers in this case you'll need to draw those separately to avoid marker collisions. So, one layer for

Re: [mapserver-users] PHP run-time substitute CGI parameter problem

2012-11-09 Thread Lime, Steve D (DNR)
Substitution is only done via the CGI. If you're using MapScript just change the value directly. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of akoel [ak...@freemail.hu] Sent: Friday, November 0

Re: [mapserver-users] getfeature problem

2012-11-05 Thread Lime, Steve D (DNR)
Man are the docs out-of-date in this regard. See RFC 65 for an example, see the Proposed Technical Changes section (it's much simpler in 6.x)... http://mapserver.org/development/rfc/ms-rfc-65.html I'll get some documentation tickets in place to address the documentation shortcomings. Steve

Re: [mapserver-users] MapServer Layer Filter not applying to WFS

2012-11-05 Thread Lime, Steve D (DNR)
One other idea. I believe you can avoid using OGR by adding your filter to class expressions and setting a template (which enables queries) at the class level. Class expressions are always checked. If you have one class it's easy: LAYER NAME Traseer GROUP TelMe TYPE LINE DATA

Re: [mapserver-users] MapServer Layer Filter not applying to WFS

2012-11-05 Thread Lime, Steve D (DNR)
This is known issue, but it's a bigger deal with shapefiles. The WFS filters essentially replace the defined filter, they are not additive. This is true for all drivers. This would need to be an enhancement, but It would be tricky to do so I think given the variety of filter types. With RDBMS y

[mapserver-users] MapCache (6.2) Backwards Compatability

2012-11-02 Thread Lime, Steve D (DNR)
Trying to test the new version of mapcache, specifically the seeder, against a slightly older mapcache configuration file. I'm seeing an error like: "metatile size is not set to a power of two, rerun with e.g -M 8,8" It's true that the tilesets in my config file have metatile set to 5,5. I d

Re: [mapserver-users] More Labels on a layer

2012-10-30 Thread Lime, Steve D (DNR)
A feature can only match 1 class... 6.2 supports multiple labels per class though. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Andrea Peri [aperi2...@gmail.com] Sent: Tuesday, October 30, 20

Re: [mapserver-users] Layer Query

2012-10-29 Thread Lime, Steve D (DNR)
Your syntax looks off. Below a snippet (in Perl) from RFC 65 (http://www.mapserver.org/development/rfc/ms-rfc-65.html). It applies generally to all languages. my $rect = new mapscript::rectObj(42, 512, 582000, 520); $layer->queryByRect($map, $rect); # layer is left open after this op

Re: [mapserver-users] Retrieve in template the coord pixel of click

2012-10-24 Thread Lime, Steve D (DNR)
eport back. Steve From: Andrea Peri [aperi2...@gmail.com] Sent: Wednesday, October 24, 2012 8:24 AM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Retrieve in template the coord pixel of click Thx for response. Unfort

Re: [mapserver-users] Retrieve in template the coord pixel of click

2012-10-24 Thread Lime, Steve D (DNR)
imgxy? From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Andrea Peri [aperi2...@gmail.com] Sent: Wednesday, October 24, 2012 3:10 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Retrieve in temp

Re: [mapserver-users] 8 bit versus 24 bit output in MapServer 6.x

2012-10-23 Thread Lime, Steve D (DNR)
Have you tried pre-computing image palettes? I've had some very good luck with rendering 24-bit PNGs and then running them through a pre-computed palette (there's an output format option for this). To do this I create a couple representative sample images using MapServer with 24-bit PNG output.

[mapserver-users] FW: [OSGeo-Discuss] News: NASA World Wind Selects MapServer as Engine

2012-10-17 Thread Lime, Steve D (DNR)
Cool news... Steve -Original Message- From: discuss-boun...@lists.osgeo.org [mailto:discuss-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna Sent: Wednesday, October 17, 2012 9:29 AM To: osgeo Subject: [OSGeo-Discuss] News: NASA World Wind Selects MapServer as Engine (I think this pres

Re: [mapserver-users] Echo PHP in a query template?

2012-10-07 Thread Lime, Steve D (DNR)
Definitely not something done in MapServer proper. However, I thought with Apache you could do some process chaining/filtering. You might look at the various Apache modules (mod_filter is one) and see if there's anything there. Steve From: mapserver-users-boun..

Re: [mapserver-users] Starting label from start-line

2012-09-27 Thread Lime, Steve D (DNR)
Steve, I don't think this is possible. The GEOMTRANSFORM is a style-level option geared towards adding arrow heads and stuff like that. It has no bearing on labeling. We'd need a label origin or something like that and I don't know of a way to do that. One thing to try would be using the REPEAT

Re: [mapserver-users] WMS works, WFS doesn't

2012-09-26 Thread Lime, Steve D (DNR)
I though the ows_enable... metadata was a 6.x addition and you're at 5.6.5. I thought you needed "DUMP TRUE" in the layer definition to allow WFS feature export. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org]

Re: [mapserver-users] problem with line and percentage

2012-09-25 Thread Lime, Steve D (DNR)
What happens if you don't have an -100 percent value? From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Andrea Peri [aperi2...@gmail.com] Sent: Tuesday, September 25, 2012 5:31 AM To: mapserver-users@lists

Re: [mapserver-users] MODE=legendicon & GROUP Layers

2012-09-07 Thread Lime, Steve D (DNR)
Legend icon only works with layers. Groups are just too ambiguous to uniquely identify the class to be rendered. Groups don't have to be organized by scale ranges. Often they link related layers, for example a bunch of road feature types. I think It would be possible to add support to see if a

Re: [mapserver-users] retrieve map coordinates with different EPSG

2012-09-07 Thread Lime, Steve D (DNR)
Assuming you're sending the request in pixels, along with a map extent, MapServer will convert the point based on the SRS of the extent you passed. I'm thinking that won't get you what you want and I'm not sure of a way to do so. The various extent tags have projection capabilities built in but

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-09-04 Thread Lime, Steve D (DNR)
k you for the answer. A little screenshot shows an example with two label points inside one polygon and one polygon without a label point at all. Perhaps we could have more accurate polygon label positioning on our wish list. -Jukka Rahkonen- Lime, Steve D (DNR) wrote: > Aihe: RE: [mapserver

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-09-04 Thread Lime, Steve D (DNR)
Yes, still impossible. POSITION CC + MINFEATURESIZE AUTO will get you close. However, MINFEATURESIZE AUTO uses bounding box checks and doesn't intersect a feature geometry with its label geometry. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-27 Thread Lime, Steve D (DNR)
What version of flex do you have installed? --Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Luís de Sousa Sent: Monday, August 27, 2012 2:26 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-us

Re: [mapserver-users] Different image for each point

2012-08-23 Thread Lime, Steve D (DNR)
You can't do expressions as originally discussed but you can use attribute binding. This requires the image file name be in a single attribute. Syntax is: SYMBOL [FILENAME] # no quotes This basically creates symbols at runtime so the images are cached based on filename I believe. Steve ---

Re: [mapserver-users] how to add a time stamp on raster data

2012-08-21 Thread Lime, Steve D (DNR)
What version? What interface? Looking at the code, at least for 6.2+, class text is a candidate for substitution. Steve From: Peisheng Zhao [zha...@hotmail.com] Sent: Tuesday, August 21, 2012 4:16 PM To: Lime, Steve D (DNR); users mapserver Subject: RE

Re: [mapserver-users] how to add a time stamp on raster data

2012-08-21 Thread Lime, Steve D (DNR)
Probably, you'd do it through an annotation layer. What version are you using? What interface (CGI, WMS, WCS)? Basically the idea would be to funnel the time parameter into a TEXT expression in the annotation layer. Layer would look like (assuming a variable called 'time' is passed) this I think

Re: [mapserver-users] Are WMS GetFeatureInfo results ordered by distance?

2012-08-17 Thread Lime, Steve D (DNR)
Order is determined by the order of the features in the underlying data source. To do what you suggest, a good idea BTW, we'd need to change things a bit: - need to log distance computation - need to develop a sort utility - need to alter certain query code to apply a feature count at the v

Re: [mapserver-users] clickable POI's

2012-08-14 Thread Lime, Steve D (DNR)
You can also integrate with Google Maps or any number of other free and commercial services (assuming the terms of service are ok). Really, there are loads of options but it's hard to be specific without knowing more about your requirements, data, etc... Steve From: mapserver-users-boun...@lis

Re: [mapserver-users] php mapscript querymap doesnt highlight

2012-08-14 Thread Lime, Steve D (DNR)
How are you creating the image in your code? I mean, what does the code that does the query and generate a query map look like? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jessica Clarke Sent: Tuesday, August 14, 2012 12:27 AM

Re: [mapserver-users] Mapserver ignores classgroup parameters for raster layers?

2012-08-10 Thread Lime, Steve D (DNR)
I believe this has been fixed in 6.2. Can you try the latest beta? --Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Helen San Segundo Navazo Sent: Friday, August 10, 2012 2:42 AM To: mapserver-users@lis

Re: [mapserver-users] issue when upgrading layer from 5.x to 6.0

2012-08-07 Thread Lime, Steve D (DNR)
Nothing jumps out. Are you using INCLUDES or and external symbol file? Wonder if the line number is off or referencing another file. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Mark Volz [ma

Re: [mapserver-users] getShape failing; changes from mapserver 5.6 to 6.0

2012-08-06 Thread Lime, Steve D (DNR)
users@lists.osgeo.org Cc: Lime, Steve D (DNR) Subject: Re: [mapserver-users] getShape failing;changes from mapserver 5.6 to 6.0 Thanks a lot, Steve. However, I had tried this out before, but "getResult($)"? I think this is Perl, no? In PHP this would be different? Sorry for

Re: [mapserver-users] Basic Templating

2012-08-03 Thread Lime, Steve D (DNR)
If you're using templates to present query results the template should be referenced in a layer. TEMPLATE in the web object is for mode=browse only and is generally not used much anymore. What does your query URL look like? The template you pasted below doesn't look to contain any references to

Re: [mapserver-users] Mapserver Template - Conditionals

2012-08-03 Thread Lime, Steve D (DNR)
Hi Donald: To answer your questions... 1. You can't do an AND with [item ...] tags. They are single item only. We'd really need to introduce true conditionals into the templates. It's done a bit for legend templates but I don't know how much work is necessary to extend that. One work around ide

Re: [mapserver-users] getShape failing; changes from mapserver 5.6 to 6.0

2012-08-03 Thread Lime, Steve D (DNR)
The query code underwent major changes between 5.6 and 6.0 and one casualty was query processing like you're doing. On the bright side it's much more straight forward now. The general steps for a layer-based query is now just: $layer->queryByRect($map, $rect); # layer is left open after a query

Re: [mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Lime, Steve D (DNR)
The mapfile is loaded into memory and then MapScript acts upon those structures. The original is unchanged. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya Tiramdasu Sent: Thursday, August 02, 2012 4:10 PM To: 'Mapserver-u

Re: [mapserver-users] Отв.: how to use attribute name in template with "_"

2012-08-02 Thread Lime, Steve D (DNR)
Item names are case sensitive so try [OGC_FID] or try the [item …] tag, e.g.: [item name=’ogc_fid’] Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of alexkartatem...@yahoo.com Sent: Wednesday, August 01, 2012 6:49 AM To: Donald

[mapserver-users] FOSS4G North America 2013

2012-07-25 Thread Lime, Steve D (DNR)
May 22-24, 2013 FOSS4G North America 2013 Marriott City Center Minneapolis, MN - USA Today the 2013 FOSS4G North America Conference Committee announced that the 2013 FOSS4G North America Conference

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Lime, Steve D (DNR)
Wonder if [rawext] will work? Worth a quick try but I doubt it. That value will get you the un-altered extent used for map draws or queries but only through CGI calls. I think what's happening is that because WFS works generally outside the CGI object that that some of the tracking variables re

Re: [mapserver-users] Can Map Server serve non WMS services?

2012-07-20 Thread Lime, Steve D (DNR)
We would have to know more about what the extensions do and how they are implemented to comment more in detail. There are certainly options. For example, you could use MapScript OWS support and develop a custom service that way. Another option would be to use GetFeatureInfo request paired with

Re: [mapserver-users] mapserver crash on wfs query, looks like issue 4166, could someone confirm ?

2012-07-17 Thread Lime, Steve D (DNR)
Just a bbox query like the ticket referenced? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Oliver Christen Sent: Tuesday, July 17, 2012 7:09 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] mapserver crash on w

Re: [mapserver-users] mapserver tickets - unable to add

2012-07-17 Thread Lime, Steve D (DNR)
Hi Mark: We've moved from trac to github. All tickets were moved too. Visit http://github.com/mapserver to get started. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz Sent: Tuesday, July 17, 2012 9:56 AM To: MapserverL

Re: [mapserver-users] Mapserver docs and i18n

2012-07-10 Thread Lime, Steve D (DNR)
What's the status on this one? I see the pull request is still open. Not sure how this impacts branch-6-2 or the master... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Yves Jacolin (Free) Sent: Thur

Re: [mapserver-users] One template for every text type

2012-07-09 Thread Lime, Steve D (DNR)
es via the [resultset] tag. Steve From: Andrea Peri [mailto:aperi2...@gmail.com] Sent: Monday, July 09, 2012 5:15 AM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] One template for every text type Hi Steve, thx for hint. I read the doc and also the RFC 36.

Re: [mapserver-users] mapserver fastcgi warnings when msQueryByPoint() Search returns no results

2012-07-09 Thread Lime, Steve D (DNR)
Not a fcgi expert, but looking at the code any error calls writeError() in mapserv.c which ends with exit(0). So as written the behavior you're seeing is expected. I don't believe there is much overhead with restarting though. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserv

Re: [mapserver-users] One template for every text type

2012-07-06 Thread Lime, Steve D (DNR)
Hi Andrea: You can define multiple output formats that use the template driver. They can each have different names and mime-types. You can even use mime subtypes if you needed, say, two XML formats. The MapServer CGI supports a parameter called qformat that allows you to change the query templat

[mapserver-users] Template Questions (was How to get layer name in an identify template?)

2012-07-06 Thread Lime, Steve D (DNR)
es. Perhaps this can be made clearer in the docs. Steve From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: Friday, July 06, 2012 10:19 AM To: Lime, Steve D (DNR); 'Bistrais, Bob'; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] How to get layer name in an identif

Re: [mapserver-users] How to get layer name in an identify template?

2012-07-06 Thread Lime, Steve D (DNR)
There are two references: 1) http://mapserver.org/mapfile/template.html has all the substitution tag references. 2) http://mapserver.org/output/template_output.html documents templated output formats. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun

Re: [mapserver-users] How to get layer name in an identify template?

2012-07-05 Thread Lime, Steve D (DNR)
What do your query strings look like? - Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Bistrais, Bob [bob.bistr...@maine.gov] Sent: Thursday, July 05, 2012 2:01 PM To: mapserver-users@lists.osgeo.org Sub

Re: [mapserver-users] will Mapserver ever support SLD inside Mapfile?

2012-06-22 Thread Lime, Steve D (DNR)
Hi Giovanni: Inline SLD has been talked about and was on the roadmap for 6.0 I believe. Sadly it didn't get done for that release and out resident SLD expert has had precious little time to spend on the project in recent months. I think it's going to take a particularly motivated developer or u

Re: [mapserver-users] Period in a getmap with time dimension

2012-06-19 Thread Lime, Steve D (DNR)
I'm not aware of plans to handle this. It's going to take a developer or a user with interest and energy. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Marc-André Trottier Sent: Friday, June 15, 2012 10:49 AM To: mapserver-use

Re: [mapserver-users] show only classes in legend within current extent

2012-06-18 Thread Lime, Steve D (DNR)
Nope. It's not a very hard problem, but it's computationally expensive. My thought is that we'd have to add class counters to the legendObj and populate them during a map draw. That means for mode=legend you'd also have to draw a map or at least mimic it. Steve -Original Message- From:

Re: [mapserver-users] Map Not Available at This Scale Image

2012-06-14 Thread Lime, Steve D (DNR)
Why not a layer with STATUS DEFAULT but a MAXSCALE value that kicks in when your other data runs out? From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: Thursday, June 14, 2012 4:07 PM To: Lime, Steve D (DNR); 'MAPSERVER USERS' Subject: RE: [mapserver-users] Map Not Available at

Re: [mapserver-users] Map Not Available at This Scale Image

2012-06-14 Thread Lime, Steve D (DNR)
Couple of options. 1) You can create a layer that displays that text in the middle of the map and have it turn on below a certain scale. If doing tiling w/meta-tiling you'd want draw the text the same number of times as you have meta-tiles. That would take some mucking about but it's doab

Re: [mapserver-users] Anaimated images as map sources

2012-06-12 Thread Lime, Steve D (DNR)
gh MapServer. I guess it wouldn't surprise me if GDAL considered individual frames as bands. Maybe that's the way to think about. Steve From: Basques, Bob (CI-StPaul) Sent: Tuesday, June 12, 2012 4:18 PM To: Lime, Steve D (DNR) Subject: RE: Anaimated images as map sources Hi Steve, So

Re: [mapserver-users] Anaimated images as map sources

2012-06-12 Thread Lime, Steve D (DNR)
Not that I'm aware of. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Tuesday, June 12, 2012 4:02 PM To: mapserver-us...@osgeo.org Subject: [mapserver-users] Anaimated images as map sources All, Can Map

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Lime, Steve D (DNR)
Yup, damn typos... -Original Message- From: Puneet Kishor [mailto:punk.k...@gmail.com] Sent: Tuesday, June 12, 2012 10:49 AM To: Lime, Steve D (DNR) Cc: Richard Greenwood; mapserver Subject: Re: [mapserver-users] Regular expression error On Jun 12, 2012, at 10:11 AM, "Lime, St

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Lime, Steve D (DNR)
FILTER "ogc_fid=%ogc_fid%" That's a lot cleaner. Steve -Original Message- From: Richard Greenwood [mailto:richard.greenw...@gmail.com] Sent: Tuesday, June 12, 2012 9:35 AM To: Lime, Steve D (DNR) Cc: mapserver Subject: Re: [mapserver-users] Regular expression error If

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Lime, Steve D (DNR)
What value are you trying to validate? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Tuesday, June 12, 2012 9:26 AM To: mapserver Subject: [mapserver-users] Regular expression error I

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Lime, Steve D (DNR)
Issues are created via Github, see: https://github.com/mapserver/mapserver/issues Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of StevenHin [steven_...@golder.com] Sent: Monday, June 11, 2012

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Lime, Steve D (DNR)
I can replicate the behavior locally. Seems like a bug to me... Will investigate. Could I trouble you to create a ticket? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of StevenHin Sent: Thursday, June 0

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Lime, Steve D (DNR)
What are the UNITs set to with "proj=ortho"? -Original Message- From: Ian Walberg [mailto:ian.walb...@airborne.aero] Sent: Friday, June 08, 2012 7:19 PM To: mapserver-users@lists.osgeo.org Cc: Lime, Steve D (DNR) Subject: RE: [mapserver-users] RE: Circles around points in m

Re: [mapserver-users] Mapserver/PostGIS Faster Initial Load Time

2012-06-08 Thread Lime, Steve D (DNR)
whatever using cron or the Windows equivalent. I'm not experienced enough with PostGIS to know if there's any tuning to do there. Maybe others have ideas. Steve From: Donald Kerr [donald.k...@dkerr.co.uk] Sent: Friday, June 08, 2012 9:16

Re: [mapserver-users] Mapserver/PostGIS Faster Initial Load Time

2012-06-08 Thread Lime, Steve D (DNR)
Where/how are you measuring times (server/client)? From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Donald Kerr [donald.k...@dkerr.co.uk] Sent: Wednesday, June 06, 2012 2:35 PM To: 'mapserver-users' Subj

Re: [mapserver-users] 6.0.2 International Dateline Layer with HATCHED Symbol Causes Hanging Processes

2012-06-08 Thread Lime, Steve D (DNR)
I agree, please create a ticket along with a simple test case. -Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of AngeloH [angelo.harps...@gmail.com] Sent: Thursday, June 07, 2012 7:04 PM To: mapser

Re: [mapserver-users] MapServer with Geodatabases

2012-06-06 Thread Lime, Steve D (DNR)
I've used MapServer via/OGR with the newish File GeoDatabase format and it does work. It's just markedly slower than using straight shapefiles and/or PostGIS. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob Sent: We

Re: [mapserver-users] Scripted geoprocessing

2012-06-05 Thread Lime, Steve D (DNR)
Hi Sam: MapScript does have GEOS functions built into it so you might be able to use just those. I remember doing something along these line using Perl MapScript. I don't have the script handy but I think I used a hash of shapes based on the attribute value in question. For each shape you simple

Re: [mapserver-users] GetStyles SLD does not include Opacity value

2012-06-05 Thread Lime, Steve D (DNR)
Hi Joanne: What happens if you move the opacity into the class style? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of myOpenLayersUName Sent: Tuesday, June 05, 2012 9:32 AM To: mapserver-users@lists.osge

Re: [mapserver-users] AGG: Internal vs. External

2012-06-05 Thread Lime, Steve D (DNR)
MapServer ships with AGG and it's built by default. I believe in 6.0 the "PNG" output format references GD. If you want to use AGG try "PNG24" instead or roll your own OUTPUTFORMAT block. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-bou

Re: [mapserver-users] GetStyles SLD does not include Opacity value

2012-06-04 Thread Lime, Steve D (DNR)
Are we missing a few things like the response and the mapfile snippet? Also are you talking layer opacity or style opacity? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of myOpenLayersUName Sent: Monday

Re: [mapserver-users] Shift of half a pixel

2012-06-04 Thread Lime, Steve D (DNR)
What version are you talking about? How do you know there is a shift? That is, what is your reference? Is it possible there's a difference in the bounding box model? For WMS the bbox represents the outside dimensions of the pixels in an image. Steve Note: MapServer uses a pixel center bbox mod

Re: [mapserver-users] multiple query layers

2012-06-04 Thread Lime, Steve D (DNR)
If you're not using queryable layers with "STATUS DEFAULT" then you can just use the normal layer or layers parameter. Of course the workaround mentioned in the referenced ticket is still valid. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org]

Re: [mapserver-users] Border style of polygon

2012-05-29 Thread Lime, Steve D (DNR)
Created a documentation ticket: https://github.com/mapserver/mapserver/issues/4332 Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Denis Rykov Sent: Tuesday, May 29, 2012 10:39 AM To: thomas bonfort Cc: mapserver-users@lists.os

Re: [mapserver-users] Border style of polygon

2012-05-29 Thread Lime, Steve D (DNR)
The geomtransform Thomas mentions below is currently supported. It was added as part of RFC 64. Give it a try... RFC 72 will likely be in the next release. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf

Re: [mapserver-users] Fwd: collect value from xml and show it in html template

2012-05-28 Thread Lime, Steve D (DNR)
You might be be able to use AJAX to access the XML and parse it using JavaScript. That's one idea. You could also consider offline parsing of the XML. For example a cron job could be run every so often to extract the necessary value into a text file. You could then include that value into templ

[mapserver-users] RE: legend not visible with maxscaledenom set

2012-05-25 Thread Lime, Steve D (DNR)
How are you creating the legend? One work-around would be to fake a map associated with a call to create a legend. That is, set EXTENT and SIZE to values that would generate a computed scale below your MaxScaleDenom. I've done that when using mode=legend where you set mapext and mapsize as neede

RE: [mapserver-users] CLASS NAME Runtime substitution Variable

2012-05-25 Thread Lime, Steve D (DNR)
Hi Steve: Have you tried just tagging &map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE on to a GetLegendGraphic request? Supporting runtimes for name isn't a technical issue, just hasn't been asked for... Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun

[mapserver-users] RE: How to do a static text label

2012-05-21 Thread Lime, Steve D (DNR)
See the TEXT class variable. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob Sent: Monday, May 21, 2012 10:19 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] How to do a static text label I'm tryin

RE: [mapserver-users] any answer for this question

2012-05-19 Thread Lime, Steve D (DNR)
Set a *vector* layer that places the text you're interested in with a MAXSCALEDENOM that matches the MINSCALEDENOM of your raster layer. You might have to play with it a bit to deal with tiling. Steve From: mapserver-users-boun...@lists.osgeo.org [mapse

RE: [mapserver-users] Mapfile verification tool

2012-05-15 Thread Lime, Steve D (DNR)
Shp2img already provides this capability and is more portable than MapScript. I think ideally we'd develop a validator that spits out all errors but that's probably not possible either since many common error states (like a missing END or quote) will trigger a whole bunch of false positives. B

RE: [mapserver-users] Mapfile verification tool

2012-05-15 Thread Lime, Steve D (DNR)
Other than using shp2img or one of the other command-line executables I'm afraid there isn't a validator. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Alberto Najera Sent: Monday, May 14, 2012 8:35 P

  1   2   3   4   5   >