Paul is the shape file mirrored or rotated 90 degrees?

Andrea if you think it will reduce confusion we can the following to the
tutorials:

   System.setProperty("org.geotools.referencing.forceXY", "true");
--
Jody Garnett


On Sat, 1 Jun 2019 at 01:49, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi Jody,
> I believe it's the normal behavior unless one forces lon/lat order via
> hints/system variables?
> I was always weirded out that our demos do not set them by default.
>
> Another possible approach is to hunt down all data sources defaulting to
> east/north order
> and force the axis order while decoding the CRSs (will take some time and
> require writing
> a bunch of new tests of course).
>
> Cheers
> Andrea
>
>
> On Sat, Jun 1, 2019 at 8:34 AM Jody Garnett <jody.garn...@gmail.com>
> wrote:
>
>> What does the PRJ file for your shapefile say? That behaviour sounds very
>> odd.
>>
>> On Fri, May 31, 2019 at 11:16 <paul.m...@lfv.se> wrote:
>>
>>> Hi,
>>>
>>> I’m rather new at GeoTools, an trying to learn it.
>>>
>>> I’ve loaded downloaded the map style tutorial example (
>>> http://docs.geotools.org/latest/userguide/tutorial/map/style.html).
>>>
>>> When I load my shape-file (a simple world counties shape-file in WGS84)
>>> it is drawn mirrored, and when I zoom in counties disappears. The
>>> shape-file works well in Qgis, ArcInfo etc…
>>>
>>> When I use the select tool it finds countries mirrored from where I
>>> pick, it seems that the select tool is correct and finds the correct county
>>> (where it should be in a wgs84 word map), but the country is drawn in the
>>> diagonal quarter and is mirrored.
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>>
>>> Paul
>>> _______________________________________________
>>> GeoTools-GT2-Users mailing list
>>> GeoTools-GT2-Users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>
>> --
>> --
>> Jody Garnett
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to