[Gfoss] Visualizzazione dati espressi in sistemi di riferimento ad assi invertiti

aborruso aborruso a tin.it
Ven 3 Nov 2017 13:41:06 CET

Ciao Andrea,
penso che tutto possa dipendere da questo

"Since OGR 1.8.0, the GML driver has coordinate system support. This is only
reported when all the geometries of a layer have a srsName attribute, whose
value is the same for all geometries. For srsName such as
"urn:ogc:def:crs:EPSG:" (or "http://www.opengis.net/def/crs/EPSG/0/"
starting with GDAL 2.1.2), for geographic coordinate systems (as returned by
WFS 1.1.0 for example), the axis order should be (latitude, longitude) as
required by the standards, but this is unusual and can cause issues with
applications unaware of axis order. So by default, the driver will swap the
coordinates so that they are in the (longitude, latitude) order and report a
SRS without axis order specified. It is possible to get the original
(latitude, longitude) order and SRS with axis order by setting the
configuration option GML_INVERT_AXIS_ORDER_IF_LAT_LONG to NO."

Quando anni fa ho avuto un problema simile (accedevo via GDAL), quanto letto
qui [1] fu risolutivo.


[1] http://www.gdal.org/drv_gml.html

Andrea Borruso

twitter: https://twitter.com/aborruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E
Sent from: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/

Maggiori informazioni sulla lista Gfoss