Il mar 26 set 2023, 09:07 Stefan Blumentrath ha
scritto:
> Hi Luca,
>
Hi Stefan,
>
> You could parse the gdal config version output into an environment
> variable and then specify the version in requirements.txt like this:
> GDAL==${GDAL_VERSION}
>
Thanks a lot it looks a good solution
>
> Ch
Hi Peter,
Il mar 26 set 2023, 16:33 Peter Schmitt ha scritto:
> I know you mention requirements.txt, but I write my setup.py with a
> function that uses gdal-config to get Python bindings for the version of
> GDAL I have installed. It looks something like this:
>
Thanks for your help but I'm l
Hi everyone,
I would like to know if it is possible to set GDAL version in the pip
requirements file using gdal-config of the machine running the
installation, I tried some different ways but I was not able to do it,
also leaving GDAL without any specified version doesn't work because
it takes the
On Fri, 27 Mar 2020 at 13:17, Even Rouault wrote:
>
> Luca,
>
Hi Even,
>
> NUTS_NAME IN ('Nordburgenland', 'Waldviertel', ... )
>
this is working, thanks
>
>
> I've also submitted a fix so that those many OR can be supported:
>
> https://github.com/OSGeo/gdal/pull/2355
>
thanks!
>
> Even
>
-
Hi devs,
I need to extract several features (around 190) from a geojson file. I
build the where condition string but when I run it I get this error
ERROR 1: Too many recursion levels in expression
ERROR 1: SetAttributeFilter(NUTS_NAME='Nordburgenland' OR
NUTS_NAME='Waldviertel' OR NUTS_NAME='Wien
Hi all,
I need to use the coordinates information contained in a kml file to
write a wld file.
In the KML I have
47.551729
45.438335
12.736706
9.670600
-1.35
I converted them to UTM WGS84 32N coordinate system
5273247.79
5031864.43
781130.01
552448.98
On 5 August 2017 at 23:13, Jeff McKenna wrote:
> Luca: I have taken Even's feedback and made some more text changes, and also
> added a hillshade DEM (of Frank's home area in Canada) created through GDAL
> 2.2.1 on my machine. It creates a big SVG now, but you/designer can decide
> to keep that i
On 28 July 2017 at 17:38, Even Rouault wrote:
> Hi,
>
Hi,
>
> Is someone interested in creating a flyer for GDAL ? See below
>
I worked on the flyer, but I need some more text and/or an image...
You can see the draft here
https://github.com/lucadelu/osgeo/blob/gdal/marketing/print/gdal_a4.svg
On 28 July 2017 at 17:38, Even Rouault wrote:
> Hi,
>
Hi,
>
> Is someone interested in creating a flyer for GDAL ? See below
>
I'm going to work on it this evening/tomorrow morning...
>
> Even
>
--
ciao
Luca
www.lucadelu.org
___
gdal-dev mailing l
Hi devs,
probably we found a problem with GDAL and HDF format, we are trying to
merge several MODIS tiles but we got a wrong "Corner Coordinates"
These are our input files
gdalinfo MOD11A1.A2012340.h29v05.005.2012342062359.hdf
GRINGPOINTLATITUDE.1=39.99583, 39.99583,
30.0041
On 8 August 2016 at 21:01, Blumentrath, Stefan
wrote:
> Hei Madi,
>
Hi,
>
> Given that you are quite familiar with GRASS GIS here a GRASS / GDAL
> solution:
>
>
>
> 1. Patch all tiles into one VRT with gdalbuildvrt
>
> 2. Link the VRT and the individual tiles to GRASS (r.external)
>
>
On 16 June 2016 at 13:32, Nyall Dawson wrote:
>
>
> I can't help with this, but you may be interested to know that QGIS 2.16
> will natively georeference composer PDF outputs. This feature was added
> during the recent hackfest in Girona.
>
this is cool, do you know if it export the vector as vec
On 26 May 2016 at 17:23, Even Rouault wrote:
>
> Ah ok, so you create a vector dataset then ?
>
it could be both
> Here's the relevant code in pdfwritabledataset.cpp:
>
> double dfRatio = (sGlobalExtent.MaxY - sGlobalExtent.MinY) /
> (sGlobalExtent.MaxX - sGlobalExtent.MinX);
>
> int nW
On 25 May 2016 at 17:12, Even Rouault wrote:
> The following extract from the driver should hopefully answer your questions :
>
more or less yes, now I understood a little bit more but..
> double dfUserUnit = dfDPI * USER_UNIT_IN_INCH;
> double dfWidthInUserUnit = nWidth / dfUserUnit +
On 19 May 2015 at 10:37, Even Rouault wrote:
>
> Luca,
>
Hi Even,
> According to the doc, "x and y are in user units from the lower left corner of
> the page"
>
I have other two questions:
- is it possible to calculate the maximum x and y in user units? I
tried using the difference between max
On 18 May 2016 at 18:30, Frank Broniewski wrote:
> Hi Luca,
Hi Frank,
>>
>> I developed a plugin for QGIS to export layers (vector and raster) to
>> geospatial PDF using GDAL library.
>> I'm waiting the authorization from the customer to publish it in the
>> plugin repository.
>
> this sounds in
On 18 May 2016 at 16:50, Frank Broniewski wrote:
> Hi,
>
Hi,
> I want to turn my QGIS map composer PDF into a GeoPDF or a geospatial PDF.
I developed a plugin for QGIS to export layers (vector and raster) to
geospatial PDF using GDAL library.
I'm waiting the authorization from the customer to p
On 19 May 2015 at 10:37, Even Rouault wrote:
>
> Luca,
>
Hi Even,
I'm back on this topic because it seems that EXTRA_IMAGES is not
working (at least for me) with GDAL 1.11.3
ogr2ogr -f PDF -lco COMPRESS=Deflate -lco DPI=72 -lco WRITE_INFO=NO
-lco EXTRA_IMAGES=23hq.jpg,100,100,1 /tmp/provaogr2og
On 18 April 2016 at 09:50, Even Rouault wrote:
> Le lundi 18 avril 2016 09:35:09, Luca Delucchi a écrit :
>> Hi devs,
>>
>> I'm trying to compile gdal on Centos OS with no root access, I would
>> like to compile it with hdf4 support. If I compile without hdf4 it
Hi devs,
I'm trying to compile gdal on Centos OS with no root access, I would
like to compile it with hdf4 support. If I compile without hdf4 it
compile correctly but when I try to ad hdf4 I got the following error
(I compile libjpeg and hdf4 by myself)
/usr/bin/ld: /pico/home/usertrain/a08tra27/
Hi all,
I have a problem reading a PCIDSK/PCIDSK Database File (probably
created with ENVI software).
It seems that GDAL is not able to read the coordinate system [0], I
read on the help page of this format that sometimes this can happen,
how to fix this?
should I convert all this files using -a_s
Hi devs,
PDF driver is actually supporting only 8 bit band, and if I try to
create a layer using CreateCopy function with a dataset different from
8 bit I get "ERROR 6: PDF driver doesn't support data type UInt16.
Only eight bit byte bands supported."
I try to catch this error using try/except bu
On 7 October 2015 at 13:18, Even Rouault wrote:
>
> Luca,
>
Hi Even,
> I'm not completely sure if this is the reason, but there's at least something
> to correct related to the use of:
>
> self.feat_defn.AddFieldDefn(style_field)
>
> Quoting OGRFeatureDefn::AddFieldDefn() documentation
> http:/
Hi everybody,
I'm fixing some problem with a QGIS plugin, and I'm fighting with a
problem with postgis OGRFeature that it crash QGIS for a
__GI___libc_free problem. The log of gdb is available here [0].
The error appear at the end of write_layer_single function (line 204)
during the return of thi
On 3 September 2015 at 17:42, Even Rouault wrote:
> Le jeudi 03 septembre 2015 17:34:27, Luca Delucchi a écrit :
>> target_ds = gdal.GetDriverByName('MEM').Create('', xcount, ycount,
>> gdal.GDT_UInt32)
>
> You should add ,1, between ycount and gdal.GDT_
Hi devs,
I'm trying to rasterize a vector layer and convert it to numpy array.
I'm using the gdal.RasterizeLayer function but I have problem to set
the right datatype. I would like to have UInt32 but I got every time
Byte, this is my code
target_ds = gdal.GetDriverByName('MEM').Create('', xcount,
On 23 June 2015 at 16:02, Even Rouault wrote:
> Luca,
>
Hi Even,
>>
>> I'm writing a function to cycle inside the feature and update a column
>> of attribute table, if I print the feature with DumpReadable() I can
>> see the right attributes but when the script finish the final
>> shapefile has
Hi devs,
I'm writing a function to cycle inside the feature and update a column
of attribute table, if I print the feature with DumpReadable() I can
see the right attributes but when the script finish the final
shapefile has no attribute table, any idea?
This is the relevant part of code
feature
Hi devs,
I noticed something strange about the position of EXTRA_IMAGES with
different DPI values.
If I set a value lower than 73 the EXTRA_IMAGE it is added in the
right place, but If I increase the value the EXTRA_IMAGE it is moved
up from the correct point.
Is this normal or a bug?
Is there
On 13 May 2015 at 09:30, Vankadara, Sunil
wrote:
> Hi Jukka,
>
Hi devs,
I did several test, and
>
> I could understand from your mail that the mediabox is nothing but the image
> size in terms of width and height and the user unit is nothing but each
> pixel size.
>
>
>
> Does it mean it is the
On 12 May 2015 at 00:27, Jukka Rahkonen
wrote:
> Luca Delucchi gmail.com> writes:
>
>>
>> On 21 April 2015 at 11:00, Jukka Rahkonen
>> maanmittauslaitos.fi> wrote:
>>
>> >
>> > Hi,
>> >
>>
>> Hi,
>>
>> > I
On 11 May 2015 at 15:52, Jukka Rahkonen
wrote:
>
> Yes, coordinates are image pixels and the anchor point is at the lower left
> corner of the PDF page. From a still mostly valid document
> http://latuviitta.org/documents/Geospatial_PDF_maps_from_OSM_with_GDAL.pdf
>
> "A comma separated list of e
Hi devs,
I'm not understanding how to set the x and y values of EXTRA_IMAGES
specially when I use only vectors.
With raster I could get the dimension of the output geospatialPDF from
the input raster, but with vector I have no idea.
I tried using the coordinates of the bounding box of my layer,
On 21 April 2015 at 11:00, Jukka Rahkonen
wrote:
>
> Hi,
>
Hi,
> I would say "Yes, it may be a bug". If you would like to get a better answer
> you should show us a simple way to reproduce. In this case I think that an
> OGR_STYLE string with your gdal_translate command would be the minimum but
On 17 April 2015 at 15:12, Even Rouault wrote:
>
>
> I can open it. See below. If you tried different ./configure options between
> builds, make sure to make clean before rebuilding, otherwise files might not
> get recompiled
>
Ok, rebuild from scratch it works.
Last question, I have GeospatialP
On 17 April 2015 at 13:27, Even Rouault wrote:
> Le vendredi 17 avril 2015 13:11:15, Luca Delucchi a écrit :
>> On 13 April 2015 at 13:25, Luca Delucchi wrote:
>> > Hi all,
>>
>> Hi devs,
>> some updates
>>
>> > For vector it seems quite si
On 13 April 2015 at 13:25, Luca Delucchi wrote:
> Hi all,
>
Hi devs,
some updates
>
> For vector it seems quite simple, just writing a new vector and insert
> all features but I'm not able to create it, my code [0] is not
> returning any error but I cannot find the outp
On 17 April 2015 at 10:33, Even Rouault wrote:
>
> Luca,
>
Hi Even,
> it is documented in http://gdal.org/frmt_pdf.html that id is only supported on
> SYMBOL for PDF export, but not on PEN and BRUSH.
Sorry, I read PDF document some time ago and I forgot it, I should check again
> For dashed l
Hi devs,
I'm working on a QGIS plugin to export GeospatialPDF.
I have problems to use the "Symbol Name" according to OGR style feature page [0]
The "Symbol Name or ID" of SYMBOL Tool are working really well but the
"Symbol Name or ID" of PEN and BRUSH are not working for me.
these are the style
Hi all,
I'm trying to create a new GeospatialPDF using Python.
I should be able to create GeospatialPDF with vector, raster and both.
For vector it seems quite simple, just writing a new vector and insert
all features but I'm not able to create it, my code [0] is not
returning any error but I ca
Dear all,
I'm proud to invite you to the FOSS4G-Europe 2015 code sprint, in Como Italy.
The sprint will be held the last day of the conference, 18th July. For
more info please read the wiki page [0]
Please add your name and the project that you are interested in, to
the wiki page [0], to help or
Hi devs,
I have problems with the gdal grass plugin and grass70.
The first problem is with compilation I try but I had the following problem
cd gdal-grass-1.11.2/
sh configure --with-grass=$HOME/software/grass70/dist.x86_64-unknown-linux-gnu
...
config.log
configure:3017: checking for G_putenv
On 13 February 2015 at 14:18, Dmitriy Baryshnikov wrote:
> I agreed with Angelos.
> My +1
>
I also agree with Angelos, +1 for option 1
> Best regards,
> Dmitry
>
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
gdal-dev mailin
On 2 September 2014 16:06, Even Rouault wrote:
>
> Just as suggested by the error message, your polygon is not closed. You must
> repeat the first point as last point to form a valid polygon.
>
The problem was in the input json file, I created it with only four
point, and I forgot the fifth (the
Hi everybody,
I created a script to filter some lidar data, and It worked perfectly
some weeks ago.
Now I have to run with different data but I obtain the following error
when I try to overlaps two geometry.
ERROR 1: IllegalArgumentException: Points of LinearRing do not form a
closed linestring
On 25 July 2014 15:23, Even Rouault wrote:
>
>> Hi all,
>>
>> I would like to create a Geospatial PDF with several vectors, is it possible?
>
> That should be possible yes.
>
>>
>> I tried with ogr2ogr but it failed,
>
> How ?
>
- first attempt
ogr2ogr -f PDF trentino.pdf zps_trento.shp grafo.sh
Hi all,
I would like to create a Geospatial PDF with several vectors, is it possible?
I tried with ogr2ogr but it failed, reading the documentation I found
EXTRA_RASTERS to add several raster but not EXTRA_VECTORS. There is
OGR_DATASOURCE but the documentation say that it is used "to display
on t
On 27 April 2014 11:20, Even Rouault wrote:
> Luca,
>
Hi Even,
> very few drivers (and formats) support AddBand (the only ones are MEM and
> VRT), mostly because it would imply in most cases to completely rewrite the
> structure of what is already on disk.
>
ok,
> Currently, with current code,
Hi everybody,
I'm working with HDF4Image and Python bindings, I would like to add
new band after create the layer.
When I try to use AddBand function it return:
ERROR 6: "FILENAME" Dataset does not support the AddBand() method.
It should be possible to make possible to use AddBand() also for th
On 16 April 2014 16:00, Even Rouault wrote:
Hi Even,
>
> Calling
>
> dst_ds.GetRasterBand(X).SetNoDataValue(nv)
> dst_ds.GetRasterBand(X).Fill(nv)
>
> before gdal.ReprojectImage() should do what you want.
>
Yes, it seems correct.
I have to test it a little bit more but the first results are goo
I everybody,
I'm using Python ReprojectImage function to reproject some images but
there is no way to assign nodata value.
There was already a request for help about one year ago [0], there are
some news?
Otherwise could I open a ticket? is it a bug or enhancement?
Thanks a lot for any hints
[0
51 matches
Mail list logo