[GRASS-user] v.out.ogr kml does not add name field

maning sambale emmanuel.sambale at gmail.com
Wed Oct 14 07:44:24 EDT 2009


Hi,

I have a grass vector of provincial boundaries
db.describe -c generalized_adminncols: 3

nrows: 415
Column 1: cat:INTEGER:11
Column 2: region:CHARACTER:15
Column 3: province:CHARACTER:50

Now, I exported the vector to KML polygon using the province
attributes as the KML <name> element.

v.out.ogr in=generalized_admin format=KML type=area dsn=test_kml.kml
layer=1 dsco="NameField=province"
Exporting 220 areas (may take some time)...
 100%
227 features written
WARNING: 7 features without category written

The output KML does not include the province names instead the cat
values are in the KML <name> element.
-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the grass-user mailing list