Re: [mapserver-users] Include data extents in WFS layer

2014-06-30 Thread Martin Kofahl
rg [mailto: > mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Martin Kofahl > *Sent:* Friday, June 27, 2014 4:46 PM > *To:* mapserver-users@lists.osgeo.org > *Subject:* Re: [mapserver-users] Include data extents in WFS layer > > > > Hi Tom, > > you should ha

Re: [mapserver-users] Include data extents in WFS layer

2014-06-27 Thread Martin Kofahl
Hi Tom, you should have an gml:boundedBy xml element in the wfs GetFeature response which represents the extent of the returned features. Kind regards, Martin 2014-06-27 16:16 GMT+02:00 Tom : > Hi folks, > > > > Do you know if it is possible to include the extents of the data in a WFS > response

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Martin Kofahl
Consider also the setting wms/wfs/ows_enable_request "*" to enable/disable a specific layer for wms or wfs. Martin 2014-06-13 14:31 GMT+02:00 Jörg Thomsen : > Hi Paul, > > Am 13.06.2014 14:20, schrieb Malm Paul: > > Hi list! > > > > Is it possible to combine configuration for both WFS and WMS in

Re: [mapserver-users] gml_[item name]_precision for GeoJSON WFS

2014-03-10 Thread Martin Kofahl
Hello, did you set gml_ID_type "Real"? Kind regards, Martin 2014-03-10 5:35 GMT+01:00 TC Haddad : > > Hello, I'm trying to use "gml_[item name]_precision" and having trouble. > I've tried: > > gml_ID_precision 0 > > which fails with "getString(): Symbol definition error. Parsing error near >

Re: [mapserver-users] WFS GetFeature 1.0.0 vs 1.1.0

2014-02-21 Thread Martin Kofahl
rship map" > "wms_title" "VLASNICKA KARTA" > "wms_srs" "EPSG:31275" > "wfs_title" "VLASNICKA KARTA" > "wfs_srs" "EPSG:31275" > "gml_include_items" "kc_broj,povrsina,vla

Re: [mapserver-users] WFS GetFeature 1.0.0 vs 1.1.0

2014-02-20 Thread Martin Kofahl
XMLSchema-instance";> typeName="ms:katastar_vodnjan_poligon" srsName="EPSG:900913" xmlns:ms=" > http://gis.kermas-istra.com";>http://www.opengis.net/ogc";> singleChar="." > escapeChar="!">NUMBER19/1 > > thanks,

Re: [mapserver-users] WFS GetFeature 1.0.0 vs 1.1.0

2014-02-18 Thread Martin Kofahl
Hi Dejan, can you please post the get or post request made by openlayers for both, version 1.1.0 and 1.0.0? Martin 2014-02-18 11:37 GMT+01:00 Dejan Gambin : > Hi, > > I have been using MapServer 6.0.3 for a while. My client application > worked well with WFS 1.1.0 protocol. Here is the part of

Re: [mapserver-users] One table with multiple GeometryColumns

2014-01-27 Thread Martin Kofahl
Hi Jiří, what about variable substitution? Something like "the_geom from (select the_geom%srs% as the_geom from ...) as foo" may be worth a try. Kind regards, Martin 2014/1/27 Jiří Kadlec > Dear mapserver forum, > > In my PostGIS database I have a table 'lakes' with 3 geometry columns: > the_

Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses

2013-11-28 Thread Martin Kofahl
Lars, can you try to run the request from command line in order to rule out a connection between iis and mapserser. See http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi for an how-to. From command prompt you should be able to run somethin like X:\yz\mapserv64.exe -nh "QUERY_ST

Re: [mapserver-users] no results for wfs getfeature request

2013-04-15 Thread Martin Kofahl
Holger, your request contains PropertyIsLike conditions only. So I don't expect the filter to be the source of the error. What about a querystring like "SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=flst_gdsrvt01&maxFeatures=1" and WFS 1.1.0? Do these requests return any results or errors?

Re: [mapserver-users] no results for wfs getfeature request

2013-04-13 Thread Martin Kofahl
Holger, can you post the full request sent to MapServer? Martin 2013/4/13 > Hi all! > > Since we moved from mapserver 5.6.3 to 6.2.0 our WFS 1.0.0 getfeature > requests do not work any more. We always get an empty result although the > logged sql statement returns one record when executed dire

Re: [mapserver-users] MapCache and WMS source with Basic Auth

2013-04-12 Thread Martin Kofahl
According to http://mapserver.org/mapcache/config.html you can simply add the athorization header to the http section: Basic [base64_encoded value from name,password] You may use http://www.base64encode.org/ to encode your Username and Password, written as username,p

Re: [mapserver-users] MapServer .map file security question

2013-02-19 Thread Martin Kofahl
Hello, with Apache you can set MS_MAPFILE pointing to the desired mapfile and MS_MAP_NO_PATH in order to disallow overriding it with &map= in the url. Using this, you even don't have to use &map= at all. Kind regards, Martin 2013/2/19 Mark Volz > Hi, > > I have a server that I would like to ru

Re: [mapserver-users] mapcache: How can I configure an attributionlayer with mapcache?

2013-02-14 Thread Martin Kofahl
Hi Ariane, you may configure to add a watermark (from png file, etc) in the tileset section. See http://mapserver.org/en/mapcache/config.html. /path/to/static/watermark.png Martin 2013/2/14 Ariane Brörmann > Is there a possibility to add an attributionlayer (copyright) with > mapcache? > If

Re: [mapserver-users] QGIS vs Mapserver someone use wrong scale ?

2013-02-14 Thread Martin Kofahl
Hi Andrea, the inaccuracy may rest upon the resolution defined in your mapfile. By default, MapServer uses RESOLUTION 72, I think. This is not quite correct for OGC WMS, because this standard assumes a pixelsize of 0.28 x 0.28 mm² which is ~90.7 dpi. Not sure if you can set floating point resolutio

Re: [mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble

2013-01-31 Thread Martin Kofahl
Hi Jukka, the mapaxisorder.csv was introduced with the axis order requirements of WMS 1.3.0/INSPIRE and is still a poor workaround to get things working. Accordning to [1] proj4 now supports an +axis parameter. Using the epsg file with +axis seems quite worthwhile to me, much better than an own lis

Re: [mapserver-users] WFS Server - GetCapabilities : Wrong WGS84BoundingBox

2012-12-19 Thread Martin Kofahl
Ludovic, can you please check the BBOX you said to be correct? According to your mail EPSG:27562 BBOX 856234 15002 977228 165832 should be transformed to WGS84 5.59081 45.0235 7.27355 46.4437. What about 5.59118 45.0322 7.2442 46.4436? This is what ogr2ogr tells me. In case you can confirm this

Re: [mapserver-users] WFS Server - GetCapabilities : Wrong WGS84BoundingBox

2012-10-18 Thread Martin Kofahl
Hi Ludovic, I filed a ticket for this issue. https://github.com/mapserver/mapserver/issues/4498. Thank you Martin Original-Nachricht > Datum: Tue, 16 Oct 2012 09:13:03 -0700 (PDT) > Von: Ludovic Gnemmi > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] WFS Se

Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Martin Kofahl
Hi Donald, didn't actually try myself, but what about the tags [minx], [miny], [maxx], [maxy] or [shpminx], [shpminy], [shpmaxx], [shpmaxy] mentioned at http://mapserver.org/mapfile/template.html? Kind regards, Martin Original-Nachricht > Datum: Tue, 24 Jul 2012 10:56:41 +010

Re: [mapserver-users] wms_bbox_extended "true" only works with < 15 EPSG code definitions

2012-07-17 Thread Martin Kofahl
Hi Astrid, please update your proj4 lib, see http://trac.osgeo.org/proj/ticket/100. Martin Original-Nachricht > Datum: Tue, 17 Jul 2012 21:26:39 - > Von: "Astrid Emde" > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] wms_bbox_extended "true" only works wit

[mapserver-users] identifying segfault

2010-06-11 Thread Martin Kofahl
Hi, I'm trying to identify a segfault which I suppose to be mapscript related. Nothing in the logs, the only message I have is httpd[10210]: segfault at 7fffe46e5fcc rip 2adac849e6aa rsp 7fffe46e5fa0 error 6 What can I do with these pointers? I did play around with readelf but could

[mapserver-users] bad legend graphic from keyimage in Mapserv 5.6.0

2009-12-14 Thread Martin Kofahl
Hi, I encountered a problem with WMS GetLegendGraphic requests when configured with KEYIMAGE + KEYSIZE. The image size is ok but the 'content' is scaled to ~50%, thus huge white border. MapServ 5.2.1 worked fine, 5.6.0 doesn’t. Shortened configuration: MAP RESOLUTION 96 DEFRESOL

Re: [mapserver-users] cascading WMS with mapserver

2009-12-12 Thread Martin Kofahl
Hi Brent, please try the following presented at http://mapserver.org/ogc/wms_client.html#adding-a-wms-layer with the following modifications: CONNECTION 'http://wms.jpl.nasa.gov/wms.cgi?' METADATA WMS_FORMAT 'image/png' WMS_SRS '...' (see capabilities or use EPSG:4326) WMS_NAME 'yourlayer'

Re: [mapserver-users] use of srsName in wfs 1.1

2009-10-20 Thread Martin Kofahl
t;projection right before calling msGMLWriteWFSQuery() and I think there are only litte changes required. Martin Original-Nachricht ---- > Datum: Tue, 20 Oct 2009 15:32:21 +0300 > Von: "Rahkonen Jukka" > An: "Martin Kofahl" , mapserver-users@lists.osgeo.or

[mapserver-users] use of srsName in wfs 1.1

2009-10-20 Thread Martin Kofahl
Hi, I'm interested in querying a MapServer 5.6-beta4 WFS 1.1 service with different projection parameters. According to chapter 14.3.3 of the wfs 1.1 spec one can define different reference systems for the bbox (GET-style) &bbox=4393767,5877790,4673506,6071483,epsg:31468 and for the gml

Re: [mapserver-users] Control access to WMS

2009-10-13 Thread Martin Kofahl
WSS/WAS requires authentication. I wonder if and which http_referer header is usually sent to the server when using openlayers. You could check if this header either contains the url where your site runs or if it is empty/not set for clients not sending this header. This can be realized in the

Re: [mapserver-users] Grouping Layers

2009-10-09 Thread Martin Kofahl
Hi Travis, currently there's no way to hide a layer. There's a ticket on it: http://trac.osgeo.org/mapserver/ticket/1952 I'm using this solution since several months with great success. Once there was greater interest, but currently there's no activity on this topic. See http://trac.osgeo.org/m

Re: [mapserver-users] WMS Client Transparency

2009-10-06 Thread Martin Kofahl
Hi Travis, you can set an OPACITY value (0-100) at the layer level. See http://mapserver.org/mapfile/layer.html Martin Original-Nachricht > Datum: Mon, 5 Oct 2009 12:48:24 -0400 > Von: Travis Kirstine > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] WMS Clien

Re: [mapserver-users] Variable Substitution -- using environment variables (#3122)

2009-09-16 Thread Martin Kofahl
avoid confusions. Martin Original-Nachricht > Datum: Thu, 10 Sep 2009 09:36:30 -0400 > Von: Julien-Samuel Lacroix > An: Martin Kofahl > CC: mapserver-users@lists.osgeo.org > Betreff: Re: [mapserver-users] Variable Substitution > Hi, > > You can't pa

Re: [mapserver-users] Variable Substitution

2009-09-09 Thread Martin Kofahl
not perfectly satisfied using this for authorization purposes. What do you think? Martin Original-Nachricht > Datum: Wed, 09 Sep 2009 09:44:14 -0400 > Von: Julien-Samuel Lacroix > An: Martin Kofahl > CC: mapserver-users@lists.osgeo.org > Betreff: Re: [mapserver

[mapserver-users] Variable Substitution

2009-09-08 Thread Martin Kofahl
Hi, the documentation at http://mapserver.org/mapfile/variable_sub.html tells about using cookies for variable substitution. Can someone provide a working example? I can get substitution working by using get/post request parameters only. Martin ___ map

[mapserver-users] mapserv with fast-cgi

2009-06-03 Thread Martin Kofahl
Hi, I have mapserv with fast-cgi support running on a 4-cpu linux box with apache2 + mod_fastcgi. I used apaches ab (with 20+ concurrent requests) to compare between fcgi and cgi. While mapserv as cgi appeared a couple of times on the process monitor using about 4x100% cpu, there was only one

Re: [mapserver-users] Prevalence of the use of queryfiles...

2009-03-15 Thread Martin Kofahl
We use them with MapScript. Maybe it's possibile to activate saved queries only with with a compiler option? Steve Lime wrote: Hi all: Consider this a survey of sorts. I'm wondering how many of you make use of saving queries, either via the CGI or MapScript. It's an old feature that isn't terri

Re: [mapserver-users] Status on ticket 2582?

2009-03-13 Thread Martin Kofahl
mmy layer would actually also request the group > >> > >> because the > >> > >> > name is identical. > >> > b) adding all the layers as hidden single layers (status == default) > >> > >> and use > >> > >> >

Re: [mapserver-users] Status on ticket 2582?

2009-02-22 Thread Martin Kofahl
5.4 beta. Regards, Pål Kristensen paalkr wrote: ... @Devs; what about incorporating this patch into the core and finally fix the issue? I guess the remaining work is to apply support for other services than WMS (i.e. wfs, sos, wcs), and documentation of course :-) Regards, Pål Kristense

Re: [mapserver-users] Status on ticket 2582?

2009-02-22 Thread Martin Kofahl
, wcs), and documentation of course :-) Regards, Pål Kristensen Martin Kofahl wrote: Hi, I did add a patch for ms540-b1 to ticket #1952 [http://trac.osgeo.org/mapserver/ticket/1952]. It uses a ows_hidden_layer metadata and does also solve ticket #2582. It does also work for layers grouped by

Re: [mapserver-users] Status on ticket 2582?

2009-02-22 Thread Martin Kofahl
post. Martin paalkr wrote: Hi all! See my comments in italic below Martin Kofahl wrote: Hi, I think the second patch for ticket 1952 already covers some of these issues for the wms service (one can easily change ows_service to ows_hidden_layer -- I think 'hidden' makes even more

Re: [mapserver-users] Status on ticket 2582?

2009-02-21 Thread Martin Kofahl
Hi, I think the second patch for ticket 1952 already covers some of these issues for the wms service (one can easily change ows_service to ows_hidden_layer -- I think 'hidden' makes even more sense than 'ignore'): 1) The hiding mechanism must not interfere with which layers that actually are r

[mapserver-users] MS RFC 47 and WMS client connections

2009-02-19 Thread Martin Kofahl
Hi, I faced a problem when drawing layers from remote WMS. Some services not working properly sometimes return an 0-byte HTTP 200, content-type image/png response. msDrawRasterLayerLow() will fail to draw the temporarily saved file with any driver. drawEPP() will finally fail with 'Unrecognized

Re: [mapserver-users] Status on ticket 2582?

2009-02-17 Thread Martin Kofahl
the capabilities document? I'd say yes, but other may have a different opinion. Regards, Pål Kristensen Martin Kofahl wrote: Perfect! Although the solution described in ticket 1952 might be more flexible for future use. Daniel Morissette wrote: paalkr wrote: Hi all devs! What is the s

Re: [mapserver-users] Status on ticket 2582?

2009-02-16 Thread Martin Kofahl
Perfect! Although the solution described in ticket 1952 might be more flexible for future use. Daniel Morissette wrote: paalkr wrote: Hi all devs! What is the status on ticket http://trac.osgeo.org/mapserver/ticket/2582 2582 ? Is this going to be included in 5.4? Yes, we'll take care of i

Re: [mapserver-users] segmentation fault with endless recursion

2009-02-03 Thread Martin Kofahl
Try to add a STYLE section (even empty - STYLE END) in you class CLASS EXPRESSION "" NAME "Pont" END Martin Original-Nachricht > Datum: Tue, 3 Feb 2009 14:44:26 +0100 > Von: "Balázs Bámer" > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] segmentati

[mapserver-users] exclude layer from wms capabilities

2009-02-02 Thread Martin Kofahl
I've got a copyright layer in a map file, status is default. Is there a way to hide this annotation layer in the capabilities output? Martin ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapser

Re: [mapserver-users] Overriding MapServer Map File Parameters in OpenLayers

2009-01-05 Thread Martin Kofahl
An additional question: can I forbid overriding of map file parameters via form or url? Martin Original-Nachricht > Datum: Fri, 02 Jan 2009 11:22:48 -0700 > Von: Bill Thoen > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] Overriding MapServer Map File Paramet

Re: [mapserver-users] grayscale images using classgroups

2008-11-30 Thread Martin Kofahl
atum: Wed, 26 Nov 2008 09:26:04 -0500 > Von: Yewondwossen Assefa <[EMAIL PROTECTED]> > An: Martin Kofahl <[EMAIL PROTECTED]> > Betreff: Re: [mapserver-users] grayscale images using classgroups > Martin, > >Are you talking of non-8 bits rasters? Looking into the do

[mapserver-users] grayscale images using classgroups

2008-11-25 Thread Martin Kofahl
Hi, is there an option in the class section of the map file (so it can use the style parameter) making the output grayscaled? Martin ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users