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

maning sambale emmanuel.sambale at gmail.com
Thu Oct 15 19:43:12 EDT 2009


It works using ogr2ogr.

On Thu, Oct 15, 2009 at 12:45 AM, Hermann Peifer <peifer at gmx.eu> wrote:
> Works fine for me with Grass 6.4 from SVN.
>
> Which version are you using?
old grass6.4svn

> Hermann
>
>
> maning sambale wrote:
>>
>> 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.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
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