Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Map CRS woes

Hi all,
today I'm wrestling a bit with map CRS.

First of all, I wonder why both image with wld file and maps default to the
EPSG:4326 system. I mean, if the projection is not specified, why do you assume
coordinates are specified in lat/long?
This can lead to very strange results when images are not associated to a
projection file, but are yet projected (since the coordinates go far
beyond the lat/long ranges).
Why haven't you used DefaultEngineeringCRS.Generic2D which, as far as I rememember, was designed exactly for situations in which you don't know
what CRS to use, and have good behaviour when mixing unknown data and data
with a project in the same map (see the Generic2D javadoc)?

Second, when I create a map by using "add to new map" from the catalog, it
would be sensible if the map used the same crs as the chosen GeoResource,
should that GeoResource have one, shouldn't it?

Finally, one curiosity. Why the map CRS is in the viewport instead of the map?
Did you wanted to support multiple viewports for each single map?

Cheers
Andrea



Back to the top