Re: [gdal-dev] using vsicurl to read metadata of a resource over https with credentials

2023-01-06 Thread Paolo Corti
didn't know it is possible to configure that in a web server. It could be as you say, however I am getting the same error when sending the request without credentials. I'd rather expect for HTTP 401 in that case. thanks again Paolo -- Paolo Corti Geospatial software developer web: http://www.paoloco

[gdal-dev] using vsicurl to read metadata of a resource over https with credentials

2023-01-05 Thread Paolo Corti
his server! gdalinfo failed - unable to open '/vsicurl/https://lh5' Many thanks Paolo [1] https://gdal.org/user/virtual_file_systems.html -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti #drt3jc1

Re: [gdal-dev] vsicurl and HDF5

2023-01-05 Thread Paolo Corti
ng `brew install gdal.` > > > > I just tested with 3.6.2 and also worked fine. ☺ > > I hope it works on your Mac too! > ah it works for me too now! Not sure why I got that error before, but great that works from osx too thanks again -- Paolo Corti Geospatial software develop

Re: [gdal-dev] vsicurl and HDF5

2023-01-05 Thread Paolo Corti
On Thu, Jan 5, 2023 at 6:03 PM Even Rouault wrote: > > Paolo, > > Le 05/01/2023 à 17:56, Paolo Corti a écrit : > > Hi all > > > > Do you know if I can read HDF5 files with vsicurl? > > I made a few tests, but I am getting this error, so I was wondering

[gdal-dev] vsicurl and HDF5

2023-01-05 Thread Paolo Corti
- unable to open '/vsicurl/...myfile.h5'. many thanks in advance Paolo -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti #drt3jc1 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https

Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Paolo Corti
The patch worked beautifully. I could compile GDAL, Java bindings, and now gdalinfo correctly reads .ecw, and so it does GeoServer with the GDAL plugin. Thanks so much, really appreciated! If you will be in Boston for the FOSS4G I owe you a beer at least :) p -- Paolo Corti Geospa

Re: [gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-28 Thread Paolo Corti
ound for this? The only alternative for me would be to install Ubuntu 14.04LTS in the server, where I know that gdal 1.9.2 can be compiled correctly. Thanks p [1] http://docs.geoserver.org/stable/en/user/data/raster/gdal.html [2] https://gis.stackexchange.com/questions/180573/django-and-osgeo-closed -- Pao

[gdal-dev] Building java bindings with GDAL 2.1.3

2017-04-27 Thread Paolo Corti
use the specified GDAL plugin. It won't be enabled I am wondering if this could be caused by the SWIG version which I am using? Any help will be really appreciated regards p [1] https://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix -- Paolo Corti Geospatial software developer

[gdal-dev] performance with VRT dataset containing a large number of raster datasets

2013-12-24 Thread Paolo Corti
of ones? thanks in advance p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] compiling GDAL with the sde driver

2013-09-11 Thread Paolo Corti
/gdal/gdal-1.10.1/apps' make: *** [apps-target] Error 2 as you can see I have added the option -pthread in configure as suggested by Howard here [1], but still no joy :( any hints? thanks in advance regards p [1] http://lists.osgeo.org/pipermail/gdal-dev/2011-September/030196.html -- Paolo Corti

[gdal-dev] Accessing to GRIB bands

2013-06-17 Thread Paolo Corti
to a specific band with the gdal_translate command to export a GRIB band to a different format, or do I have to write script for that purpose? thanks in advance! regards p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti

Re: [gdal-dev] Accessing to a NetCDF subdataset with Python

2013-05-26 Thread Paolo Corti
On Sat, May 25, 2013 at 7:11 PM, Even Rouault even.roua...@mines-paris.org wrote: Le samedi 25 mai 2013 17:47:59, Paolo Corti a écrit : Hi list I am with GDAL 1.10. I thought it was possible to access to a netCDF subdataset in the usual manner (using GetRasterBand), but it does not seem

[gdal-dev] Accessing to a NetCDF subdataset with Python

2013-05-25 Thread Paolo Corti
floating-point)')] sds = gdal.Open(ds.GetSubDatasets()[0][0]) thanks in advance! p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

Re: [gdal-dev] [postgis-users] Postgis Raster out-db support

2013-03-21 Thread Paolo Corti
On Thu, Mar 21, 2013 at 4:15 PM, Stefan Keller sfkel...@gmail.com wrote: Or exporting PostGIS Raster to MBTiles format (using GDAL as resampler)? GDAL MBTiles driver is read only according to the documentation regards p -- Paolo Corti Geospatial software developer web: http

Re: [gdal-dev] How to set OGR_INTERLEAVED_READING when using the OSM driver

2013-03-16 Thread Paolo Corti
to use the OGR_INTERLEAVED_READING option with -append, the process won't work as Layer creation options ignored since an existing layer is being appended to. according to the output thanks for your invaluable feedback p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net

Re: [gdal-dev] Cannot read NetCDF subdatasets

2012-06-25 Thread Paolo Corti
the filed ticket [1] he has updated the wiki page [2] as well with this, so most likely no one can be in my same shoes p [1] http://trac.osgeo.org/gdal/ticket/4717#comment:7 [2] http://trac.osgeo.org/gdal/wiki/NetCDF -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net

Re: [gdal-dev] Building from source excluding some packages

2012-06-25 Thread Paolo Corti
GNUmakefile (or some other files) so that I can exclude some source from building ? Take a look at this [1] wiki page p [1] http://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti

Re: [gdal-dev] Cannot read NetCDF subdatasets

2012-06-20 Thread Paolo Corti
exceptions) Skipped: 8 Expected fail:0 I will send you the link to download a test dataset off list. cheers p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Updating shapefile fields name with ogr2ogr

2012-06-20 Thread Paolo Corti
, ..., oldname as newname from input' output.shp input.shp but this way we need to regenerate the shapefile best regards p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal

Re: [gdal-dev] Cannot read NetCDF subdatasets

2012-06-19 Thread Paolo Corti
everything works fine :) By the way, hdf5 is still picked when opening the whole dataset, but netcdf is correctly picked when opening the subdataset: is it the desired behavior? Thanks so much for your invaluable support, Etienne! ;) p -- Paolo Corti Geospatial software developer web: http

[gdal-dev] Cannot read NetCDF subdatasets

2012-06-15 Thread Paolo Corti
+): HDF4 Dataset HDF5 (ro): Hierarchical Data Format Release 5 HDF5Image (ro): HDF5 Dataset any ideas? Is it possible that I am missing any dependency? thanks so much p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti

Re: [gdal-dev] OGC services requests in VRT?

2012-05-10 Thread Paolo Corti
On Thu, May 10, 2012 at 2:57 PM, Paolo Corti pco...@gmail.com wrote: On Thu, May 10, 2012 at 12:49 AM, Ethan Alpert ealp...@digitalglobe.com wrote: Is it possible to use an OGC call in a VRTRasterBand? I guess you mean a WCS, and I think it is possible, just put the xml file

Re: [gdal-dev] RFC 39

2012-05-03 Thread Paolo Corti
basic functionality. Pretty sure that after it there will be many tools, including Desktop GIS, giving that feature (batch processing). Btw, Ari, really cool stuff, looking forward to it, thanks for the great effort ;) cheers p -- Paolo Corti Geospatial software developer web: http

Re: [gdal-dev] Get SRID from image file

2012-05-03 Thread Paolo Corti
= osr.SpatialReference(prj.title()) print srs.GetAuthorityCode('GEOGCS') # or use PROJCS if the srs is projected cheers p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Are unicode field values supported in the Python bindings for GDAL?

2012-04-11 Thread Paolo Corti
)        SetField(OGRFeatureShadow *,char const *,double)        SetField(OGRFeatureShadow *,int,int,int,int,int,int,int,int)        SetField(OGRFeatureShadow *,char const *,int,int,int,int,int,int,int) this will work: feat.SetField(0, u'xxx'.encode('utf-8')) p -- Paolo Corti Geospatial software developer

Re: [gdal-dev] Are unicode field values supported in the Python bindings for GDAL?

2012-04-11 Thread Paolo Corti
('latin-1') 'simple characters' p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] MDB tools

2012-03-28 Thread Paolo Corti
, released 2011/07/09 As you are on Linux, you should avoid the rely on ODBC, and use the Geomedia driver [1], only available from gdal 1.9. I would test it for you, but I have no Geomedia sample data for testing p [1] http://www.gdal.org/ogr/drv_geomedia.html -- Paolo Corti Geospatial software

Re: [gdal-dev] python filegdb problems

2012-03-21 Thread Paolo Corti
, and I can confirm that OGR is able to access to only one of the 6 feature classes. So in my opinion it is worth opening a ticket and attach the sample dataset to investigate further, Kevin would you mind doing that? thanks P -- Paolo Corti Geospatial software developer web: http

Re: [gdal-dev] [WFS Drvier] Id Only and Geometry Only

2012-03-16 Thread Paolo Corti
://www.gdal.org/ogrinfo.html -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Re: [WFS Drvier] Id Only and Geometry Only

2012-03-16 Thread Paolo Corti
server still returns the whole field value set. P -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal

Re: [gdal-dev] Adding a proxy when Opening a OgrWFSDatasource

2012-03-15 Thread Paolo Corti
://geohub.jrc.ec.europa.eu/effis/ows?SERVICE=WFSVERSION=1.1.0REQUEST=GetFeatureTYPENAME=EFFIS:FiresAll) GML: Using Expat reader OGR: OGROpen(/vsimem/tempwfs_0x16ad2e0/file.gml/0x14aedf0) succeeded as GML. GML: ResetReading() GML: ResetReading() best regards P -- Paolo Corti Geospatial software developer web: http

Re: [gdal-dev] Ogr2Ogr convert wih max feature

2012-03-13 Thread Paolo Corti
, for example: ogr2ogr -f “FleGDB” mydb.gdb WFS:http://geohub.jrc.ec.europa.eu/effis/ows?SERVICE=WFSMAXFEATURES=3; FiresAll best regards P -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal

Re: [gdal-dev] ogr2ogr conversion

2012-02-29 Thread Paolo Corti
/ogr/drv_csv.html -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Building GDAL with FileGDB support

2012-02-24 Thread Paolo Corti
On Fri, Feb 24, 2012 at 1:08 PM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote: On 12-02-23 4:12 AM, Paolo Corti wrote: Hi Stuart I think I have your same configuration, for me was enough to add FileGDB_API/lib to the LD_LIBRARY_PATH variable, and fileGDB driver is working perfectly

Re: [gdal-dev] Building GDAL with FileGDB support

2012-02-23 Thread Paolo Corti
same configuration, for me was enough to add FileGDB_API/lib to the LD_LIBRARY_PATH variable, and fileGDB driver is working perfectly. Hope it helps P -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti

[gdal-dev] is there a way to concatenate the band in raster file name

2012-02-10 Thread Paolo Corti
it in MapServer, without the need to create virtual rasters (that seems to be the only viable solution at my eyes) Thanks for your patience P -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti

Re: [gdal-dev] ogr2ogr in python

2012-02-08 Thread Paolo Corti
for doing this, like: from subprocess import call call(['ogr2ogr']) best regards P -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

Re: [gdal-dev] how to build java with GDAL

2011-03-21 Thread Paolo Corti
/thread.jspa?messageID=4570333 -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] netCDF to Shapefile

2011-03-16 Thread Paolo Corti
tools for symbology and map creation at this time, neither you can use the GDAL API. best regards Paolo [0] http://vmx.cx/blog/2009-11-17/geodata-and-couchdb.htm [1] https://github.com/maxogden/shp2geocouch/blob/master/bin/shp2geocouch -- Paolo Corti Geospatial software developer web: http

Re: [gdal-dev] multipolygon to polygon

2011-02-24 Thread Paolo Corti
-- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL/OGR (skeleton of) Python API documentation available on http://gdal.org/python/

2011-02-12 Thread Paolo Corti
. Disclaimer: don't expect too much of it. This is just the result of a run of epydoc on the osgeo module. You will essentially get the names of available classes and methods, but very few descriptions of what they do (except for OGR classes where the OGR C documentation is copied). Best

Re: [gdal-dev] [python-ogr] GetNumPoints from geometry

2011-02-09 Thread Paolo Corti
= linelyr.GetNextFeature() geom = feat.GetGeometryRef() print geom.GetGeometryName() LINESTRING print geom.GetPointCount() 8 This is also suggested on the doc [0] best regards P [0] http://www.gdal.org/ogr/classOGRLineString.html#7ea70605cd6ac71221177586c2ec5cfc -- Paolo Corti Geospatial software developer web

Re: [gdal-dev] OGR Shapefile SQL with date in where clause

2011-02-07 Thread Paolo Corti
) POINT (-4071618.022572413086891 4118769.067506278399378) OGRFeature(out):1 Id (Integer) = 0 mydate_d (Date) = 2010/08/11 mydate_s (String) = (null) POINT (-5106701.348437865264714 668491.314621437806636) What error do you get? best regards P -- Paolo Corti Geospatial software developer web

Re: [gdal-dev] Create a shape file with polygons

2011-01-17 Thread Paolo Corti
are using Python, this sample [1] should work for you ciao P [0] http://www.gis.usu.edu/~chrisg/python/2009/ [1] http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/assemblepoly.py -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti

Re: [gdal-dev] python: read pixel from raster

2011-01-12 Thread Paolo Corti
it in python) best regards P [0] http://www.gdal.org/gdallocationinfo.html -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org

Re: [gdal-dev] Python geometry.Transform() returns code 6

2010-12-09 Thread Paolo Corti
# And now the error: a code 6 but no further explanation geom.Transform(coordTrans) Hi Gregor your code is correct. I think it may be related to your dataset/feature geometry: could you kindly provide the wkt of the geometry that is failing (print geom.ExportToWkt()) ? P -- Paolo Corti GIS

Re: [gdal-dev] Re: Multipart to singlepart

2010-12-09 Thread Paolo Corti
): driver.DeleteDataSource(outputshp) out_ds = driver.CreateDataSource(outputshp) out_lyr = out_ds.CreateLayer('poly', geom_type=ogr.wkbPolygon) multipoly2poly(in_lyr, out_lyr) -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti

Re: [gdal-dev] raster lat lon value

2010-12-02 Thread Paolo Corti
We have a raster one band let's say a geotiff in an x type of geo reference, how we can find what's the raster's value for a specific lat lon (wgs84) gdallocationinfo [1] will make the trick Best regards P [1] http://www.gdal.org/gdallocationinfo.html

Re: [gdal-dev] python: possible to get Dataset from Band

2010-11-09 Thread Paolo Corti
of scope), so why would we need a reference to it? best regards P -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [gdal-dev] python: possible to get Dataset from Band

2010-11-09 Thread Paolo Corti
http://trac.osgeo.org/gdal/ticket/3592 . thanks Even makes very much sense now, it is a really good point ;) P -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] With Python bindings, should geometry objects created by ogr.Geometry() be explicitly destroyed?

2010-09-20 Thread Paolo Corti
started using them, so I think this is a great informative resource. P -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [gdal-dev] Creating shape file from csv with double quotes in attribute

2010-09-10 Thread Paolo Corti
Hi, I have a query on creating shapefile from csv. I am not sure if this is the correct forum for it. Thought I should try it anyway. I have a csv file consisting of lat/lon and an attribute with double quotes like this: a

[gdal-dev] Re: export mdb in shp

2009-04-17 Thread Paolo Corti
On Fri, Apr 17, 2009 at 9:43 AM, Marco Puppin puppin...@gmail.com wrote: Hey Paolo, oh yeah, your trik works!!! Perfectly, also the incriminated shape has been exported in all his geometries and data. Thanks so much, that was so easy, now i learned something.. and if you write ogr2ogr -f

[gdal-dev] Re: export mdb in shp

2009-04-16 Thread Paolo Corti
i am in winz and i opened an mdb with ogrinfo, i am wondering if there's a command to export all its shapes with just a command line. I checked the http://www.gdal.org/ogr2ogr.html but i cannot understand much, sorry i am still newbie. Hi you just need to use the ogr2ogr command, reference is

[gdal-dev] Re: export mdb in shp

2009-04-16 Thread Paolo Corti
thanks very much for the reply, but unlikely I am still in trouble. infact if I launch ogr2ogr -f Esri Shapefile mappa.mdb 'Unable to find driver 'ESRI' What's wrong? maybe just my command, i said, i am very newbie... P.S: seeing your name you may speak italian... I am italian Hey