Re: [gdal-dev] Use GDAL on AWS Lambda

2018-07-25 Thread Matt Hanson
A bit late to the party, but there's also geolambda which works in a similar manner as the above solutions. It's got the latest version of GDAL and dependencies, Python 2.7 and 3.6 and packaging scripts for packaging up your code for deployment to lambda: https://github.com/developmentseed/geolamb

[gdal-dev] Reading remote jp2k files

2018-07-25 Thread Matt Hanson
Hello, I'm having trouble reading JP2K files remotely. I originally ran into this problem when trying to use remote Sentinel-2 files as input to the GDAL Warp API in C++. It works when I use a local version of the file. I'm not sure if this is supported behavior, I thought it was, but to test I t

Re: [gdal-dev] Fwd: [OpenJPEG] OpenJPEG v2.3.0 is out: more speed and memory improvement

2017-10-13 Thread Matt Hanson
ch (from the GDAL Trac) and no args for > --with-openjpeg: > > https://github.com/sgillies/frs-wheel-builds/blob/master/ > Dockerfile.wheels#L105-L144 > > These GDAL builds are in the rasterio 1.0a10 wheels on PyPI. > > > On Fri, Oct 13, 2017 at 11:47 AM, Matt Hanson

Re: [gdal-dev] Fwd: [OpenJPEG] OpenJPEG v2.3.0 is out: more speed and memory improvement

2017-10-13 Thread Matt Hanson
Hi Even, Great work with OpenJPEG! I'm trying to get GDAL trunk compiled with support for it, but I can't get configuration to find it properly. On an Amazon base linux image my simplified Dockerfile is like this: ``` RUN \ wget https://github.com/uclouvain/openjpeg/archive/v2.3.0.tar.gz; \

Re: [gdal-dev] Cannot open S3 files after upload

2017-06-21 Thread Matt Hanson
Thanks Even, Disabling reading the directory is another work around for my use case as well: (GDAL_DISABLE_READDIR_ON_OPEN=TRUE) On Wed, Jun 21, 2017 at 5:02 AM, Even Rouault wrote: > Matt, > > > > > My actual problem is a bit more specific then being unable to open S3 > files > > > after uploa

[gdal-dev] Cannot open S3 files after upload

2017-06-20 Thread Matt Hanson
Hello everyone, My actual problem is a bit more specific then being unable to open S3 files after upload. The actual problem is that within the same Python session, I can open a file off S3 with the vsis3 driver, but then if I upload a new file that previously did not exist (using boto3), gdal doe

Re: [gdal-dev] Gdal-Grid lidar.

2015-06-15 Thread Matt Hanson
Hi Nicolas, I see someone already posted something about lidar2dems. We also wanted to use only open-source, so put together this project to easily be able to make DEMs using what's out there already. The documentation gives an overview of what it can do and a tutorial for processing a large are

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Matt Hanson
Mike, Are you setting padfDstNoDataReal as well? Because GDAL performs the warp in chunks I'm wondering if previously written data, that should be NoData, is not recognized as such with later chunks. However, I'm still not clear on the exact details of how that works internally, Even would ha

Re: [gdal-dev] UFO format / GDAL 3.0

2015-04-01 Thread Matt Hanson
I think this is a great idea, finally users can be forced to stop using all those silly formats. But I think GDAL 3.0 needs a good slogan, may I suggest "There can be only one" ? On Wed, Apr 1, 2015 at 10:17 AM, Daniel Morissette wrote: > Good morning Even, > > That sounds like an ambitious w

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread Matt Hanson
Want to make sure I understand this properly. So you've got a series of points in your point layer, and a series of lines in your line layer, and for each point on your points layer, you want to find out which line this falls on. Is that right? It sounds like you've done this part. However, I'm

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread Matt Hanson
ChiefDan, If I understand the problem correctly... If you get the OGRGeometry of your line string (get the WKT from that or somehow turn into an array or list that is easy to work with) you will have all the points in order along the line. Then, you'll need to find your initial point of interest

[gdal-dev] GDALWarp GCP

2009-05-15 Thread Matt Hanson
Hello, I sent the email to the list in April but it's gotten no response.I've since scoured the 'net and the GDAL archives, tried countless number of permutations and every time end up with a blank image. I'm obviously missing something, yet the archives and documentation don't provide any

[gdal-dev] Using GCP Transformer

2009-04-22 Thread Matt Hanson
Hello, I'm having trouble getting an image warped properly using GCPs. I'm wondering if I'm missing a piece in my code. Here I am warping from an image with a presumably unknown projection to a georeferenced reference image. The images have been registered either manually or automatically