Hi,

I stepped on this the other day too, this GeoServer documentation page page 
clarifies things a bit:
http://docs.geoserver.org/latest/en/user/services/wfs/webadmin.html#gml

So it seems that those links are two different ways of representing a SRS:

 * [ <http://www.opengis.net/gml/srs/epsg.xml#4326>*OGC HTTP URL*] 
http://www.opengis.net/gml/srs/epsg.xml#4326 
<http://www.opengis.net/gml/srs/epsg.xml#4326>
 * [*OGC HTTP URI*] http://www.opengis.net/def/crs/EPSG/0/4326 
<http://www.opengis.net/def/crs/EPSG/0/4326>

The representation that is used for each service \ format can be configured in 
WFS settings, but this has implications in how the coordinate system \ 
projection will be interpreted by clients.

Hope it helps.

Regards,

Nuno Oliveira

On 11/27/2017 09:19 AM, Rahkonen Jukka (MML) wrote:

Hi,

Geoserver WFS 1.0.0 adds srsName into geometries just as the examples in GML 2 
and WFS 1.0.0 show like in

http://demo.geo-solutions.it/geoserver/wfs?service=wfs&version=1.0.0&request=GetFeature&typename=topp:states&maxfeatures=1

<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>

However, there is no information about the coordinate system at 
http://www.opengis.net/gml/srs/epsg.xml#4326 any more but the data are now 
available from http://www.opengis.net/def/crs/EPSG/0/4326

I wonder if srsName should be changed to point to a living link. But perhaps 
the existing applications have been made to parse the coordinate system 
directly from the string “http://www.opengis.net/gml/srs/epsg.xml#4326” and 
changing the url would make them to fail.

It seems that the coordinate system is expressed differently in almost every 
service that exists:

WFS 1.0.0

srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";

WFS 1.1.0

srsName="urn:x-ogc:def:crs:EPSG:4326"

and WFS 2.0.0

srsName="urn:ogc:def:crs:EPSG::4326"

WCS 1.0.0

srsName="EPSG:4326"

WCS 1.1.1

crs="urn:ogc:def:crs:EPSG::4326"

WFS 2.0.0

srsName="http://www.opengis.net/def/crs/EPSG/0/4326";

WMS 1.3.0

<CRS>EPSG:4326</CRS>

Is this something that users just need to know and accept?

-Jukka Rahkonen-



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to