Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

6

Yes there is. Luiz Motta made a plugin for QGIS to talk to the Planet Labs API, called Catalog Planet Labs. It can be installed directly from QGIS, though only version 2.8.0 and higher. Just open the 'plugins' menu, adjust the settings to 'show also experimental plugins', and then search for 'Planet Labs'. The code is all up on GitHub, and contributions are ...


4

If the file contains "DN" in the name then it is not scaled radiance and there is are no coefficients available to scale to scale to exo-atmospheric irradiance. If the product is the "analytic" asset from the PSScene4Band type the filename should include "_3B_AnalyticMS" and it is scaled radiance. If the product is the "analytic" asset from the ...


4

UPDATE: the issue described below has now been fixed and the correct list of downloadable files will be reflected in both permissions and the assets list. The Planet Data API is a little misleading in reporting the presence of analytic assets when they don't actually exist for a particular item. However, the _permissions field does report whether you will ...


4

As per the official documentation: Visual (8-bit): the visual product is an orthorectified 8-bit GeoTIFF that has a color curve pre-applied in order to be more readily usable in most visual analysis and display applications. Analytic (12-bit): the analytic product is 12-bit data delivered in a orthorectified 16-bit GeoTIFF file with no visual color-...


3

You will need to have python installed to install the planet command line tool. Open up a terminal window: Step 1 - install planet command line tool: pip install planet Step 2 - export your API key: export PL_API_KEY=XXXXX Step 3 - download your image (for example a RapidEye visual product with the id "20160707_195146_1057917_RapidEye-1") planet data ...


3

If you want to use WMTS with your trial account, you need to also sign up for the 14 day WMTS trial. You can do this on the Basemaps product page. You'll get an email with instructions on how to set up your WMTS client.


3

There are a few different ways of doing this, but if we stick to command line tools, you can get all the footprints as a Shapefile with a simple OGR command. The Planet Scenes API returns the results of a search as valid GeoJSON, which is a format that OGR understands. Therefore, if you run the search in your browser (https://api.planet.com/v0/scenes/ortho/ ...


3

I managed to crop the GeoTiff file as intended. The issue was that my GeoJSON / shape / polygon had its points in "normal" coordinate reference systems (which actually is epsg:4326 or WSG 84) while my geoTiff data is expressed in epsg:32637. I used the following function to project my polygon: def project_wsg_shape_to_csr(shape, csr): project = lambda ...


2

A Planet Labs mosaic can be added as a basemap to CartoDB by hardcoding your API key as part of the URL. Normally, a basemap in CartoDB takes the form of https://tile.server.com/{z}/{x}/{y}, but Planet Labs requires both an API key and the name of a mosaic, so the form is a little different: https://tiles.planet.com/v0/mosaics/MOSAIC_NAME/{z}/{x}/{y}.png?...


2

I have addressed this issue by writing code that manages the process of activating images and then looping back around after a while to download them. It's a pain, but there does not seem to be a good alternative at this point. UPDATE: Planet now provides a client that manages this process: https://github.com/planetlabs/planet-client-python/blob/master/...


2

There is no guarantee of similar numbers of PSOrthoTile items for a given geography and time range as there are REOrthoTiles. REOrthoTile history goes back much further than PSOrthoTiles. Also a lot depends on tasking priorities for the PlanetScope and RapidEye constellations. That said for recent time periods (last couple months) you should start seeing ...


2

There is a quota of 20 downloads per-day with Explorer accounts. You can view usage on your account page, in the organizations section: https://www.planet.com/account. When using the API, a 429 error will be returned if you exceed your daily quota.


2

Planet's regular accounts only have access to the visual and analytic imagery options. The basic imagery formats are reserved for more advanced users. Your best best is to contact Planet support with a description of what you are trying to do and ask for access to basic with your account.


2

This is not expected. All accounts with Planet have the same access to the full metadata catalog; the only difference in restrictions is on downloading actual data. According to the question the following code worked fine: result = \ requests.post( 'https://api.planet.com/data/v1/stats', auth=HTTPBasicAuth(os.environ['PLANET_API_KEY'], ''), ...


2

John, The resolution of the ortho products is defined by the product specification, not the actual resolution of the source imagery. A 3m pixel size was selected because it captures the spatial resolution of Planet's best imagery. The PSOrthoTile products are actually sampled at 3.125 meters. So the short answer is we upsample to 3m using gdalwarp's "...


2

From Planet Spacecraft Docs, it appears a sun-synchronous Dove lasts about 2-3 years in orbit. Planet regularly launches new satellites to replenish the constellation. Gunter's Space Page has a nice description of these satellites as well.


2

This is an effect you can see on older Planet imagery known as vignetting. Fortunately, this only affected older sensors with the classification of PS0 and PS1, whereas all newer satellites (roughly mid-2015 onwards) are PS2. You can filter for newer satellite imagery only by using API filters on the instrument field in the metadata, looking for the PS2 ...


2

I did not trace completely through your code, but I see an implication that usable_data is part of your query. I do not believe that the usable_data field is being set to a non-zero value currently for at least some PlanetScope products (see https://api.planet.com/data/v1/item-types/PSScene3Band/items/20171218_181808_102f for instance). I would suggest ...


2

The total credit consumption can be seen in the following way: If you login into planet explorer - > clicks on the blue astronaut at the top right-hand corner -> go to account settings at the bottom -> click on organizations on the left side - > click on usage on the header. You should be able to see your consumption. Other points to note. If the same ...


2

SyntaxError means you're typing it in a python prompt, not a command prompt. export is Linux/Unix syntax, for Windows you need to use set.


2

There is not a single answer unfortunately. The satellites with the 0c prefix are getting on in age and sometimes exhibit artifacts. The UDM file signals which pixels have been detected as being anomalous and that can be a good way for users to know which pixels should be ignored. But probably the best indicator before downloading anything is to check the ...


2

A 429 HTTP error is used to indicate either a rate limit or a quota limit has been reached. For free accounts, the daily quota is 4000 square kilometers in California. Outside California, you get a one-time allocation of 1000 square km. Currently, you have used a little over 600 square km from the latter, and since RapidEye tiles are 25×25 km (625 square ...


2

It is correct that the two ways of clipping treat your quota consumption differently. You are free to continue using the Clip API with the understanding that it will be decommissioned and replaced with a new way of server-side clipping. To start doing things the "new way", please see the documentation here. Example from the documentation: { "name": "just ...


1

What version of SimpleCV are you using? Try (assuming that you are trying to rotate the image 90 degrees counter clockwise): innerA.scale(0.4).rotate(-90, fixed=True).save("hue_a.png") or innerA.rotate(-90, fixed=True, scale=0.4).save("hue_a.png")


1

If you go to https://www.planet.com/account/, click Organizations, and click Usage, you should see your usage data.


1

It should be: {"type": "GeometryFilter", "field_name": "geometry", "config": {"type":"Polygon","coordinates":[[[-117.187103,34.015008],[-117.187103,34.097057],[-117.084399,34.097057],[-117.084399,34.015008],[-117.187103,34.015008]]]}} You've incorrectly quoted the GeoJSON portion of the filter and there is an extra ] at the end. Note that you also need to ...


1

This likely means that you don't have permission to download the image. If you signed up for a free Planet API key, you get access to the full archive of California imagery (with a two-week delay) under a CC BY-SA 4.0 license. You can search for images outside California, but you won't have download permission. We're working on better error messages for ...


1

When you ran pip install rasterio above, it shows using a cached copy, which means it did have to install it. The "Requirement already satisfied" messages are shown for the other dependencies. I would assume that the script should work if you try it again.


1

Try this command from command line (windows). python -m pip install simplecv


1

You need a recent version of python, i.e 3.6. f you must use Python 2.7, version 2.7.9 or later has pip installed by default. Open a command prompt (cmd.exe on windows) and type: pip install planet If that doesn't work, you need to type the full path to pip, ie C:\Python27\Scripts\pip install planet


Only top voted, non community-wiki answers of a minimum length are eligible