Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] missing prj files



Here's a proposal for how things should operate when layers do not have CRSs. Let me know where you disagree:

1.  Empty map.  Just show the data
2. Add a prj-less layer to a map with all prj-less layers. Just display it all in the more or less cartesian projection 3. Add a prj-less layer to a map with the a SRS then the layer will display if the coords are the same 4. Add a referenced layer with the same srs to a map with all prj- less layers then the map will ... 5. Add a referenced layer with a different srs to a map with all prj- less layers then the map will ...

4 and 5 are slightly more difficult. I noticed that right now the projection will be set if the map does not have an SRS. There are 4 options:
1.  The map stays with the *Generic* CRS and zooms to the new layer
2.  The map stays with the *Generic* CRS and the bounds stay the same
3.  The map changes CRS to the new layer and zooms to show the new layer
4.  The map changes CRS and doesn't zoom.

It think I'm in favour of 1 on the principal of least surprise.


What about warnings. 1 warning may be ok but I dont want anymore than that.


Note: I am currently testing Shapefiles only. I don't know how this affects WMS. Might be interesting to look for bugs there too.

Jesse



Back to the top