Comments (10)
@gmvtrmaga Could you clarify your problem? Maybe in a kind of current result vs. exprected result. I suppose you mean that the XML-output of the geometry isn't correct.
from gwt-ol.
@TDesjardins is that you have said.
Im expecting the query to have the same coordinates as the filter, but they are inverted. The result in the map is that, if I want to find water areas in canada I must set the area filter below Africa. Check the attached image:
from gwt-ol.
At first sight it looks like a axis order problem. The axis order depends on the reference system. Have look at http://www.ogcnetwork.net/axisorder
Could you provide the code of the input geometry?
From my point of view the Javadoc of Coordinate isn't correct. Because 'x' isn't lon in every case.
from gwt-ol.
The geometry is generated by a Draw control: When I finish drawing, it sets the filter and send the request to the map server.
Indeed, it is an axis problem, but I can't understand the reason.
from gwt-ol.
@gmvtrmaga There is a method createSpatialFilter(Geometry geometry)
in your code. Have you set the srsName parameter for the spatial filter? Could you share it?
from gwt-ol.
from gwt-ol.
Hm, looks ok createSpatialFilter(Geometry geometry)
?
from gwt-ol.
As I have shown in the third screenshot of the first post, the coordinates are inverted when creating a wfs Node from wfsWriteFeatureOptions. Spatial Filter is set with correct coordinates.
from gwt-ol.
Then you should create an issue at OpenLayers project.
from gwt-ol.
Ok, I will send them this issue.
Thanks.
from gwt-ol.
Related Issues (20)
- Add OpenLayers 6 support HOT 2
- Broken relationship between ol.layer.Layer and ol.layer.Vector HOT 3
- Problems with FeatureAtPixelOptions.layerFilter HOT 14
- Add GWT 2.9 support HOT 2
- Migrate from RawGit to jsDelivr
- Compile fails if OpenLayers dependencies are injected by GWT HOT 12
- Add support for method forEachLayerAtPixel
- undesired flickering effect changing external image on Vector layer HOT 4
- Support for functions in ol.style.Style HOT 5
- Add declutter support
- Extract base vector layer
- Add css classname to layer options
- how to smoothly transition from an image to another in a vector layer HOT 5
- Add function param support in interaction select options
- Add WKB-format support
- Add method extend for collection HOT 1
- Add method foreach for collection
- Add method getPointerCount to Pointer interaction
- Add Kinetic
- Add missing properties to FullScreen options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-ol.