[GRASS-user] v.out.ogr kml error
heamaya at gmail.com
Fri Jan 8 15:39:54 EST 2010
Thank you guys you have been quite helpful, there are a few things I would
like to comment. First of all the first time I used v.out.ogr to export the
generated contours to kml I did it over contours build up over an
overgeoreferenced raster, what I mean is that I had a georeference bigger
than the raster I was working on, so after filling nulls all around the
raster I've got some weird contours on the edges of the raster, that's way I
think v.out.ogr didn't work.
After that I worked with a raster that fitted with the georeference and I
could easily perform the v.out.ogr to kml export. But then I founds some
contours were twisted lines that made me dizzy.
I tried the v.generalize to simplify the vector and the problem was that I
had been working on a big extend of a province of my country, so some
regions of it have mountains and others are very flat. Thus, generalization
didn't work as I would have liked.
After that I decided to work over a small extend and luckily I have gotten
magnificents results without needing to run v.generalize, of course
v.out.ogr to kml export worked properly.
> Hi everyone! I have created a contour map from a SRTM elevation model,
> after filling nulls, filling depressions and creating the contour map I
> need to export it to kml.
> I have used the following command
> v.out.ogr input=srtm_contours dsn=/home/henry/srtm_contours.kml format=KML
> WARNING: Vector map <srtm_contours> is 3D. Use format specific
> layer creation options (parameter 'lco') to export in 3D rather
> than 2D (default)
> Exporting 360384 points/lines...
> 360384 features written
> The thing is that if I try to open the generated file with google earth it
> gets hanged...
> Arterwards I tried to add this to the command:
> Neither I've gotten a good result. Does this problem have to be with "lco"
> parameter? Because I really don't know what to put in that parameter, and
> I really need to get the contours over google earth.
> Any help will be appreciated. Thanks in advance.
View this message in context: http://n2.nabble.com/v-out-ogr-kml-error-tp4264064p4274779.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user