[OSM-newbies] Limiting labels using vector in Google Earth

Charlotte Wolter techlady at techlady.com
Sat Jul 20 20:07:32 UTC 2013


Kris,

         For those of us who are not techies, this is all Greek.
         I think this kind of question belongs on the JOSM list or 
something equally advanced.

Charlotte Wolter


At 12:44 PM 7/20/2013, you wrote:
>Hello,
>
>I selected a vector only data approach to viewing OSM data from 
>geoserver in Google Earth.  It is pretty simple:
>
>A Geoserver OSM layer (line or polygon) is served via WMS, in vector 
>form, to Google Earth.  For my label styling I am using the 
>property: name.  It seems that with KML/Google-Earth, if the feature 
>doesn't have a name attribute, Google Earth displays the Geoserver 
>layer name and a feature ID in its place.
>
>This is rather annoying to look at and I just assume the feature 
>have no label at all.  I seem to be able to achieve this with 
>raster, but not when Google Earth is rendering the data for me.
>
>Any ideas?
>
>
>Also, I'm trying to figure out how to display labels where if the 
>attribute:name doesn't exist, the styling falls back on 
>attribute:ref and if it doesn't exist, display nothing.
>
>Thanks,
>
>Kris
>_______________________________________________
>newbies mailing list
>newbies at openstreetmap.org
>http://lists.openstreetmap.org/listinfo/newbies

Charlotte Wolter
927 18th Street Suite A
Santa Monica, California
90403
+1-310-597-4040
techlady at techlady.com
Skype: thetechlady

The Four Internet Freedoms
Freedom to visit any site on the Internet
Freedom to access any content or service that is not illegal
Freedom to attach any device that does not interfere with the network
Freedom to know all the terms of a service, particularly any that 
would affect the first three freedoms.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20130720/801ca63f/attachment.html>


More information about the newbies mailing list