Re: [gdal-dev] Specify data type on opening a netcdf

2020-07-31 Thread Federico Gianoli
egetation Index 333M missing_value=255 NETCDF_VARNAME=NDVI scale_factor=0.004002 valid_range={0,250} _FillValue=255 Il giorno ven 31 lug 2020 alle ore 15:37 Even Rouault < even.roua...@spatialys.com> ha scritto: > On vendredi 31 juillet 2020 15:04:45 CEST Federico Gianoli wrote:

[gdal-dev] Specify data type on opening a netcdf

2020-07-31 Thread Federico Gianoli
es causing rounding errors. float 32 to float64 (wrong): [0.916518, 0.92052] > 0.92 --> [False, True] WRONG flaot32 to float32 (correct): [0.916, 0.92] > 0.92 --> [False, False] CORRECT Is there a way to specify the input data type? I'm not able to find a solution

[gdal-dev] Build libecwj2 3.3 with GCC 4.9

2015-08-13 Thread Federico
Hello list, I'm trying to libecwj2 3.3 for GDAL 1.11.0 Under Ubuntu 14.04 i386 i have not compilation problems after applying this patch. But i have troubles when i try to compile on Windows XP x86 and Windows 7 x64 using GCC 4.9 I've read several ticke

[gdal-dev] Problems with WMS minidriver

2015-04-28 Thread Federico
Hi guys, i'm trying to get a wmts layer but i'm getting an error. I think that i'm doing something wrong but i don't what's wrong. URL: http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts GetCapabilities: http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?service=WMTS&request=GetCapabilit

[gdal-dev] Gdal and SQLite

2014-12-23 Thread Federico Jurio
select min((asd*)) MINASD from Geo1 Can someone help me with the correct expression? Thanks in advance! Regards -- Federico Jurio SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Argentina Tel. +54 (11) 4342-2976/84 federicoju...

Re: [gdal-dev] Snap point to vertex/segment

2014-12-12 Thread Federico Jurio
sing OGR instead of GEOS library. Regards On Wed, Dec 10, 2014 at 10:12 PM, Dmitry Baryshnikov wrote: > > Hi Federico, > Does the Project method of OGRLineString not suits you? The point snap to > nearest point, the point on line via the project, and point on polygon via > cast t

[gdal-dev] Snap point to vertex/segment

2014-12-10 Thread Federico Jurio
int to the nearest vertex/segment in that geometry but i don't know how to find the new coordinates. It would be helpful if someone could help me! Regards -- Federico Jurio SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Argentina T

[gdal-dev] Multipolygon errors

2014-05-26 Thread Federico Jurio
ases only shows one of the two geometries and i don't know why only one. Any advice would be greatly appreciated. Thank you for your time. Best regards -- Federico Jurio SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Arg

[gdal-dev] (no subject)

2013-11-08 Thread Federico Jurio
o test.vrt* INFO: Open of `test.vrt' using driver `VRT' successful. 1: test (Point) Does anyone have any idea of why TestCapability returns false? Thanks in advance, Regards -- Federico Jurio SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciuda

[gdal-dev] Buffer unit

2013-10-09 Thread Federico Jurio
Dear all, I am using WGS84 (4326) and would like to buffer based on meters and not degrees. I have two possible solutions 1) One minute of Latitude = 1852 Meters So one degree = 60 * 1852 meters = 111,120 meters 2) Project the center to something in meters or feet. Buffer that point. Project the r

Re: [gdal-dev] Buffering geometries

2013-10-01 Thread Federico Jurio
Thank you again, regards! On Tue, Oct 1, 2013 at 5:16 PM, Even Rouault wrote: > Le mardi 01 octobre 2013 22:05:55, Federico Jurio a écrit : > > Thank you for your advice Even, it works perfectly! > > i have another issue, what is the unit of dfDist from > > Buffer< &

Re: [gdal-dev] Buffering geometries

2013-10-01 Thread Federico Jurio
Thank you for your advice Even, it works perfectly! i have another issue, what is the unit of dfDist from Buffer<http://www.gdal.org/ogr/classOGRGeometry.html#ab34b27e2c8812a0fc1dccf055b11d1a2> ? On Tue, Oct 1, 2013 at 4:02 PM, Even Rouault wrote: > Le lundi 30 septembre 2013 23:12:30,

[gdal-dev] Buffering geometries

2013-09-30 Thread federico
Dear all, i'm trying buffer some geometries with GDAL. I have success with poligons and lines but i can't create the buffer when i try to do the same procedure with an OGRPoint. Here is a screenshot with the buffer http://i.imgur.com/rRQuooc.jpg I'm using the Buffer function from OGRGeometry Clas

[gdal-dev] Calculating polygon area

2013-05-28 Thread Federico Jurio
enwich\",0],UNIT[\"degree\",0.0174532925199433],AUTHORITY[\"EPSG\",\"4326\"]]" Thanks for your patience -- Federico Jurio SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Argentina Tel. +54