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

2009-10-15 Thread maning sambale
It works using ogr2ogr.

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


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

2009-10-14 Thread Hermann Peifer

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


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user