Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Article about geotools and uDig

On 12/04/2010, at 5:57 PM, Matthias Lendholt wrote:

> There is (or: was?) no configuration possibility in uDig to disable the CRS button. And for this project we were forced to block the button. It was a big RCP application with several 'map-free perspectives' and business logic and most users were not GIS-aware. This button was to much confusing and all our data was lat/lon (WGS84). Call it a dirty method but it was an easy and fast solution :-)

This is one of those ask and/or submit a patch cases :-) Chances are we could hide the button unless a specific action set was turned on or something. If you are still interested we should consider ways to hide the status line and CRS button etc.

> The outline map was developed for this project and it shouldn't be a problem to donate it back to uDig but it is more or less hardcoded to WGS84:
> A IViewportModelListeneris added to the map's viewport and on event the rectangle on the outline world map is redrawn. The conversion (world to image coordinates) is done manually (not using GeoTools) in the PaintListener and currently only handles lat/lon coordinates. And the PaintListener draws either a crossline or a rectangle (like on the screen shot) if the resulting bounding box on the outline map is > 2x2 pixel. As Matthias Basler wrote: other CRS wouldn't end up in other shapes and this has not been implemented.

Still it looks great :-)

There is also an improvement in the form of a navigation view that moovida was working on; perhaps between the two we could make something nice and simple for udig core?

Jody

> 
> Cheers,
> Matthias Lendholt
> 
>> In the fifth part they focus on the layers and their data sources and why connecting to a database can be useful for a spatial application.
>> I hope this helps.
>> Andrea wrote:
>>> ...
>>>> What is that "MapInfo" screen and do you think they would donate it back
>>> to uDig core?
>>> 
>>> I was wondering about the exactly same thing when I saw it :)
>>> Matthias, ping! :)
>>> 
> 
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top