Re: [gdal-dev] vsicurl configuration design decisions

2017-10-12 Thread Even Rouault
Craig, > True, but that does eliminate ambiguity in the URL, and does so in a > well-known way. > > Does the current scheme use any encoding? No > How would you escape text in > option values that might use `=` and `,` etc? Or are there guaranteed to be > no freeform-text options in these paths

Re: [gdal-dev] vsicurl configuration design decisions

2017-10-12 Thread Craig de Stigter
Hi folks We're slightly invested in this because we use VSI paths reasonably heavily, though not so much for cloud services yet. > One downside is that you need to URLEncode the URL, which can make it > painful when composing it at hand. True, but that does eliminate ambiguity in the URL, and

Re: [gdal-dev] Clipping shapefile with another produces invalid shapes

2017-10-12 Thread Even Rouault
Paul, > But at the red asterix, I have an invalid shape. The reason is according to > GEOS: > Polygon must be clockwise I can't see such error emitted by GEOS source code. even@even-i700:~$ grep -r "must be clockwise" geos/ even@even-i700:~$ Are you sure this comes from it ? As far as I know,

[gdal-dev] Clipping shapefile with another produces invalid shapes

2017-10-12 Thread Paul Meems
Hi list, I have a very large shapefile, with almost 700k shapes which I want to clip with a border shapefile (in red): https://ibb.co/gKth1G I'm using this command: ogr2ogr -clipsrc "border.shp" -overwrite -explodecollections -f "ESRI Shapefile" ogr_clipped.shp Fishnet.shp with GDAL 2.1.3, relea

Re: [gdal-dev] GDAL and cloud storage

2017-10-12 Thread David Strip
Users with large storage needs and tight budgets might want to look into B2 from Backblaze. It's significantly cheaper than S3. The structure (buckets and file) is similar to S3 as is the API, so implementing access in GDAL is probably pretty straightforward from the S3 i

Re: [gdal-dev] vsicurl configuration design decisions

2017-10-12 Thread Even Rouault
Hi Sean, > Is the future of open and creation options? I don't understand your above sentence. > Do you imagine this extended > to, say, block size, compression, number of threads? An RFC that discussed > the scope of this and at what level of abstraction it is implemented at > might be warrante

[gdal-dev] ERROR 6: Failed to initialize PROJ.4 with "..."

2017-10-12 Thread Chris Marsh
Hi, I'm using GDAL (and by extension proj.4) to reproject a set of WGS84 coordinates to North America Albers Conic Conformal. On all but 1 computer I run my code on, this works as expected. However, when trying to run on one of Compute Canada's newest machines, I get the error ERROR 6: Failed to

Re: [gdal-dev] vsicurl configuration design decisions

2017-10-12 Thread Sean Gillies
Hi Even, On Tue, Oct 10, 2017 at 4:02 AM, Even Rouault wrote: > Hi Sean, > > > > > > > > It's written in > > > http://gdal.org/gdal_virtual_file_systems.html#gdal_ > virtual_file_systems_vsi > > > curl > > > > Starting with GDAL 2.3, options can be passed in the filename with the > > > > > > fol

Re: [gdal-dev] Removing the *raster* OGDI driver ?

2017-10-12 Thread Even Rouault
On jeudi 12 octobre 2017 17:29:56 CEST Markus Neteler wrote: > On Wed, Oct 11, 2017 at 2:24 PM, Even Rouault > > wrote: > > Hi, > > > > I propose to remove the raster OGDI driver from trunk (the vector OGDI > > driver is still useful for VMAP/VPF/DCW) > > > > There should be no reason to use it

Re: [gdal-dev] GDAL and cloud storage

2017-10-12 Thread Sean Gillies
Hi Even, On Wed, Oct 11, 2017 at 11:51 AM, Even Rouault wrote: > Hi, > > > > I've written a post summarizing various enhancements done in trunk lately > regarding GDAL and cloud storage: > > > > https://erouault.blogspot.fr/2017/10/gdal-and-cloud-storage.html > > > > Even > This is great work a

Re: [gdal-dev] Removing the *raster* OGDI driver ?

2017-10-12 Thread Markus Neteler
On Wed, Oct 11, 2017 at 2:24 PM, Even Rouault wrote: > Hi, > > I propose to remove the raster OGDI driver from trunk (the vector OGDI > driver is still useful for VMAP/VPF/DCW) > > There should be no reason to use it anymore since GDAL supports out of the > box (and probably in a more efficient wa