I want to get features with coordinate's order opposite to that this query
is offering, I want longitude/latitude orer. With WFS version 1.0.0 this
query simply does not work, so as documentation say I can specify this
order using
EPSG:xxxx longitude/latitude (x/y)
http://www.opengis.net/gml/srs/epsg.xml#xxxx longitude/latitude (x/y)
My question is where I need to put these parameters, in my case srs is
3301, to get this work? So my returned JSON showed coordinates as
longitude/latitude, not latitude/longitude as it does now.

<?xml version="1.0" encoding="UTF-8"?>\
        <wfs:GetFeature version="1.1.0" service="WFS"
outputFormat="application/json" xmlns:wfs="http://www.opengis.net/wfs";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:gml="http://www.opengis.net/gml";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ermas="http://loom-gis.geo.ut.ee:8080/geoserver/ermas";
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";>\
    <wfs:Query typeName="ermas:testdata_geopnt">\
    <ogc:Filter>\
    <ogc:Intersects>\
    <ogc:PropertyName>ermas:geometry</ogc:PropertyName>\
    <gml:Polygon srsName="urn:ogc:def:axis:EPSG::3301" gml:id="x">\
    <gml:exterior>\
    <gml:LinearRing>\
    <gml:coordinates>6528500,512000 6465500,504500 6476000,576000
6545500,576500 6528500,512000</gml:coordinates>\
    </gml:LinearRing>\
    </gml:exterior>\
    </gml:Polygon>\
    </ogc:Intersects>\
    </ogc:Filter>\
    </wfs:Query>\
    </wfs:GetFeature>

​
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to