Updated Use Cases (markdown)

tschaub
2013-04-04 08:20:36 -07:00
parent 0eb5b5b3b3
commit b71c9ec7c9
+2
@@ -38,6 +38,8 @@ _Questions/comments from Eric:_
How do we know that the transform's source projection is EPSG:4326? It's not specified anywhere in the application code. Maybe you assume that the user/external projection is EPSG:4326 by default?
**Answer from Tim**: GeoJSON describes the CRS. For formats that don't describe their CRS, the user would provide a projection property on the source.
You say that "This alternative can be implemented if the layer knows the map projection". Why? The layer renderer knows about the map/view projection, so I think it could be the one providing the projection (the transform's target projection). As I see it the transform operation would occur during the first `render` pass, the one occurring when the layer is added to the map.
I've also been thinking about where to store the transformed data. But before that: in most cases, do we really want/need to store both the original data and the transformed data? I'd say no.