Re: [mapserver-users] Setting up a template for custom WFS

2021-05-25 Thread Passmore, James H.
be possible to provide complex features. For other FOSS, you can use deegree, and GeoServer (in combination with App-Schema plugin or now/in the near future the Templating plugin). James -Original Message- From: Marcin Grudzień Sent: 25 May 2021 15:15 To: Passmore, James H. Cc

Re: [mapserver-users] Setting up a template for custom WFS

2021-05-25 Thread Passmore, James H.
Hi Marcin, As far as I am aware, it is not possible to serve up an INSPIRE compliant (complex feature) WFS with MapServer. James Passmore --- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid:

Re: [mapserver-users] MapServer WFS server with PostGIS doesn't

2020-03-09 Thread Passmore, James H.
Not sure Date: Wed, 4 Mar 2020 11:58:48 +0100 From: Martin Hoegh To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] MapServer WFS server with PostGIS doesn't respects the axis order defined by the EPSG definition Message-ID: <5523efd9-fc06-46a1-9023-6a96ae5f1...@mapcentia.com>

[mapserver-users] Mapserver bumped from 7.0.7 to 7.4.1 leads to wrong projection of features

2019-11-15 Thread Passmore, James H.
Hi Jaap, What is/are the CRS used, and what is the shift in position between the features? James This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any

Re: [mapserver-users] msWFSGetStoredQuery(): WFS server error. Cannot open file

2019-09-19 Thread Passmore, James H.
Answering my own question, on Windows the filedef path must be absolute. so "wfs_CommodityByYearStoredQuery_filedef" "storedQry/comm-by-year.map" doesn't work but "wfs_CommodityByYearStoredQuery_filedef" " C:/some/path/to/test/my/storedQry/comm-by-year.map" works James Passmore

[mapserver-users] msWFSGetStoredQuery(): WFS server error. Cannot open file

2019-08-30 Thread Passmore, James H.
I'm configuring a WFS to provide some stored queries, and following https://mapserver.org/ogc/wfs_server.html?highlight=wfs_storedqueries In my WEB > METADATA section, if I use: "wfs_storedqueries" "CommodityByYearStoredQuery" and an inlinedef either directly like:

Re: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom

2019-07-11 Thread Passmore, James H.
I see you have in the GetCapabilities file urn:ogc:def:crs:EPSG:6.3:103744 That's surely wrong, as 103744 is not a valid EPSG code, but one defined by ESRI (https://github.com/Esri/projection-engine-db-doc/blob/master/proj4/esri) I'm not sure if it would work if you stated it like

Re: [mapserver-users] Map Server configuration in Ubuntu 18.04lts

2019-01-24 Thread Passmore, James H.
It's a bit out of date now, but as your reference is MS4W you could look at the old OneGeology cookbook section below http://onegeology.org/wmsCookbook/4_4_2_1.html James -Original Message- From: mapserver-users On Behalf Of mapserver-users-requ...@lists.osgeo.org Sent: 24 January

Re: [mapserver-users] OGR GeoJSON

2018-12-10 Thread Passmore, James H.
Not sure though if MapServer should be supporting any projection other than urn:ogc:def:crs:OGC::CRS84 as per the formal GeoJSON specification https://tools.ietf.org/html/rfc7946. James -Original Message- From: mapserver-users On Behalf Of mapserver-users-requ...@lists.osgeo.org

Re: [mapserver-users] Using a CRS not indexed by the IOGP

2018-11-13 Thread Passmore, James H.
Hi Jukka > I guess the WMS 1.3.0 standard, page 15: > “Every Layer CRS has an identifier that is a character string. Two types of > Layer CRS identifiers are permitted: > “label” and “URL” identifiers: > ⎯ Label: The identifier includes a namespace prefix, a colon, a numeric or > string code,

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
2018 13:57 To: Passmore, James H. ; mapserver-users@lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, Our Mapserver 7.2.0 is running on Linux and that does not write metadata links to GetCapabilities. I just wrote and tested that simplistic mapfile for the states

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
to a static file, then add a formal XML metadata link to the edited static content. James -Original Message- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:44 To: Passmore, James H. ; mapserver-users@lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users@lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we ca

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
Message- From: Kralidis, Tom (EC) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users@lists.osgeo.org Subject: RE: Disable automatic metadata in MapServer 7.2 James: can you open an issue on GitHub? I'll take a look. > -Original Message- > From: mapserver

Re: [mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -Original Message- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users@lists.osgeo.org

[mapserver-users] Disable automatic metadata in MapServer 7.2

2018-10-19 Thread Passmore, James H.
Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ---

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-08 Thread Passmore, James H.
> Is there a way to get all the endpoints (maps) that are available from a > given server? I hope not, each service should be isolated from another. To find different services from a single provider you should search some metadata catalogue, perhaps:

Re: [mapserver-users] Selected post Feb 22, 2018; 1:45pm

2018-08-29 Thread Passmore, James H.
As far as I know it isn't possible to deploy/serve a complex feature WFS such as https://inspire.ec.europa.eu/schemas/us-govserv/4.0/GovernmentalServices.xsd using MapServer. Only Simple Feature WFS is supported. James Passmore --- British Geological Survey,

Re: [mapserver-users] wms_enable_request header vs. layer

2017-12-07 Thread Passmore, James H.
Technically QGIS (or any other client) is going against the WMS standard by requesting something not in GetCapabilities response, and MapServer is at fault for responding with something not advertised. Of course a GetMap operation is mandatory for a WMS, so you might argue that MapServer is at

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

2017-06-16 Thread Passmore, James H.
The purpose of a WFS is to return features, which are spatial objects plus properties. If I understand it you want to return just the properties? If so what you are getting are not features, and therefore a WFS is not an appropriate mechanism for you to get the data you want. IMHO MapServer

Re: [mapserver-users] Please add your site to the Gallery (Jeff McKenna)

2017-05-25 Thread Passmore, James H.
Would the OneGeology portal be in scope in the list? data is provided through OGC services, principally WMS. Many of these services are MapServer driven. The original documentation OneGeology cookbook was based on MS4W, and also mentioned other MapServer implementations, but now supports

Re: [mapserver-users] On-the-fly field calculation in a GetFeatureInfo request

2017-03-17 Thread Passmore, James H.
As an example of JavaScript in a GetFeatureInfo response, I can show you:

Re: [mapserver-users] Is there a way to convert a QGIS layout

2015-03-19 Thread Passmore, James H.
Message: 4 Date: Thu, 19 Mar 2015 08:32:34 + From: Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi To: b.j.kob...@utwente.nl b.j.kob...@utwente.nl, mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Is there a way to convert a QGIS

Re: [mapserver-users] Odd warning in WFS GetCapabilities ~ what's missing in the config?

2015-03-13 Thread Passmore, James H.
Hi Jukka, Thanks for persevering with this. OK, so, the issue is not that I'm not using a shapefile (I'm using an OGR connection to an ESRI Geodatabase), or per se that I specified a list of SRS (the documentation shows a WFS_SRS list), but it is to do with the first cited SRS in the list.

Re: [mapserver-users] Odd warning in WFS GetCapabilities ~ what's missing in the config?

2015-03-12 Thread Passmore, James H.
Hi Jukka, Thanks you are correct. I added WFS_OWS EPSG:4326 to the LAYER METADATA section as a quick hack after getting those errors and it was too quick a hack. So changing the incorrect WFS_OWS EPSG:4326 to the WFS_SRS EPSG:4326 in the LAYER METADATA makes the error message go away, but

Re: [mapserver-users] Odd warning in WFS GetCapabilities ~ what's missing in the config?

2015-03-12 Thread Passmore, James H.
Thanks to Jeff and Jukka for commenting on this. You are missing the required parameter VERSION in your request. If I add it to your request I get no warnings: http://194.66.252.155/cgi-bin/BGS_OGE_Bedrock_and_Surface_Geology_in2/ows?service=WFSrequest=GetCapabilitiesVERSION=1.0.0 -- Jeff

[mapserver-users] Odd warning in WFS GetCapabilities ~ what's missing in the config?

2015-03-12 Thread Passmore, James H.
I have a MapServer version 6.4.1 service set-up and was looking at the WFS GetCapabilities response: http://194.66.252.155/cgi-bin/BGS_OGE_Bedrock_and_Surface_Geology_in2/ows?service=WFSrequest=GetCapabilities; All my FeatureTypes have the following warning: !-- WARNING: Mandatory mapfile

[mapserver-users] Which north polar projection works best with MapServer?

2014-04-03 Thread Passmore, James H.
I've been trying to serve a BlueMarble tiff in MapServer that adds a backdrop to a North Polar projection, specifically epsg:3413. I cut the standard BlueMarble tiff to the bounds extent of this projection as defined at: http://spatialreference.org/ref/epsg/3413/ I've tried to both to

Re: [mapserver-users] Mapserver useful for ordinary sites or not?

2012-12-06 Thread Passmore, James H.
Saka, Are you trying to run a windows executable (mapserv.exe) on a Linux server, I'm sure you're not, but just checking to be sure. I also had problems trying to configure MapServer through cPanel and in the end resorted to doing it all using SSH. You might want to have a look at the

[mapserver-users] MapServer 6.2.0-beta1 release: bug or config error with INSPIRE response

2012-07-10 Thread Passmore, James H.
I'm trying to add INSPIRE extended capabilities (scenario 1) into a test service using the MapServer 6.2.0-beta1 release. I'm trying to follow the http://mapserver.org/trunk/ogc/inspire.html documentation I want an English only response hopefully like: inspire_vs:ExtendedCapabilities

[mapserver-users] MapServer 6.0.0-beta6 Incorrect error response to missing parameter

2011-04-20 Thread Passmore, James H.
When I omit the request=GetCapabilities parameter on the below request http://ogcdev.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?service=wms; The exception reported is: ?xml version='1.0' encoding=ISO-8859-1 standalone=no ? ServiceExceptionReport version=1.3.0

[mapserver-users] Z_BEST_COMPRESSION undeclared Error on MapServer 5.6.5 make.

2011-01-17 Thread Passmore, James H.
I'm trying to compile MapServer 5.6.5 on Ubuntu 10.10, the ultimate aim is to add a patch to support the INSPIRE language requirement (otherwise I'd use one of the existing binaries). I can run configure ( ./configure --with-ogr --with-gdal --with-wfsclient --with-wmsclient --with-proj

[mapserver-users] Non-conformant behaviour with MapServer 5.4 WMS 1.3.0 GetCapabilities response?

2009-06-24 Thread Passmore, James H
I've been trying to force my 1.3.0 GetCapabilities response to have a BoundingBox CRS=CRS:84 ... element, discussing the wisdom of this is another post but I've noticed that if I don't specify a projection specified in the proj4 files, I don't get any BoundingBox element, though I do get an

RE: [mapserver-users] Non-conformant behaviour with MapServer 5.4 WMS 1.3.0 GetCapabilities response?

2009-06-24 Thread Passmore, James H
Hi Tom, Thanks for your speedy response Can you send along an example mapfile / snippet? My Mapfile begins: MAP NAME ONEGEOLOGY STATUS on SIZE 800 400 EXTENT 59.7812 26.9152 75.5985 40.9476 UNITS dd SHAPEPATH data IMAGECOLOR 255 255 255 IMAGETYPE png RESOLUTION 96

[mapserver-users] RE: Upgrading 5.2 - 5.4 generating CGI error (5.1 and 6.0) ... Possible BUG?

2009-06-10 Thread Passmore, James H
I'm not sure if this helps anyone debug this issue, but I used MS4W 2.3.1 and then MapServer version 5.4.0-rc2 to obtain my binaries. I have these working on Microsoft Server 2003 / IIS 6 with shapefiles as my data to provide a WMS e.g.