Hi all,
I’m wondering if anyone would be opposed to a small tweak in how raster layer output is handled for KML output.
Right now for raster layers the Folder name and GroundOverlay name are identical, “workspace:layername”.
Semantically speaking this is a little odd, since Folder is a higher level, hierarchical container; it doesn’t make much sense for a parent and its children to have the same name.
For vector layers this structure is a little different: the folder is named after the layer, but the individual placemarks are named after the feature itself.
I propose changing the raster layer KML output to be a Folder named after the workspace and the GroundOverlay named after the layer. This would be more in line with the meaning of these elements in KML, plus eliminate the identical names.
Anyone have any thoughts? Is this likely to break people’s workflows?
Cheers,
Devon
Hi Devon,
what you’re proposing seems asymmetric to me, features are contained in a layer folder,
but all rasters are grouped in a workspace folder instead?
Two alternative proposals:
- Have features in a layer folder, and the raster be top level (symmetric top level layer representation, e.g. /layer
- Have all in a workspace folder, and then create a folder for the vector layer, a direct overlay for rasters, e.g. a /workspace/layer structure
By the way, what happens if one asks for multiple rasters or multiple layers in general?
Cheers
Andrea
···
On Mon, Jun 26, 2017 at 10:42 PM, Devon Tucker <dtucker@anonymised.com> wrote:
Hi all,
I’m wondering if anyone would be opposed to a small tweak in how raster layer output is handled for KML output.
Right now for raster layers the Folder name and GroundOverlay name are identical, “workspace:layername”.
Semantically speaking this is a little odd, since Folder is a higher level, hierarchical container; it doesn’t make much sense for a parent and its children to have the same name.
For vector layers this structure is a little different: the folder is named after the layer, but the individual placemarks are named after the feature itself.
I propose changing the raster layer KML output to be a Folder named after the workspace and the GroundOverlay named after the layer. This would be more in line with the meaning of these elements in KML, plus eliminate the identical names.
Anyone have any thoughts? Is this likely to break people’s workflows?
Cheers,
Devon
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Geoserver-devel mailing list
Geoserver-devel@anonymised.com.366…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.