A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
55 views

Failure connecting to API - Geocoding using MMQGIS

I'm very new to GIS and am trying to geocode a list of addresses of some OpenData in QGIS using MMQGIS....however when I go to run MMQGIS Geocode function with my .csv. I keep getting this error and ...
1
vote
1answer
29 views

OpenStreetMap (OSM) Relation ID from Wikidata

I'm working on a map render application and I would need to have the relation ID of OpenStreetMap from the Wikidata ID in order to download the GeoJSON file. I have made some search and found a good ...
1
vote
1answer
37 views

Are searchable maps limited to geocoding APIs like Google

My client wants a searchable map. I'd like to use Leaflet and Mapbox for the map, but is having an address-search feature limited to geocoding APIs like Google Maps or Mapquest?
1
vote
0answers
22 views

Travel Time Isochrone Map - Http Post request [closed]

I am trying to send a request to Travel Time Platform for an isochrone using the API - https://www.traveltimeplatform.com/ // Coordinates for Manchester Central Foodbank in Lat Lng var ...
1
vote
2answers
105 views

Importing Data from API-Website into QGIS

I am trying to use the map data, found on this website https://fixmyberlin.de/planungen and import it to QGIS. Specifically I am looking for the bike paths shown there. I have contacted them and ...
1
vote
0answers
20 views

Error: unable to open Unable to open %s.shp or %s.SHP

I am using c shapelibrary (http://shapelib.maptools.org/) SHAPE API for creating and reading shapefiles. I am able to create a new shapefile using SHPcreate(). However I am unable to read it using ...
0
votes
1answer
33 views

QGIS 2map plugin issue - no map tiles provided for QGIS 3x (3.8)

Following the example described here: https://www.qgistutorials.com/en/docs/web_mapping_with_qgis2web.html I am trying to do the same with QGIS 3.8. The process in QGIS is simple, after seeking the ...
2
votes
1answer
20 views

Get zoomed-in images with the EarthExplorer API

I've been using the landsatxplore library that provides a Python API for EarthExplorer. However, when I've been searching for scenes using code like this: scenes = api.search( dataset='...
1
vote
0answers
39 views

Carto trying to set syncing with a PostGIS database connection

I'm trying to set up a syncing connection between Carto and a PostGIS Table. However, I'm not seeing updates in Carto, and the table does not show up in my list of syncs when I make a Get request. ...
1
vote
0answers
23 views

How to make maps move when you create a Google map using OpenLayer 2

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=...
0
votes
0answers
47 views

Warp using Java GDAL API

I am trying to warp a dataset using Java GDAL API. However, it is not documented and it is unclear which options WarpOptions take. I feed -tr 15 15 just like for gdalwarp. This results in Option not ...
0
votes
0answers
50 views

Extracting travel times from Google Maps for a certain time?

I got the idea that it could be interesting to make a regular daily query to the route planning feature of Google Maps to collect statistics about commuting times. For example: ask Google Maps every ...
0
votes
0answers
55 views

Create map application with Node.js, MongoDB and Leaflet

Currently I am working on a webmap application which will be display thousands of points (probably canvas CircleMarkers) and I am a little bit confused about which solution is the proper for this. The ...
1
vote
1answer
42 views

Add GeoJSON features from an API call in OpenLayers 4, layer not displayed

I'm trying to create a little demo to show the data from our API into a map but I cannot see my layer Here my code, is just basic for the moment, we just need to display the data: const projection = ...
0
votes
0answers
26 views

Add GeoJSON features from an API call in OpenLayers 4

I'm trying to create a little demo to show the data from our API into a map but I have all the time the error: Uncaught TypeError: feature.getId is not a function Here my code, is just basic for the ...
0
votes
0answers
34 views

Developing API that reads data from Azure Data Lake that can be directly added to ArcGIS Portal?

Is it possible to develop an API that reads data from an Azure Data Lake, that can be directly added to ArcGIS Portal? We are not looking for a solution that requires FME, or Data Interop extension. ...
4
votes
0answers
56 views

Create isochrone along a given road

I want to solve this problem : given a departure point given an arrival point given an amount of time In which areas can I go while coming from departure to destination in the given amoint of time? ...
2
votes
0answers
76 views

Error on making a get request to a feature layer?

I am trying to query a feature layer from a script using the arcgis api for python: from arcgis.features import FeatureLayer lomr = FeatureLayer("https://hazards.fema.gov/gis/nfhl/rest/services/...
0
votes
1answer
55 views

Seeking Python API to assess accessibility to foodbank site?

The aim is to look at accessibility or lack thereof, in certain areas of the city, in order to inform future foodbank services. I have been working in Python/Spyder, and using OpenRouteService API to ...
1
vote
2answers
130 views

Error sending request to OpenRouteService API from a set of client addresses to a foodbank site

I am sending a request to OpenRouteService API from a set of client addresses to a foodbank site: I am passing coordinates in the form ((x1,x2),(y1,y2)) where x coordinates are from a large csv file, ...
0
votes
1answer
26 views

Minimum sync time for the CARTO API

I would like to have (almost) real-time synchronization between CARTO and a data source that is connected through an API (excuse any wrong terminology, I am very new to these things). In CARTO ...
1
vote
1answer
54 views

API that can give the latitude and longitude ranges from the address

Is there any API available that can get the latitude and longitude boundaries from the address. For example if we provide: 12380 Sunnyvale avenue, CA, 90005 Can we get the latitude minimum and ...
1
vote
1answer
71 views

Planet not able to get a response from quick-search API call

My question is related to: Planet API not being accepted for quick search but is on stats and planet quick-search api not recognizing authentication?. I am not able to successfully get a response ...
0
votes
0answers
21 views

Restriction of GoogleMap API key on Windows application

I'm using Qt WebEngine to write an Window application that uses GoogleMap with API key. I would like to know how i can set the google API restriction only to this application or there is any way to ...
0
votes
2answers
43 views

How to use a key in an esriRequest call

I have been making calls to a previously free API using esriRequest var layersRequest = esriRequest({ url: base_url, content: { "latitude": lat, "longitude": long, ...
3
votes
1answer
73 views

What are the differences between a WFS and a simple API? [closed]

So I have worked with OSM in the past and have been really happy with the API of Overpass turbo. Now I want to integrate some other data and that one is provided via WFS. Why is some geodata offered ...
1
vote
2answers
443 views

How do I use Django REST Framework GIS to query GeoJSON

I am trying to write the view that will return a GeoJSON of my model stored in the database. I would like to create an API so that I can use an AJAX request in a JavaScript file I have. I have not ...
0
votes
1answer
44 views

WMTS Trying to get list of OS tiles based on extent using OS API

I have a project and trying to implement the OS API WMTS, previously we used the OpenSpace approach but now we need to migrate. In OpenSpace there was a method call GetMap but this does not exist in ...
1
vote
1answer
48 views

What is the OpenStates API rate limit?

I have a project where I need to use the OpenStates API to retrieve information. The code is written and works, I just need to know what the rate limiting is before I turn it on. I have read through ...
1
vote
1answer
178 views

How to connect multiple cities on a map using MapQuest route 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
62 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 ...
1
vote
0answers
61 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
39 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
92 views

Installing 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
92 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
113 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
71 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
82 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
45 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 ...
2
votes
1answer
280 views

Returning 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
140 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
126 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
46 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
72 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
244 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
91 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
388 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
980 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
512 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', '...