[GeoMoose-users] Identify tool using TinyOWS layer

R. Paul Warriner paul at warriner.us
Fri Jun 3 02:09:42 PDT 2022


A quick follow-up, and I’m not sure it is “best practice”, but since I’m on the inside only.
I reverted back to the original: <config name="srs" value="EPSG:26917" />, as I noticed the CORS error.
Confirmed editing works as well: Vector Editing Introduction — GeoMoose documentation<https://docs.geomoose.org/3.x/howto/add-vector-editing.html>

The following was what worked, and kind of makes sense to me (by no means a professional opinion) due to passing WMS and WFS services:
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options FollowSymLinks
    Require all granted
    Header set Access-Control-Allow-Origin "*"
</Directory>

From: Brent Fraser <bfraser at geoanalytic.com>
Sent: Tuesday, May 31, 2022 9:35 AM
To: R. Paul Warriner <paul at warriner.us>; geomoose-users at lists.osgeo.org
Subject: Re: [GeoMoose-users] Identify tool using TinyOWS layer

And you could step through the code using the Browser's Developer Tools.  A good place to set a breakpoint is in wfsGetFeatureQuery in components/map/index.js https://github.com/geomoose/gm3/blob/f9f6e3be5c93b26c62aaa39ecf59c9bfe4d948de/src/gm3/components/map/index.js#L346

I'm still convinced it's related to the SRS of the returned data....

In some of my old test mapbooks I see I have set

    <param name="srsname"  value="EPSG:4326"/>

(note the parameter name is "srsname";  I don't recall the significance of that parameter).


________________________________
From: "R. Paul Warriner" <paul at warriner.us<mailto:paul at warriner.us>>
Sent: 5/31/22 7:16 AM
To: "geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>" <geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>>
Subject: Re: [GeoMoose-users] Identify tool using TinyOWS layer


TinyOWS 1.2.0 from git.



The SQL appears valid, as I get all the correct attributes.



Will do some debugging through the browser, and see if I find anything.



Thanks,

Paul



From: Brent Fraser <bfraser at geoanalytic.com<mailto:bfraser at geoanalytic.com>>
Sent: Monday, May 30, 2022 9:15 PM
To: R. Paul Warriner <paul at warriner.us<mailto:paul at warriner.us>>; geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: Re: [GeoMoose-users] Identify tool using TinyOWS layer



Some of the things I've done while trying to track down GeoMoose issues are:



1.  Use the Developer tools in the browser to examine the network traffic between the browser and the server when doing an Identify.

2. Copy the last SQL command from the TinyOWS log into the SQL tool of pgAdmin and see what response it gives.



Which version of TinyOWS are you using?








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20220603/25ff3b3a/attachment.htm>


More information about the GeoMoose-users mailing list