Re: [gdal-dev] "latest" rasterlite2?

2020-02-02 Thread jratike80
Hi, Have a look at https://www.gaia-gis.it/fossil/librasterlite2/index. -Jukka Rahkonen- William Kyngesburye wrote > About fossil - no rasterlite2, at least not mentioned on the spatialite > site. So again, I have no idea where to get the "latest" rasterlite 2 you > made the changes in GDAL 3.

Re: [gdal-dev] "latest" rasterlite2?

2020-02-02 Thread William Kyngesburye
Hm, well, rasterlite2 1.1.0b0 has been available since June 2018. 1.0 was from 2014, but that didn't have one of the functions at all that is causing trouble, rl2_load_raw_tiles_into_dbms. That was changed in GDAL for a change in the parameters. About fossil - no rasterlite2, at least not men

Re: [gdal-dev] "latest" rasterlite2?

2020-02-02 Thread Even Rouault
William, > I see a change in GDAL 3.0.4 to "fix build against latest librasterlite2". > But this breaks compilation for me. The latest ratserlite2 I know is > 1.1.0-beta0 from over a year ago. Hum, I didn't know this was ever released... When the driver was initially developed, it was designe

[gdal-dev] "latest" rasterlite2?

2020-02-02 Thread William Kyngesburye
I see a change in GDAL 3.0.4 to "fix build against latest librasterlite2". But this breaks compilation for me. The latest ratserlite2 I know is 1.1.0-beta0 from over a year ago. That's still latest at the spatialite website that I can see. Where do I find this new "latest" rasterlite? Could

Re: [gdal-dev] How to create a Memory Vector dataset?

2020-02-02 Thread Joaquim Manuel Freire Luís
Cool, that worked. But I had to go back to hDS = GDALCreate(hDriver, "mem", 0, 0, 0, GDT_Unknown, NULL); otherwise hDS == NULL I now have something with 1 point only. Seems a bit inefficient, for each point, having to Loop over all points { hFeature = OGR_F_Create(OGR_L_GetLay

Re: [gdal-dev] How to create a Memory Vector dataset?

2020-02-02 Thread Even Rouault
On dimanche 2 février 2020 18:11:26 CET Joaquim Manuel Freire Luís wrote: > >> Is there an > >> example somewhere of creating a Memory (not MEM?) vector dataset that > >> I could use to learn more on this? > > > > https://gdal.org/tutorials/vector_api_tut.html#writing-to-ogr should work > > with M

Re: [gdal-dev] How to create a Memory Vector dataset?

2020-02-02 Thread Joaquim Manuel Freire Luís
>> Is there an >> example somewhere of creating a Memory (not MEM?) vector dataset that >> I could use to learn more on this? > https://gdal.org/tutorials/vector_api_tut.html#writing-to-ogr should work > with MEM too. Even, Sorry, I'm having *some* troubles with the MEM driver that I don't se

Re: [gdal-dev] Can't build GDAL 3.0.X to read GML format on Linux (Ubuntu 18.04)

2020-02-02 Thread Even Rouault
> Is there a way to build gdal on linux so that all the formats are also available for ogr? Make sure to "make clean" before building each time you re-run configure with different options / install new depedencies. Even -- Spatialys - Geospatial professional services http://www.spatialys.com

[gdal-dev] Can't build GDAL 3.0.X to read GML format on Linux (Ubuntu 18.04)

2020-02-02 Thread Michaël Landry
Hi, I have successfully built and tested GDAL 3.0.1 and 3.0.4 with the SWIG java bindings and everything works fine except that I can't read GML format files. When I call the java method ogr.open( .. ), it always returns null. I investigated and i found out that I cannot open GML files with th

Re: [gdal-dev] NetCDF and EASE-2

2020-02-02 Thread Even Rouault
On dimanche 2 février 2020 00:34:46 CET Marsh, Chris wrote: > HI Even, > > Thanks for the detailed response. I have compiled master 3.1dev however > strangest thing when I try to run it > $ export PATH=`pwd`/gdal-install/bin:$PATH > $ which gdal_translate > /Users/chris/Documents/science/analysi