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.

0
votes
0answers
29 views

How to connect multiple cities on a static map by using MapQuest route /static API

I am working on any optimal vehicle routing problem. I want to start map routing on the road starting from one city A to city B to City c to city D back to city A Based on lat/lng of these cities ...
0
votes
0answers
13 views

How to use Nominatim API to show an iframe with a map from openstreetmap? [on hold]

I want to exploit API requests to add maps to my webpage dynamically, according to which name of a city the user types into the search field. I want to do that by using Javascript/JQUERY and JSON ...
0
votes
0answers
28 views

Getting GPS coordinates of an ending point based on a specific road, a starting point and length

In an Excel file, through VBA, I would like to have the GPS coordinates of a certain point, starting from the previous known point and the length of a specific highway (or a road). I mean a "delta" ...
1
vote
0answers
20 views

API for publishing data from shapefile [duplicate]

I have a client asking to develop a system which provides API to consume data from their POI, PA and MPA datasets (in shapefile). Essentially more like the existing Google Maps or HERE Map API which ...
-2
votes
0answers
51 views

Windy API for OpenLayers 5

Is it possible to use Windy API for OpenLayers 5? There was an answer 3 years ago.. Maybe sth has changed.
1
vote
0answers
37 views

Read a .csv file from a URL with an API call in QGIS 3?

How do I read a .csv file from a URL with an API call, including key, in QGIS 3? I've tried creating a .vrt file as outlined here I've tried the solutions presented here If I'm doing everything ...
0
votes
0answers
9 views

API to fetch Earth Grid tiles / squares, with data on Countries they represent ? (python)

The purpose is to build a dictionary of earth grid's squares: for each square, I know their coordinates and the country they represent. This may be something similar to https://gis.stackexchange.com/...
1
vote
1answer
38 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
63 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
42 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
18 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
39 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
23 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
1answer
79 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
89 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
39 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
44 views

Is it possible to block 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
47 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
181 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
88 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
239 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
378 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
2answers
189 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
57 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
41 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
203 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
860 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
220 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 ...
3
votes
3answers
709 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
157 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
240 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
225 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
80 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
133 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
46 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
330 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
105 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
237 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
81 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
1k 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
83 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
46 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
78 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
63 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
56 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 ...
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
359 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
130 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 ...