Re: [gdal-dev] Vector Tiles in OGR

2018-02-12 Thread Even Rouault
On lundi 22 janvier 2018 23:40:55 CET Even Rouault wrote: > Hi, > > > P.S. @Even: Any news on a GDAL/OGR MVT reader? > > Yes, a new OGR MVT reader has just been committed in GDAL trunk: > http://gdal.org/drv_mvt.html And the writer part (for MVT and MBTILES) driver is now in trunk http://gdal.o

[gdal-dev] Build From Source - using wrong libraries

2018-02-12 Thread William Daniel Scheftic
Hi, I'm trying to build gdal using some libraries I had already installed for GrADS (hdf4, hdf5, netcdf, xml2, curl, jasper). However, for some reason make is keying on other files and libraries in the same directory where I installed the GrADS supplementary libraries.  I only want specific l

Re: [gdal-dev] S57 objects’ catalog reload

2018-02-12 Thread Even Rouault
Jerome, > Thank you for your quick answer, > We work with C#, and unfortunately, we didn’t find GDALDriverManager API. There's in fact a more radical solution, and that should be available in C# as it is in the generic SWIG .i files In Python (and likely the same in C#): gdal.GDALDestroyDriver

Re: [gdal-dev] layer union returns a geometry collection

2018-02-12 Thread jratike80
Matthew Snape wrote > Hello, > > I am performing a union of two layers using OGR from Python... > > layerA.Union(layerB, layerC,["PROMOTE_TO_MULTI=YES",]) > > This returns a layer composed of multipolygon's except for a single > geometrycollection in the form... > > GEOMETRYCOLLECTION (POINT (

Re: [gdal-dev] layer union returns a geometry collection

2018-02-12 Thread Ari Jolma
Matthew, The documentation(1) says "The result layer contains features whose geometries represent areas that are either in the input layer, in the method layer, or in both.". I assume you a polygon in the input layer B which has a common singular point and common area with a polygon in layer C

[gdal-dev] layer union returns a geometry collection

2018-02-12 Thread Matthew Snape
Hello, I am performing a union of two layers using OGR from Python... layerA.Union(layerB, layerC,["PROMOTE_TO_MULTI=YES",]) This returns a layer composed of multipolygon's except for a single geometrycollection in the form... GEOMETRYCOLLECTION (POINT (2610469.66 3325023.52),POLYGON ((261043

Re: [gdal-dev] S57 objects’ catalog reload

2018-02-12 Thread Jerome Siot
Hi Even, Thank you for your quick answer, We work with C#, and unfortunately, we didn’t find GDALDriverManager API. Instead, we tried algorithm you proposed with OGR Driver.DeRegister()/Register() : this does not work, csv change is not taked into account (csv file seems to be cached) -- Jerome