On Thu, Jul 14, 2011 at 5:35 PM, Ivan Willig <[email protected]> wrote:
> I think that those images where way to large to post to the mailing list
> and the email was blocked. Sorry if the email was sent twice.
>
> Here is the first map
> http://imagebin.org/163098
>
> And here is the second map.
> http://imagebin.org/163099
>
> Ivan Willig
>
>
> Hello, I am working on building a simple web map server. I am using Jetty
> and a PostGIS Datastore. I have this very strange bug that seems to occur
> because some class is not being loaded correctly.
>
> I first run my web application with the maven jetty plugin. I attempt to
> render data that is in EPSG:4326 and the images are flipped flopped. The
> results of this is the first attachment. As you can see it looks like the
> images are flipped; left to right and top to bottom. At first I thought I
> was incorrectly creating my extent with a ReferencedEnvelop, but I don't
> think that is the case.
>
> So here is the tricky party, I made a modification to my code base and the
> maven jetty plugin reloads my application.
>
> At this point everything looks like its working. You can see the results in
> the second attachment. Do I need so set some hit or something?
>
>
By the looks of it each tile is flipped, you're problably hitting an axis
order issue.
Try to set this at the very beginning of your app, before anything else
happens:
System.setProperty("org.geotools.referencing.forceXY", "true");
No idea why it works for you after a reload though, maybe you are setting
the above,
but too late in the code?
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users