On Wed, Sep 26, 2012 at 5:49 AM, Ben Caradoc-Davies <
ben.caradoc-dav...@csiro.au> wrote:
> Justin,
>
> all the test data is in longitude/latitude order (the roads set is similar
> and labelled with Manhattan street names!). LabelObstacleTest was broken
> because it was setting up the fixture data with:
>
> SimpleFeatureTypeBuilder tb = ...
> tb.setSRS("epsg:4326");
>
> which does not force longitude first. This was unnoticed until the
> MemoryDataStore fix by Sebastian Graca [GEOT-4257]. I am testing a patch
> that changes LabelObstacleTest to use:
>
> tb.setCRS(CRS.decode("EPSG:**4326", true))
>
> I will push it if it resolves the issue.
>
I agree this should be the way to decode the SRS
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel