Peter,
I was looking for that, thanks. I have tested it against the new nc_spm_05 mapset with both NO success and success (see link below) and the following error twice icontransparency=255/Applications/GRASS-6.3.app/Contents/Resources/ scripts/v.out.kml.sh: line 471: ${$THE_OGR_PATH}: bad substitution

First from the popup menu
**************************
v.out.kml.sh -l [EMAIL PROTECTED] output=/Users/adiez/Desktop/ pruebakmloutgrass.kml color=00:200:00 transparency=255 fcolor=00:100:00 ftransparency=255 size=1 iconcode=1 iconpalette=1 iconcolor=00:200:00 icontransparency=255 /Applications/GRASS-6.3.app/Contents/Resources/scripts/v.out.kml.sh: line 471: ${$THE_OGR_PATH}: bad substitution
Location latlon_location_8464 created!

Input Projection Parameters: +proj=lcc +lat_1=34.33333333333334 +lat_2=36.16666666666666 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000
Input Unit Factor: 1

Output Projection Parameters: +proj=longlat +no_defs +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000
Output Unit Factor: 1
Re-projecting vector map...
WARNING: Default driver / database set to:
         driver: dbf
         database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
dbmi: Protocol error
WARNING: Cannot create new table
dbmi: Protocol error
WARNING: Cannot copy table
Building topology ...
355 primitives registered
Building areas:  100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids:  100%
Topology was built.
Number of nodes     :   266
Number of primitives:   355
Number of points    :   0
Number of lines     :   355
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0
ERROR: Could not find input vector map <[EMAIL PROTECTED]>
-f KML /Users/adiez/Desktop/pruebakmloutgrass.kml.raw [EMAIL PROTECTED] /Applications/GRASS-6.3.app/Contents/Resources/scripts/v.out.kml.sh: line 571: FAILURE:: command not found
ERROR:  aborted.
*******************
Then from cli, after copying [EMAIL PROTECTED] to roadmajors at current mapset
******

v.out.kml.sh -l map=roadsmajorc output=/Users/adiez/Desktop/ pruebakmloutgrass.kml color=00:200:00 transparency=255 fcolor=00:100:00 ftransparency=255 size=1 iconcode=1 iconpalette=1 iconcolor=00:200:00 icontransparency=255/Applications/GRASS-6.3.app/ Contents/Resources/scripts/v.out.kml.sh: line 471: ${$THE_OGR_PATH}: bad substitution
Location latlon_location_8938 created!

Input Projection Parameters: +proj=lcc +lat_1=34.33333333333334 +lat_2=36.16666666666666 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000
Input Unit Factor: 1

Output Projection Parameters: +proj=longlat +no_defs +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000
Output Unit Factor: 1
Re-projecting vector map...
WARNING: Default driver / database set to:
         driver: dbf
         database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
Building topology ...
355 primitives registered
Building areas:  100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids:  100%
Topology was built.
Number of nodes     :   266
Number of primitives:   355
Number of points    :   0
Number of lines     :   355
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0
Exporting 355 points/lines...
100%
355 features written
-f KML /Users/adiez/Desktop/pruebakmloutgrass.kml.raw roadsmajorc.sh

See for results, in green grass kml

http://www.uv.es/adiez/images/grassoutkml.png

On Jul 10, 2007, at 9:53 AM, [EMAIL PROTECTED] wrote:

Hello,

there is a new add-on script to create KML from GRASS vectors.

It is available at
http://grasslab.gisix.com/scripts/v.out.kml/
and also linked under
http://grass.gdf-hannover.de/wiki/GRASS_AddOns

It works pretty good for me, but please send feedback if things need to be improved.

Peter


--
Dr. Peter Löwe
<[EMAIL PROTECTED]>





Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to