Re: [mapserver-users] WFS Client returns data at random with very same call

2021-06-08 Thread Lars Fricke via mapserver-users
mapserver-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-06-08 Thread Even Rouault via mapserver-users
dy tried to use WFS connection instead of OGR connection? -Jukka Rahkonen- *Lähettäjä:* mapserver-users *Puolesta *Lars Fricke *Lähetetty:* torstai 27. toukokuuta 2021 14.59 *Vastaanottaja:* mapserver-users@lists.osgeo.org *Aihe:* Re: [mapserver-users] WFS Client returns data at random wit

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-06-08 Thread Lars Fricke via mapserver-users
r-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-31 Thread Lars Fricke via mapserver-users
Lähettäjä: mapserver-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Even Rouault via mapserver-users
apserver-users@lists.osgeo.org *Aihe:* Re: [mapserver-users] WFS Client returns data at random with very same call Dear all, I apologize for finding and posting bits and pieces not all at one time. I fired up 'CONFIG "CPL_DEBUG" "ON"' and there I see, that """

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client returns data

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Even Rouault via mapserver-users
Rahkonen- *Lähettäjä:* mapserver-users *Puolesta *Lars Fricke *Lähetetty:* torstai 27. toukokuuta 2021 14.59 *Vastaanottaja:* mapserver-users@lists.osgeo.org *Aihe:* Re: [mapserver-users] WFS Client returns data at random with very same call Dear all, I apologize for finding and posting bits

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
-   Lähettäjä: mapserver-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client returns data

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Even Rouault via mapserver-users
): SkenData Email Signatur Hi, Have you already tried to use WFS connection instead of OGR connection? -Jukka Rahkonen- *Lähettäjä:* mapserver-users *Puolesta *Lars Fricke *Lähetetty:* torstai 27. toukokuuta 2021 14.59 *Vastaanottaja:* mapserver-users@lists.osgeo.org *Aihe:* Re: [mapserver-users] WFS

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Aihe: Re: [mapserver-users] WFS Client returns data at random with very same call   Dear all, I apologize for finding and posting bits and pieces not all at one time. I fired up 'CONFIG "CPL_

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Lähetetty: perjantai 28. toukokuuta 2021 12.17 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client returns data at random with very same call   Dear Daniel

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Title: SkenData Email Signatur Dear Daniel and Jukka, following your advice I changed my setup as follows: """ LAYER     NAME "TestLayer"     CONNECTION "?"     EXTENT -47443 5145172 1187852 6158846     CONNECTIONTYPE WFS     STATUS

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Title: SkenData Email Signatur Dear Even, what do you need from me to further investigate? I'll be happy to provide anything I can. Best Lars Am 27.05.21 um 22:03 schrieb Even

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-28 Thread Lars Fricke via mapserver-users
Title: SkenData Email Signatur Dear Jukka and dear Daniel, Thank you very much for pointing out the native WFS capability. I moved away from it in the past because OGR has a broader spectrum of WFS versions supported and I sort of adopted this for all of my

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Even Rouault
It might be a bug in the OGR WFS driver (I see optimizations in the code to avoid adding a BBOX if we have already fetched the layer, that could be faulty), but we'd need a full reproducer to be able to investigate. Le 27/05/2021 à 13:59, Lars Fricke a écrit : Dear all, I apologize for

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Daniel Morissette
Since you use CONNECTIONTYPE OGR, none of the MapServer WFS Client logic takes place. Is there any reason why you cannot use CONNECTIONTYPE WFS as documented here: https://mapserver.org/ogc/wfs_client.html On 2021-05-27 02:51, Lars Fricke wrote: Dear All, as this list is a source of much

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Rahkonen Jukka (MML)
Hi, Have you already tried to use WFS connection instead of OGR connection? -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Lars Fricke Lähetetty: torstai 27. toukokuuta 2021 14.59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WFS Client returns data

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur Dear all, I apologize for finding and posting bits and pieces not all at one time. I fired up 'CONFIG "CPL_DEBUG" "ON"' and there I see, that """ HTTP:

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur One more observation: If I happen to get a response, I get only one result object where it should be many (and are many if I call directly). The one result object I get is indeed located inside the BBOX.

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur Hello, I continued testing and I verified that the SRS is set correctly (by doing getfeature without bbox and only maxfeatures=10 in the call). I also verified I am getting the correct data by this. No change with the max-features in

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur Hello Jörg, I tried turning maxfeatures off. If I do it in the mapfile, there is no effect. If I do it in the xml file I get "internal server error" after same longer time. I also tried calling """

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur Hello Jörg, thank's for the fast reply. I think I did turn it off once but I'll double check. Best Lars ___

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread WhereGroup
Hello Lars, maxfeatures was my first guess... have you also turned ist it off (no maxfeatures)? Jörg Am 27.05.21 um 08:51 schrieb Lars Fricke: > Dear All, > > as this list is a source of much deeper insight than I have into > Mapserver, I would like to ask about a very strange issue I am

[mapserver-users] WFS Client returns data at random with very same call

2021-05-27 Thread Lars Fricke
Title: SkenData Email Signatur Dear All, as this list is a source of much deeper insight than I have into Mapserver, I would like to ask about a very strange issue I am facing. I am calling on a public WFS server I can query "by hand" fast and

Re: [mapserver-users] WFS-Client Version 2.0.0

2019-10-08 Thread WhereGroup
thanks, Even, for the quick answer. and thanks, Lars, too. I will follow Jeffs instrucions on http://osgeo-org.1560.x6.nabble.com/CONNECTIONTYPE-OGR-is-not-working-after-upgrade-to-mapserver-7-2-2-from-6-4-1-td5400796.html Jörg Am 08.10.19 um 13:42 schrieb Lars Fricke: > Hi Jörg, > > you need

Re: [mapserver-users] WFS-Client Version 2.0.0

2019-10-08 Thread Even Rouault
On mardi 8 octobre 2019 13:23:43 CEST Jörg Thomsen (WhereGroup) wrote: > Hi everyone, > > I am trying to setup a WMS which uses a WFS as datasource. The WFS only > works in version 2.0.0 and MapServer tells me > > > msBuildWFSLayerGetURL(): WFS connection error. MapServer supports only WFS > >

Re: [mapserver-users] WFS-Client Version 2.0.0

2019-10-08 Thread Lars Fricke
Hi Jörg, you need to use CONNECTIONTYPE OGR and generate an xml file using ogrinfo with CONNECTION "my_generated_definition_file.xml" see https://gdal.org/drivers/vector/wfs.html Mit

Re: [mapserver-users] WFS-Client Version 2.0.0

2019-10-08 Thread WhereGroup
sorry, I'll have to use an OGR-Connection Jörg Am 08.10.19 um 13:23 schrieb Jörg Thomsen (WhereGroup): > Hi everyone, > > I am trying to setup a WMS which uses a WFS as datasource. The WFS only > works in version 2.0.0 and MapServer tells me > >> msBuildWFSLayerGetURL(): WFS connection

[mapserver-users] WFS-Client Version 2.0.0

2019-10-08 Thread WhereGroup
Hi everyone, I am trying to setup a WMS which uses a WFS as datasource. The WFS only works in version 2.0.0 and MapServer tells me > msBuildWFSLayerGetURL(): WFS connection error. MapServer supports only WFS > 1.0.0 or 0.0.14 (please verify the version metadata wfs_version) really? What can I

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Lime, Steve D (MNIT)
server-users] WFS Client... Even Rouault wrote: > I've committed > > https://github.com/mapserver/mapserver/commit/de7ef60c4cd04ea9708a17052c48d8875f067410 > in master to enable POST logging : That's great. -Jukka Rahkonen- ___ mapserver-

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Rahkonen Jukka (MML)
Even Rouault wrote: > I've committed > > https://github.com/mapserver/mapserver/commit/de7ef60c4cd04ea9708a17052c48d8875f067410 > in master to enable POST logging : That's great. -Jukka Rahkonen- ___ mapserver-users mailing list

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Even Rouault
Le jeudi 18 février 2016 22:01:58, Lime, Steve D (MNIT) a écrit : > Hi all: Is there any way to log the request URL and POST data associated > with MapServer WFS layers? That info doesn't seem to be showing up in > debug logs and it would be helpful to see exactly what is being sent to > the WFS

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Rahkonen Jukka (MML)
>> Sent: Thursday, February 18, 2016 3:06 PM Subject: RE: [mapserver-users] WFS Client... The WFS server is not under my control, so no access log. From: Carlos Ruiz [mailto:boolean10...@yahoo.com] Sent: Thursday, February 18, 2016 3:06 PM To: Lime, Steve D (MNIT) <steve.l...@state.mn.us&

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Lime, Steve D (MNIT)
ct: Re: [mapserver-users] WFS Client... OK. If you are doing a request to a WFS layer from an OpenLayers application, you can see the request by pressing SHIFT+CTRL+J in FireFox and enable the Network toggle button. You will see the full request when hovering the URL GET http://localhost/cgi-bin/acci

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Carlos Ruiz
oo.com>; "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org> Sent: Thursday, February 18, 2016 3:06 PM Subject: RE: [mapserver-users] WFS Client... #yiv8480966943 #yiv8480966943 -- _filtered #yiv8480966943 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Lime, Steve D (MNIT)
n10...@yahoo.com>; Lime, Steve D (MNIT) <steve.l...@state.mn.us>; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] WFS Client... Hi, Didn’t he ask about the contents of POST, not GET? That would need some extra components, some hints can be found from http://stackoverflow.c

Re: [mapserver-users] WFS Client...

2016-02-18 Thread Rahkonen Jukka (MML)
ists.osgeo.org>" <mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>> Sent: Thursday, February 18, 2016 3:01 PM Subject: [mapserver-users] WFS Client... Hi all: Is there any way to log the request URL and POST data associated with MapServer WFS layers? That inf

[mapserver-users] WFS Client...

2016-02-18 Thread Lime, Steve D (MNIT)
Hi all: Is there any way to log the request URL and POST data associated with MapServer WFS layers? That info doesn't seem to be showing up in debug logs and it would be helpful to see exactly what is being sent to the WFS server. Steve ___

Re: [mapserver-users] [WFS-client] geometry name

2012-09-20 Thread Yves Jacolin
Hello, Ok I find the answer: Geometry column name is hardcoded in https://github.com/mapserver/mapserver/blob/master/mapwfslayer.c#L242 Y. 2012/9/19 Yves Jacolin yves.jaco...@camptocamp.com Hello, There is not possiblity? Documentation tell nothing about the possibility to tell to

Re: [mapserver-users] [WFS-client] geometry name

2012-09-20 Thread Rahkonen Jukka
Hi, That's very limiting. I think that none of the more than 80 feature types on my server is using name Geometry. suggest you to file a ticket about making this configurable. -Jukka Rahkonen- Yves Jacolin wrote: Hello, Ok I find the answer: Geometry column name is hardcoded in

[mapserver-users] [WFS-client] geometry name

2012-09-19 Thread Yves Jacolin
Hello, Does it possible to tell MapServer the geometry name to use for a layer in the case of WFS CONNECTIONTYPE? By default, Mapserver use Geometry, for example: ogc:BBOX ogc:PropertyNameGeometry/ogc:PropertyName gml:Boxgml:coordinates2.022184,48.116468

Re: [mapserver-users] [WFS-client] geometry name

2012-09-19 Thread Yves Jacolin
Hello, There is not possiblity? Documentation tell nothing about the possibility to tell to MapServer the geometry column name to the WFS service used for my layer and I can't change the geometry name server side. Nobody already fall in this issue? Thanks, Y. 2012/9/19 Yves Jacolin

[mapserver-users] WFS Client through Proxy and HTTP Authentication

2011-08-09 Thread bte...@gmail.com
Hi, I have MapServer 5.6.0 running on RHEL5.5 (FGS9.5 MapServer package) I'm behind a proxy (NTLM), and I want to access a WFS source outside that requires HTTP Authentication. I'm using a WFS Client setup in my Map file, and I'm accessing my MapServer using WFS too - eg. a WFS Client... all

Re: [mapserver-users] WFS Client through Proxy and HTTP Authentication

2011-08-09 Thread Daniel Morissette
The error message says: Couldn't resolve host 'reg.bom.gov.au' Make sure this hostname does resolve on the machine running MapServer, that is has proper DNS config, etc. You could also try using the actual IP address instead of the hostname in the CONNECTION string to confirm that this is

Re: [mapserver-users] wfs client question

2008-12-08 Thread bartvde
Hi Knut, Mapserver should be able to do this for you. Just use wfs_srs EPSG:31468 on your CONNECTIONTYPE WFS layer, and maybe add a PROJECTION block as well on the LAYER: PROJECTION init=epsg:31468 END On your MAP object you can use: PROJECTION init=epsg:4326 END Mapserver

[mapserver-users] wfs client question

2008-12-08 Thread Knut Behrends
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to query a public wfs server for some data. Internally, in my DHTML frontend, all lat/lon coordinates are handled in geographic coordinates EPSG:4326. However, the WFS server only accepts lat/lon values given with particular BBOX parameters

Re: [mapserver-users] wfs client question

2008-12-08 Thread Knut Behrends
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks guys, the on-the-fly transforms seem to work now. Indeed, the PROJECTION entries in the MAP and in the LAYER sections must be specified exactly as Bart said. And I'll also get a copy of the proj4js Library, it might come in handy someday. - --

[mapserver-users] WFS client layer not drawn: missing .gfs file?

2008-10-27 Thread Michael Schulz
Hi, I have a problem with gml reading/writing when used in an umn mapserver environment: I have a mapserver WFS client layer, that is not displayed when the getfeature response of the remote wfs-server has too many featuretype attributes. If I reduce the number of attributes in the featuretype

Re: [mapserver-users] WFS client layer not drawn: missing .gfs file?

2008-10-27 Thread Frank Warmerdam
Michael Schulz wrote: Hi, I have a problem with gml reading/writing when used in an umn mapserver environment: I have a mapserver WFS client layer, that is not displayed when the getfeature response of the remote wfs-server has too many featuretype attributes. If I reduce the number of

Re: [mapserver-users] WFS client layer not drawn: missing .gfs file?

2008-10-27 Thread Michael Schulz
Hi Frank, thanks for your comments that made me put ms_debug all thru the code ;-) The problem is on my and/or mapservers side... The wfs getfeature response I'm consuming has the namespace location for gml also attached to the first featureMember tag (don't ask me why ... though i think this is