|
Drawings, and also maps, don't really need the offset/scale used by rasters, so I'm interested in learning what the reasoning is there. Tim says it helps speed rendering, but I don't see why - can someone clarify that for me? It's not a rendering speed thing as small things like that are irrelevant given what already must go on in the rendering pipeline. It is done to make assumptions explicit, to allow more general usage. Manifold is the only software I've seen that includes the raster offset/scale in the projection metadata. "Usually", these are separated into the raster "transform" - the storage of a corner position and the pixel size, and the "projection" - the coordinate system (cs), cs parameters, datum, false offsets, unit, unit type and scale correction. If Cartesian offsets/scales are in play they are indeed part of the assumptions that define the coordinate system being used. Manifold does its best to make those assumptions explicit and to maintain them accurately at all times. It's just like Lat/Lon not being unambiguous if you exclude the assumption of what datum is being used (a whopper of an assumption). For some folks the datum is not part of the Lat/Lon "projection." But it is, and if you don't carry that along as a fundamental property of the data you lose that information, as formats which take latitude and longitudes as some sort of universally precise language will lose. Likewise for offset/scale - it is a property of the projection scheme that makes sense to expose/maintain in the same place as other projection info. If they are to play nicely with other data, Manifold drawings which have been created near raster data should be checked to see whether they have "rasterish" offsets and scales. If a drawing has, it should be reprojected before being exported. and "This projected data may not be positioned correctly by software that assumes an origin at grid location (0, 0)". Yes. If you create a drawing based on an image and the software guarantees you that the drawing will inherit the coordinate system from the image, well, the software darn well better do that. None of this "I'll say it's the same projection but in fact I'll make it different by altering a key assumption, such as assuming a different origin." Manifold is one of the few software packages that seeks to provided a unified environment for working both with images and drawings so it will indeed end up exposing some "rasterish" ideas within drawings. Some non-GIS packages also will use offset/scale with vector data, where it is useful to expose/manipulate/maintain those parameters to mash the data into the form preferred. I don't disagree there are simplifications that could be made, assumptions that could be brought into play to make it easier for one constituency or another. But then you have the need to educate folks as to the operation of those simplifications and assumptions that you make. The current Manifold approach is to expose whatever factors are in play as explicitly as possible and let folks make their own decisions how they want to manipulate data to pipe it into various formats. Keep in mind that all this fuss is talk about how to best lobotomize data to make it fit into a format, shapefiles, that is limited in what it can store. Keep your data in a rich environment like Manifold itself and there is absolutely no issue, because the software maintains all that for you at all time. The question is how to cast that data into a simpler format. There is a broad range of automation that could certainly be done when exporting to legacy formats like shapefiles that have profound limitations. Manifold already does some of that, like automatically splitting out points, lines and areas from one drawing into a triplet of shapefiles. There is already some column name simplification as well. So sure, you could have simplification and automation of projected data as well. One end of that could be that Manifold always re-projects shapefile data into lat/lon WGS84 (0,0) origin form, and that's that. No projected data allowed. Another approach could be to offer to write a PRJ using a specified WKP set of allowed projections. If it doesn't fit into that allowed set, no export allowed until you re-project it. A third could be automated re-projection into the "most similar" projection from a WKP set of allowed projections. It's really no big deal one way or another, but given the very many constituencies Manifold serves it is almost certain that whatever is done to serve some constituencies will raise howls from others. So it makes sense that the company wants to hear from users to see what scheme, if any, users prefer. If people don't care enough about this to ask for one thing or another, well, there are many other things which people care so much about that they send in thousands of requests so there is no lack of things which the user community wants that should be done. A good example of that is that virtually no one, darn near absolutely zero, has lobbied for a change in shape export. In contrast, what is frequently requested is the ability to edit shapefiles "in place." That is, to be able to link a shapefile into Manifold and edit it on the fly. That soon will be available. My own suggestion internally for some years has been that Manifold should seize the opportunity to throw a wrench into ESRI's works, and to hijack the shapefile format by introducing a Shapefile Plus format, which would be shapefiles extended/modernized in an expert way. It would be fun to publish a "PRJ Format Definition" document that's official-looking and widely distributed that includes an accessory file providing the equivalent of WKP in a handy XML form so that developers all over the world that want to use shapefiles can incorporate it easily (you know how most developers are... rationally choosing the path of least resistance!). You could even introduce a WKS (Well Known Shapefile) OGC-like construct for spatial DBMS storage, a sort of more sensible personal geodatabase or SDE thing. We could then all have a rational shapefile format that actually worked and which had none of the problems endlessly discussed in threads like this. ESRI would hate that, because that would work against their desire to prevent the commoditization of shapefile format, that is, the ability for people to use shapefile format to not have to use ESRI products. My idea has never gotten traction internally because you can deliver more utility and power to users by working on modern technology instead of old technology. It seems a shame to spend time on fixing a decades-old format, sort of like coming up with a tape cassette cartridge that is more jam resistant in an era of MP3 music.
|