v.out.ogr kml does not add name field

3 messages Options
Embed this post
Permalink
maning sambale

v.out.ogr kml does not add name field

Reply Threaded More More options
Print post
Permalink
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/
------------------------------------------------------
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Hermann Peifer

Re: v.out.ogr kml does not add name field

Reply Threaded More More options
Print post
Permalink
Works fine for me with Grass 6.4 from SVN.

Which version are you using?

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
maning sambale

Re: Re: v.out.ogr kml does not add name field

Reply Threaded More More options
Print post
Permalink
It works using ogr2ogr.

On Thu, Oct 15, 2009 at 12:45 AM, Hermann Peifer <[hidden email]> 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
> [hidden email]
> 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/
------------------------------------------------------
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user