Timeline for WFS to JSON vector layer error when specifying srsname in query string, no features when specifying value of DefaultCRS in OpenLayers 4?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2018 at 7:26 | history | edited | nmtoken | CC BY-SA 3.0 |
corrected syntax error
|
Mar 27, 2018 at 7:13 | vote | accept | CommunityBot | ||
Mar 26, 2018 at 21:59 | comment | added | user100015 | That was bit more work than I anticipated for something at first glance so simple :\ Thanks for the pointers, I finally got it working with the linked question 👍 | |
Mar 26, 2018 at 21:03 | comment | added | Mesa | EPSG:25833 is not supported in OpenLayers by default (only 4326 and 3857, see openlayers.org/en/latest/apidoc/ol.proj.Projection.html ). Here you can find an example for adding a new projection. | |
Mar 26, 2018 at 20:56 | comment | added | user100015 |
Based on this question, tried ol.proj.transformExtent(extent, ol.proj.get('EPSG:3857'), ol.proj.get('EPSG:25833')); , but get TypeError: b is null ol.js:36:29 in the browser
|
|
Mar 26, 2018 at 20:47 | comment | added | user100015 |
Any pointers as to how to perform the transformation you suggest specifically? I.e. with respect to the extent parameter to the url function.
|
|
Mar 26, 2018 at 20:46 | comment | added | user100015 | I also tried with srsname=EPSG:25833 and appending .EPSG:25833 for the respective bits in url: function(extent) since it is the default projection that appears in GetCapabilities, but got the same result. | |
Mar 26, 2018 at 20:34 | history | answered | Mesa | CC BY-SA 3.0 |