Code Monkey home page Code Monkey logo

sentinel-tiler's Issues

CORS

I am hitting CORS issue that is very similar to the one described for the landast-tiler. However, this time setting a AWS_REGION variable doesn't seem to fix the problem.

After digging around a little in the serverless issues (e.g. #4681) it seems that maybe we need to define Access-Control-Allow-* headers ?

If you want to use CORS with the lambda-proxy integration, remember to include the Access-Control-Allow-* headers in your headers object

As defined in the serverless docs

Here is a screenshot of how it looks on the frontend:
sentinel2_cors_blocked

Band 10 always zero

I've created a sentinel-tiler server on AWS, and all seems to be working really well, with the exception that band 10 always produces zero value pixels.

I'm using a URL structured as follows:
api-gateway-url/sentinel/tile/S2A_tile_20161202_16SDG_0/10/262/397.png?rgb=09,10,11&tile=256

All of the other bands are working just fine. Rearranging the rgb parameter (e.g. '10,11,12' or '9,11,10') doesn't help.

Is this a known issue, or am I likely doing something wrong? Or might there be something wrong with my tile server?

EDIT: I'd thought this was happening for band 11, but it's band 10.

Simple docker image not working after #9

Got the error A defined coordinate reference system is required which appears to be a rasterio error. After rebuilding with the custom image it works fine.

Sorry haven't investigated past that, just thought I'd drop a note here in case anyone else hits this while upgrading.

Output transparent images

I would like to output transparent images.
I don't know if that requires png.
Today it looks black outside of the satelite image, if that black color could be transparent, I could have a map (like OSM) and it would be easier to know where you are.
(And I would get something reasonable for two neigbouring (large) tiles.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.