[TinyOWS-users] Inconsistent coordinate order with WFS 1.1.0 and srsName=EPSG:2393

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Aug 5 06:39:21 EST 2011


 Olivier Courtin wrote:

> On Fri, Aug 5, 2011 at 9:29 AM, Rahkonen Jukka wrote:

> Jukka,

>> Results with r586 are consistent now.

> Ok

>> This is now all easting-northing and can perhaps be considered to be OK. However, it does not look like you meant it to be. Srtext contains this
>> ["EPSG","2393"],AXIS["Y",EAST],AXIS["X",NORTH]]
>> http://hip.latuviitta.org/cgi-bin/tinyows?service=wfs&version=1.1.0&request=GetFeature&typename=lv:mml_railway&srsName=EPSG:2393&maxfeatures=1

> Humm not sure i was clear,  If srtext contains AXIS["X",NORTH]]
> it implies for TinyOWS that coordinates are reversed (from common X,Y)


I checked the spatial_ref_sys from the database that is used by my TinyOWS r586
 select srtext from spatial_ref_sys where srid=2393; 

 PROJCS["KKJ / Finland Uniform Coordinate System",GEOGCS["KKJ",DATUM["Kartastoko
ordinaattijarjestelma_1966",SPHEROID["International 1924",6378388,297,AUTHORITY[
"EPSG","7022"]],AUTHORITY["EPSG","6123"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG",
"8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["
EPSG","4123"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_M
ercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PAR
AMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_nor
thing",0],AUTHORITY["EPSG","2393"],AXIS["Y",EAST],AXIS["X",NORTH]]

I understood that your plan is that in this case srsName=EPSG:2393 and srsName=urn:ogc:def:crs:EPSG::2393 should give the same result with reversed coordinatas X=North and Y=East.
However, this is not the case.

http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=GetFeature&typename=lv:mml_railway&srsName=EPSG:2393&maxfeatures=1
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=GetFeature&typename=lv:mml_railway&srsName=urn:ogc:def:crs:EPSG::2393&maxfeatures=1

-Jukka-


More information about the TinyOWS-users mailing list