newFeature.SetField('name', u"Calle Garbí, 2".encode('utf-8'))
Luke
-Original Message-
From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Iván Sánchez Ortega
Sent: Monday, 18 April 2011 9:17 AM
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] Tr
Mateeusz wrote:
> Dumping a point cloud to PostGIS and trying to make a vector sense of it
> without any relevant processing has very little sense, IMHO.
Agreed.
>> My goal is to import it in PostGIS and a Java program.
>>
>
> las2ogr should work here.
PostGIS yes, but Java only e.g. via an 'int
Hi all,
I'm working with a script to do some data translation, and it seems it's
failing when trying to set the value of a string attribute field to a UTF-8
string.
I'm attaching a small script that reproduces the error (notice the "í" in
"Calle Garbí"). If someone can point me to the right wa
Thanks. That worked for me.
Chris
On Sun, Apr 17, 2011 at 4:52 PM, Even Rouault
wrote:
> Le dimanche 17 avril 2011 22:10:57, Christopher Dedels a écrit :
> > I am using gdal_grid to create a grid from a point shapefile. gdalinfo
> > reports inverted y-axis coordinates for the output raster.
Stefan Keller wrote:
>
>> Some time ago I have written a tool to dump LAS data to virtually
>> any OGR dataset:
>>
>> http://liblas.org/utilities/las2ogr.html
>
> I'll have a look at http://liblas.org/utilities/las2ogr.html
>
> My goal is to import it in PostGIS and a Java program.
>
las2ogr
Le dimanche 17 avril 2011 22:10:57, Christopher Dedels a écrit :
> I am using gdal_grid to create a grid from a point shapefile. gdalinfo
> reports inverted y-axis coordinates for the output raster. The command I
> am running is:
>
> gdal_grid -ot Float32 -outsize 800 600 -l sites -zfield elev s
I am using gdal_grid to create a grid from a point shapefile. gdalinfo
reports inverted y-axis coordinates for the output raster. The command I am
running is:
gdal_grid -ot Float32 -outsize 800 600 -l sites -zfield elev sites.shp
/tmp/sites.tif
I am using gdal 1.8.0. the output of gdalinfo for
Mateusz,
Thanks for your replies (also to Even). Your answered:
> Some time ago I have written a tool to dump LAS data to virtually
> any OGR dataset:
>
> http://liblas.org/utilities/las2ogr.html
I'll have a look at http://liblas.org/utilities/las2ogr.html
My goal is to import it in PostGIS and