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

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
5 views

Linking WMS to Google Earth with API key [on hold]

nmtoken explained very well in Linking Geoserver WMS layer to Google Earth? how to link WMS layer to Google Earth but I have a question regarding when my WMS source has an API key. Can I specify the ...
1
vote
0answers
24 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
12 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
25 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
21 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
97 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
85 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
135 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
172 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
84 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
0answers
23 views

Seeking routing API that allows request for 20+ routes for same A-B?

Are there any routing api's that allow a request for 20+ routes for same A-B? I've tried TomTom and Google, I'm not sure where in the docs it has anything related to getting multiple routes for the ...
0
votes
1answer
49 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
39 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
92 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): ...
1
vote
0answers
534 views

Is there any free API that allows to get the state and the city using the name of the country and the postal code? [closed]

Original question: I create an web application and I need to obtain the information contained in the question on the backend side of my application. What I need the most is the automatic retrieval ...
3
votes
0answers
496 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
138 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
366 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
130 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
131 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
207 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
57 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
92 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
0answers
32 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
203 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
74 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
158 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
49 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
648 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
64 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
16 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
42 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
55 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
41 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
48 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
324 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
45 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
0answers
448 views

HTML code for multiple KML display on Google map window

Does anyone has a html code to share for displaying multiple KMLs in a google earth api module with the option of selecting which layer has to be displayed? Like a toggle legend. I am at this point, ...
0
votes
1answer
234 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
105 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
52 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
19 views

Get streets name around a given point at a specified distance

I'm using ArcGIS 10.4.1 and PythonWin. I've created a script that does the following; It calculates the median center of many gps coordinates (postal deliveries for the same address i.e 25 Richmond ...
0
votes
0answers
83 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
39 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
47 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
67 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
84 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
144 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. ...
0
votes
2answers
355 views

Form submit to mapbox dataset via Javascript API

I have a form on a webpage that has a map the user can click on to populate the form's latitude and longitude fields. See it live. I have an empty dataset created in Mapbox Studio and have created an ...