Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [api]

Application programming interface (API). A set of interfaces, methods, protocols, and tools that application developers use to build or customize a software program.

1
vote
1answer
23 views

How to install the QGIS C++ API for Visual Studio

I've recently being trying to get the C++ API working in Visual Studio, but there really not allot of information out there. I've found these code examples https://github.com/ranchodeluxe/...
1
vote
0answers
59 views

How to add footprint parameter into ODATA API query (Sentinel-hub search)?

As mentioned in the FAQ about OData API usage I can perform such queries to search Sentinel-2 scenes: https://scihub.copernicus.eu/dhus/odata/v1/Products?$format=json&$filter=startswith(Name,'S2')...
1
vote
1answer
32 views

Planet API not being accepted for quick search but is on stats

As is similar on another post about this problem I receive the error, "message": "Please enter your API key, or email and password.", "errors": [] when trying the script, #API key stored as an ...
0
votes
1answer
14 views

Mapbox API - Regenerate a Tileset after it's related Dataset has been udated

I'm using Mapbox's API to update the features on a dataset. However, I'm not seeing the changes automatically appear in the tileset that's been generated from it afterwards. Is there an extra step ...
0
votes
1answer
31 views

Bounding box as a 4-tuple - south/west/north/east order?

We need to pass a bounding box as a 4-tuple and we cannot pass named arguments. I've searched a bit at found that different APIs use different order of lat/lon and different corners (northwest/...
1
vote
1answer
19 views

Failure to Revoke ArcGIS Pro Advanced license using Python API

I am scripting the provisioning and de-provisioning of users for my place of employment. I have the script in place to license users but I am having trouble getting the revoke script to work. I can ...
1
vote
0answers
50 views

Return route geometry using Opentripplanner API

I already managed to return geometries of Isochrones using the API as follows: https://sampleserver.com/otp/routers/myrouterid/isochrone?algorithm=accSampling&mode=WALK&walkSpeed=1.11&...
1
vote
1answer
51 views

Web API cannot derive coordinates from non-numeric matrix

I am creating an API in R with Plumber which takes in typed coordinates, then using the function below to converts the coordinates to a spatial point for use in the API def_coord <- function(x, y){...
0
votes
1answer
29 views

Earth Engine Map view disappeared from Code Editor API. How can I bring it back?

This question is about the interface on Google Earth Engine. I have been using it for several days without problem, however just today the map view disappeared. I can still bring up a small inset in ...
0
votes
1answer
39 views

It's possible to lock a data set programmatically through the API in Carto

We are automating the creation of data sets with Carto. Now we would like to be able to lock to avoid unwanted changes in the data. We know that this can be done through the dashboard, but is it ...
0
votes
0answers
30 views

Using Yelp API lat/long in Folium — CRS needed?

I understand the default crs for Folium is EPSG3857. I am pulling lat/long data from a yelp query and am not sure if I need to be converting to a GeoSeries and assigning a CRS to the GeoSeries. It ...
0
votes
1answer
123 views

Getting data from JSON data API?

As asked in previous question: Displaying icon name next to icon using OpenLayers? , now I need to change data source to the JSON API data, and used jquery plugin bypass CORS (http://www.ajax-cross-...
0
votes
1answer
86 views

Seeking API to check OpenStreetMap for village boundaries?

I am new to GIS programming and I have started a little project. I have a lot of gpx tracks, and I want to check which villages i have visited. Is there an API to check OpenStreetMap for village ...
1
vote
1answer
211 views

Subarea download vs Clip to AOI?

I have seen Downloading Subarea vs Clipping Images to AOI using Planet API? and I still do not feel satisfied with the answer so raise this again. So what is really the difference between them? @...
0
votes
1answer
283 views

Search images in USGS earth explorer using Python API

Is it possible to search for images in USGS Earth Explorer using Python (API) script? I tried the example here: from usgs import api # Set the EarthExplorer catalog node = 'EE'# this indicates ...
1
vote
1answer
139 views

Search Sentinel-2 images using python api

Based on the documentation here, I wrote the following script: from sentinelsat import SentinelAPI, read_geojson, geojson_to_wkt from datetime import date api = SentinelAPI('user name', 'password', '...
0
votes
1answer
54 views

ArcGIS REST API not enough storage available to complete the operation

I am building a web app for submitting jobs to the Vehicle Routing Problem Solver. I have been testing this app for a while now and I could submit jobs flawlessly before, but as of today I am getting: ...
2
votes
1answer
40 views

How to design a web application using georeferenced aerial imagery

I'm working on a web application that monitors the state of plants in their respective fields, of which we are taking georeferenced aerial imagery with a drone. Unfortunately I'm new to this ...
1
vote
1answer
140 views

Catch error of empty response of Planet API

I am automating the download of some small polygons of PlanetScope4 images. It works well, but some times, at a random polygon, it breaks down with this error: Traceback (most recent call last): ...
3
votes
0answers
727 views

Add an API key to QGIS

I still can't seem to get this (Add an API key to QGIS for QOSM layer) to work. I need to add an API key to QGIS for OpenCycleMap. I'm trying to follow the path Web > OpenLayer plugin > OSM/...
0
votes
1answer
189 views

Downloading Subarea vs Clipping Images to AOI using Planet API? [closed]

This question is associated with the two Planet API tutorials: "Download a Subarea" and "Clip Images to AOI". It seems to me that both tutorials demonstrate methods to download only a piece of an ...
2
votes
3answers
544 views

Download MODIS/MCD19A2 AOD product with R

I'm looking for a programmatic way to download MODIS/MCD19A2 AOD data in R. So far, I've found a pretty solid R package called MODISTools that works nicely with the MODIS/VIIRS RESTful API. However, ...
0
votes
1answer
148 views

Planet API Access Key [closed]

The Planet says that we need to add API key to the environment. I am trying to do it as: export PL_API_KEY=a3a64774d30c4749826b6be445489d3b and getting SyntaxError: invalid syntax What I am ...
0
votes
1answer
189 views

Using the ArcGIS API for Python with a REST service to search content

I have a public REST service that has several layers and feature classes that I want to access. According to the documentation. Once I have the arcgis package imported, I can inject my outside REST ...
0
votes
0answers
214 views

When using the Google maps geocoding API, how to handle cases where an address returns nothing?

I have a list of addresses that I want to geocode. While the Gmaps geocoding API does geocode most of them successfully, there are a few addresses for which it returns nothing. What is the best ...
1
vote
0answers
71 views

Is there any way to know which geocoded location coordinates returned by the Google maps API are wrong?

I have a dataset of about a million addresses. I was tasked with finding the latitudes and longitudes of all these addresses. I finished doing that (took about a week and about $3000 in credit card ...
0
votes
1answer
110 views

Elevation API: Same coordinates, different elevation result

I'm using google maps elevation API, but while asking a single request(single coordinates) and a multi-request(many coordinates), I'm getting different elevation result of the same latitude and ...
1
vote
1answer
42 views

OpenTripPlanner API Elevation values unclear

I'm using the OpenTripPlanner Planner API to find directions. The API returns XML with the geometry of the line (2D) and the elevation data separately, for example The 2D line geometry is as ...
1
vote
0answers
272 views

Using updated wikimapia API to export data

My goal is to get a json export from Wikimapia. I'm trying to use their updated API but I always get no objects returned no matter what coordintes or categories I specify. Here is my example query (?...
0
votes
1answer
88 views

Finding the “square” bounding boxes of a country

I want to find the square bounding boxes that cover a country, of different sizes. First off, I know that they won't really be square, but just going by the numbers they can be said to be. The main ...
1
vote
1answer
198 views

sentinelsat Python API error in download

I am having a go at using the sentinelsat python API to download satellite imagery. However, I am receiving error messages when I try to convert to a pandas dataframe. This code works and downloads my ...
0
votes
1answer
65 views

OGC spec in OpenAPI fomat

Is there any description of OGC WMS specification in OpenAPI / Swagger format ? I found an initiative for WFS protocol, but nothing on WMS.
1
vote
1answer
888 views

How to download satellite image from planet.com using API key

I would like to know what to do (step by step in simple words) and how to get data from www.planet.com There is tutorial https://www.planet.com/docs/api-quickstart-examples/ but anyways I have ...
0
votes
0answers
72 views

Planet API KeyError:location problem with get_assets_by_id()

I'm trying to download a list of planet scenes with get_assets_by_id. Scenes were selected visially through Planet Explorer and theirs IDs were copied. But I keep recieving messege KeyError: '...
1
vote
0answers
17 views

How to get my store locations which are withing 30 min drive distance using google map

I have the list of stores in my database. I want to show only those stores to a customer who can reach that store within 30 minutes (configurable) of drive. using google api
2
votes
1answer
44 views

Use LonLat coordinates to perform queries on API

I'm programming a map with OpenLayers (4.6.5) and I use this API : https://adresse.data.gouv.fr/api What I want to do is /reverse/, I want to retrieve coordinates that I'm using in my popup (see my ...
0
votes
1answer
71 views

Modify logo + copyright on Bing Maps REST API

I'm attempting to use Bing Maps REST API to track traffic flow over time. To do so, I mosaic many 640x640 pixel tiles together, using this template The issue is that when I mosaic all these tiles, the ...
1
vote
1answer
50 views

Are there any standards for geocoder APIs?

I recently did some research on geocoding services, and noticed that seemingly every API is unique. Unique in both the request format and the results returned. However, the general functioning of most ...
0
votes
1answer
53 views

error“:[”function obs_getdemographicsnapshot(geometry) does not exist"]

I keep receiving this error whenever I try to use this API call: https://{username}.carto.com/api/v2/sql?q=SELECT+*+FROM+OBS_GetDemographicSnapshot(CDB_LatLng(40.760410,-73.964242)) I do use my ...
0
votes
0answers
371 views

Python GEE: TimeoutError: [WinError 10060]

This is my code : %matplotlib inline %load_ext autoreload # debugging flags. Reloads include files every execution. %autoreload 2 import pprint pp = pprint.PrettyPrinter(indent=4) import matplotlib....
2
votes
0answers
51 views

unknown issue with search geometry in Planet API

I'm trying to download some images from the Planet API using a MultiLineString geometry. I did a test with a simple MultiLine and it worked. Now I tried with a more complex one (and not that much): ...
0
votes
1answer
297 views

Creating datastores in GeoServer REST API with external file option

Following the REST API documentation here I should be able to do a PUT request to /workspaces/{workspaceName}/datastores/{storeName}/{method}.{format}. Problem is I cannot get how to do it with an ...
0
votes
0answers
119 views

Is there an API for NOAA GOES 15 satellite data?

In August 2015, I was requesting GOES 15 GVAR_IMG satellite data because it had both visible and infrared light info (useful for studying cloud coverage and solar radiation). I remember having to ...
2
votes
0answers
53 views

Getting colour ramps and other funky styles in the ArcGIS REST API's DrawingInfo or elsewhere

I have some layers with "funky" styling, they contain colour ramps, or hashes across the line (mimicking train tracks), or dashes with different spacings. I'm reading all of these layers from an ...
0
votes
0answers
88 views

Retrieve sentinel2 cloud mask through an API

Have you ever heard about an API to download sentinel2 cloud mask only ? Not all bands but just cloud mask. Because I just want to process a small part of each satellite tile and it's very time ...
0
votes
1answer
41 views

Parsing .dxf through a request to the ArcGIS server REST API

I have data in the DXF file. Can I parse the data and get response in an json by querying to the ArcGIS server (REST API)?
0
votes
1answer
48 views

Live datasets in Carto using Census API

I want to get population counts for places in California. [Ideally Census Tracts, but that's not a supported geography in the population dataset?] After reading through the documentation and ...
0
votes
1answer
70 views

Unable to download VIIRS images with GIBS API and gdal_translate

I'm trying to download some VIIRS images from GIBS API. I'm using gdal: gdal_translate -projwin 19.07 42.16 28.39 34.5 -of "GTiff" "viirs.xml" "VIIRS_SNPP_DayNightBand_ENCC.tif" The viirs.xml file ...
0
votes
1answer
85 views

Is there a service or library that takes a route (with unlimited points) as input and returns text turn-by-turn instructions?

I am making an application that generates routes based on atypical heuristics so I would like a service much like Mapbox Directions API but I could: Disable the internal routing. (i.e. if I give a ...
3
votes
1answer
176 views

Getting directions using routes in ArcGIS API for JavaScript?

I am creating several routes, these routes represent the public transportation network of a city. Now I want to calculate the best combination to go from a point A to a point B using those routes. ...