As an aside, instead of editing geomoose.js, you could also make the changes at 
the source and rebuild the minified javascript (geomoose.js is significantly 
larger and will take longer for the browser to load).

Here's some documentation on how to do that on Windows - Developer Quickstart 
for Windows — GeoMoose 
documentation<https://docs.geomoose.org/3.x/quickstarts/develop-on-windows.html>.
 It basically involves installing NPM, cloning the geomoose repository, making 
your changes, and then building the javascript using NPM.

Chris

--
Chris Hughes

GIS Analyst
Lincoln County GIS Department
880 NE 7th St. l Newport, OR 97365
Tel: (541) 574 1283

________________________________
From: GeoMoose-users <geomoose-users-boun...@lists.osgeo.org> on behalf of Eli 
Adam via GeoMoose-users <geomoose-users@lists.osgeo.org>
Sent: Friday, May 23, 2025 3:00 PM
To: geomoose-users@lists.osgeo.org <geomoose-users@lists.osgeo.org>; Lowell 
Filak <filakg...@gmail.com>
Subject: Re: [GeoMoose-users] GM 3 and QGIS Server as WFS

Hi Lowell,

Thanks for the info.  Sorry to not have emailed sooner, there's a little 
additional information here, https://github.com/geomoose/gm3/issues/901
Best regards, Eli

________________________________
From: GeoMoose-users <geomoose-users-boun...@lists.osgeo.org> on behalf of 
Lowell Filak via GeoMoose-users <geomoose-users@lists.osgeo.org>
Sent: Friday, May 23, 2025 2:24 PM
To: geomoose-users@lists.osgeo.org <geomoose-users@lists.osgeo.org>
Subject: [GeoMoose-users] GM 3 and QGIS Server as WFS

Hopefully this will save someone hours in debugging in the future.

OpenLayers, and subsequently GeoMoose, expects EPSG:4326 from a WFS server in 
Lat,Lon format.
QGIS Server responds with Lon,Lat.

To fix it, edit the index.html to load geomoose.js instead of geomoose.min.js.
Edit geomoose.js to change all instances of "flatCoordinates.push(y, x, z)" to 
"flatCoordinates.push(x, y, z)".

The fix is not eloquent but it's a fix.

_______________________________________________
GeoMoose-users mailing list
GeoMoose-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geomoose-users

Reply via email to