Jeroen hit the nail on the head... Users want the ability to choose..
but they also want predictability, I would say the latter is even a
prerequisite for the first. Axis order behaviour and which db system to
use are orthogonal choices for users. Using a different CRS database
system should never change axis order behaviour and the documentation
should always be respected.
Regards
Niels
On 02-03-15 07:52, Dries Jeroen wrote:
Quite a coincidence, I've also been wrestling with axis order last
week, and also found that the documentation did not appear to be
correct! The way I expect it to work is for gt-epsg-wkt to be a drop
in replacement for gt-epsg-hsql, so no difference in axis order, I
think it's confusing enough as it is. The original reason I personally
started to use the wkt version is a dependency conflict with hsqldb, I
also continued to use it because if I use Geotools for instance on
Hadoop, it sometimes creates a lot of short living processes, and I
don't want it to do this database setup. Also note that I generally
only use a couple of predefined reference systems, so there's no need
to have the full DB.
I would also suggest that we at least try to keep the axis order
consistent if you use the long form, as that is what most people in
the OGC community are doing. If a major implementation like
geotools/geoserver starts to deviate from this in certain
implementations, than we're back to where we started in the whole axis
order mess.
best regards,
Jeroen
Jeroen Dries
*TAP* - Centre for Remote Sensing and Earth Observation Processes
VITO NV | Boeretang 200 | 2400 Mol
tel. +32 14 33 55 11 | [email protected] <mailto:[email protected]>
cid:[email protected]
<http://www.vito.be/>cid:[email protected]
<http://www.linkedin.com/company/17947>cid:[email protected]
<http://twitter.com/#%21/vitobelgium>cid:[email protected] <https://www.facebook.com/VITObelgium>
------------------------------------------------------------------------
*Van:* [email protected] [[email protected]] namens Andrea
Aime [[email protected]]
*Verzonden:* vrijdag 27 februari 2015 12:55
*Aan:* Niels Charlier; Dries Jeroen
*CC:* Ben Caradoc-Davies; [email protected]; Jody
Garnett
*Onderwerp:* Re: [Geotools-devel] axis order blues
On Fri, Feb 27, 2015 at 12:34 PM, Niels Charlier <[email protected]
<mailto:[email protected]>> wrote:
On 27-02-15 11:52, Andrea Aime wrote:
On Fri, Feb 27, 2015 at 11:34 AM, Niels Charlier <[email protected]
<mailto:[email protected]>> wrote:
Hmm yeah I figured it had something to do with that. Thanks
for the
detailed explanation, Ben.
But my question remains: should gt-epsg-wkt be allowed to
produce the
wrong CRS in the first place?
As far as I remember gt-espg-wkt always had east/north
orientation in all CRS,
and people keep on using it like this.
I'm afraid changing the axis order now would break all existing
users of
this module (e.g., I know of GeoServer customizations that use it
instead of
epsg-hsql because they don't want databases to be created around, and
they don't give a damn about OGC/EPSG axis order, they actually
want everything
east/north)
Isn't it unlikely that those users use the URI syntax. The
geotools documentation claims that when you use the URI syntax the
result is always perfectly predictable... quod non.
As said, there are customized GeoServer versions using it, so the use
of URI syntax is highly likely.
Jeroen, I believe you're doing that right? Using epsg-wkt in GeoServer
instead of gt-espg-hsql?
Can you talk about how you're using it, context and so on, also
related to axis flipping?
Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
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.
-------------------------------------------------------
VITO Disclaimer: http://www.vito.be/e-maildisclaimer
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel