Skip to main content

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
1 answer
707 views

Automatically extracting satellite images from list of coordinates with Python

I have a DataFrame composed of 4000 lines of geographic coordinates of various types of infrastructures. I mainly work on Python. From each of these coordinates, I would like to automatically extract ...
0 votes
1 answer
454 views

Which online APIs return elevation data without the height of trees and buildings?

I work on applications that generate topographic maps and analyze GPS tracks. My main concern is the presence of "bumps" due to the height of trees and buildings returned by the elevation ...
1 vote
1 answer
478 views

GEE Python API Map Visualization not working

I am working in Google Collaboratory and the Google Earth Engine Python API Map will not show. It was all working as of 7/6 5pm EST and then 7/7 at 10am it stopped rendering. I have attached my code ...
1 vote
1 answer
52 views

Access QField cloud layers via an API

I'd like to set up a Python dash application, or a Leaflet map that uses data from a layer sitting in a QField Cloud project. Is it possible to access the data from layers sitting in a QField Cloud ...
0 votes
0 answers
18 views

Embedding MapStore map into a third-party application

We have configured a map and plugin in MapStore. Now we need to embed it into a running application as a map component. And we are asked to use the map api to build plugin. How can we achieve this?
0 votes
0 answers
10 views

Why does Geoname API not geocode places which I can find on their website?

I am using the Geonames API to geocode place names and have some odd cases where the API does not give me geodata for a place that I can find on their website. I am aware that Geonames has different ...
1 vote
1 answer
240 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
1 answer
316 views

Ordnance Survey API - a couple of questions

Regarding OS maps API - is there a way to crop the map to show just the area I am studying? OS Download API - I have generated the API and added it into QGIS, and I am following the directions from ...
1 vote
3 answers
2k views

PlanetScope Image Delivery to Google Earth Engine

I am trying to order PlanetScope data from Planet Explorer and have it delivered directly as an asset to my image collection in Google Earth Engine, but it is unclear how to do this. I have read and ...
2 votes
2 answers
98 views

Obtaining list of all EPSG code for a single location on map

There are APIs like https://epsg.org/info-api.html, maptiler which takes text input like "San francisco" and returns EPSG codes, but the problem, is I am not able to find a library or a tool ...
0 votes
1 answer
455 views

Using Himawari 8 in Leaflet.js from NASA GIBS

I'm currently developing a Leaflet based map webpage and want to display satellite imagery, specifically from the Himawari 8 satellite. NASA have the GIBS api which appears perfect for my purposes. ...
0 votes
0 answers
27 views

OData Copernicus API single bands

I'm writing a python pipeline to download and process some S2 data and I am using the Copernicus API for the download part. As I only need two bands (B04 and B08), I was wondering whether it's ...
2 votes
1 answer
679 views

Sentinelsat Python API - download images after scihub IP Change

I need download Sentinel-2 images. I used this code for like 2 years or more: def download_S2_by_tile(tiles=[], initialDate='', finalDate='', downloads=''): """ :param tiles: ...
0 votes
1 answer
506 views

Connecting 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
1 answer
55 views

How to upsert LineString in ArcGIS python via CSV (or other suggestion?)

I have been working on an ETL process to push / upsert my data from PostgreSQL into ArcGIS Online into a lines feature layer to be included on a WebMap. I have had no problem with using essentially ...
0 votes
0 answers
31 views

Render API data points within a boundary

I am currently trying to find all the speed limits of roads within the Birmingham area. I have the API key from OS and set up the WFS Connection successfully. But what I have noticed is that it does ...
2 votes
1 answer
87 views

Getting a workspace's namespace via GeoServer REST API

I have set up a workspace named "foo" and set its namespace to "bar". How can I find out its namespace setting via the REST API? The information is not included in a call to /...
27 votes
8 answers
15k views

Geocoding APIs comparison

Is there a good updated source for comparing existing Geocoding APIs (i.e. Google, MapQuest) and their features? I'm really interested in their language support as well. For example, Google has ...
1 vote
0 answers
70 views

Connecting Planet imagery orders to Google Earth Engine

I am using the various guides available on the Planet website, which I find to be insufficient and often conflicting. I have a student user account with Planet, maybe thats my issue? I've setup within ...
1 vote
0 answers
422 views

Qfield Cloud API Error

I have a project i created new from scratch. I have opened qfield sync logged in and clicked on the little blue cloud with the star saying 'create new project' I have chosen the Convert currently open ...
0 votes
0 answers
122 views

How to search Landsat data using USGS M2M on Python based on row and path instead of a polygon area

I want to search for Landsat images via M2M API from USGS and its documentation can be found at the following link: https://m2m.cr.usgs.gov/api/docs/json/. The entire tutorial I follow can be found ...
0 votes
0 answers
53 views

How to retrieve Sentinel-1 data with specifying orbit direction (ascending or descending) using OpenEO

I am using Python's API for OpenEO. This is the code I have for the datacube: sentinel1_cube = con.load_collection( "SENTINEL1_GRD", spatial_extent={"west": 21.60, "south"...
3 votes
7 answers
18k views

Getting location data from Latitude and Longitude

I am looking for some API that will return me the info of location from Latitude and Longitude parameters. I tried using Google Geocoding but it doesn't work well for anything water-related, like it ...
10 votes
5 answers
11k views

Representing Time in GeoJSON?

I'm modelling a bus route as a series of waypoints. Most of these waypoints have just a latitude and a longitude and represent points along a road. However, when the bus gets to a bus stop, the ...
3 votes
5 answers
4k views

bathymetry (Ocean Floor depth) data - API or similar

I am looking to extract the ocean floor depth from a given lat/lng. Research has lead me to lots of sources. Does anyone have any words of wisdom or good sources or the best way to achieve this? ...
1 vote
1 answer
161 views

Corrupted zip files when I download Sentinel-2 L2A Granules using the new Copernicus Data Space Ecosystem

I would like to download Sentinel-2 L2A Granules using Open Data Protocol (OData) with new Copernicus Data Space Ecosystem. I have followed some tutorials on how to do it. https://dataspace.copernicus....
1 vote
1 answer
498 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
1 answer
31 views

QGIS 2.18 C++ API: How do I match the scale of vector and OSM tile layers with different crs?

I'm loading two layers to QGIS maps canvas: the first is a shapefile, and the second is an xml for OSM TileServer. OSM TileServer - OSM.xml <GDAL_WMS> <Service name="TMS"> ...
0 votes
1 answer
73 views

Is Esri REST API the same as REST API [closed]

Can an Esri REST API function in QGIS connect to a (non-Esri) REST API or are they significantly different and therefore won't work?
0 votes
0 answers
56 views

Import qgis.core in Azure Functions

Do any of you know if you can use qgis.core in Azure Functions to build an API? We mainly work with Python code, where we use functions that depend on qgis.core. In Azure Functions you can easily use ...
1 vote
2 answers
191 views

Why does GeoNames say there are only 73 parks in Mexico?

I did this GeoNames query http://api.geonames.org/search?featureCode=PRK&username=genadinik&country=MX&style=full&maxRows=10 and it says there are only 73 parks in all of Mexico. Am I ...
1 vote
1 answer
103 views

Collapse geocoder plugin search box in Mapbox

How do I make my MapboxGeocoder collapse when not on hover? I am trying to make it like this example (be sure to add your access token to the end), where the Geocoder search field expands when it's ...
0 votes
1 answer
179 views

Maximum number of attempts (200) reached - Python Planet API - Order and Download a request

I want to download some data from Planet using its Python API. I follow the following tutorial planet-sdk-for-python-v2.readthedocs.io/en/latest/python/sdk-guide/#create-an-order-request I have done ...
1 vote
2 answers
276 views

Problem calling Overpass API with convert statement

I try to make an Overpass API call with restricted number of tags, to achieve this I incorporated convert statement. Here is working overpass turbo example of query for data I would like to fetch: [...
3 votes
1 answer
225 views

Was PyQGIS released with the first QGIS version?

Is it correct that PyQGIS was introduced with QGIS 3.0, or was there a Python API from the beginning?
2 votes
0 answers
210 views

Reverse geocoding API and the city labels with OpenStreetMaps

I have troubles to get the typically displayed city names in the maps with reverse geocoding API like OpenStreetMap. See for example Salisbury, UK: https://nominatim.openstreetmap.org/ui/reverse.html?...
1 vote
1 answer
799 views

ogr2ogr conversion from pbf to mapbox mvt

I have downloaded traffic data from TomTom API which has come in the format https://api.tomtom.com/traffic/map/4/tile/flow/relative0/12/1207/1539.pbf?tileSize=256&key=***** The PBF format is ...
0 votes
1 answer
804 views

How to transfer simple GeoTiff data into a database

I'm trying to turn a relatively simple GeoTIFF file into a dataset readable by an API. End goal: Build a GET method for an API like /search_by_coordinates?lat=-73.1221&lng=44.4924 and get ...
1 vote
0 answers
82 views

Show/hide sublayers, QGIS API C++

I'm loading .osm map using QGIS API C++ 3.22.4. The map has several sublayers (points, lines, multilinestrings...) I'm trying to switch on/off sublayers with setSubLayerVisibility(), but always ...
1 vote
0 answers
172 views

REST query input geometry

I'm trying to get a list of surrounding counties using https://tigerweb.geo.census.gov/ but I am having trouble querying their ArcGIS REST server. My goal is to send a county (I know the GEOID), get ...
4 votes
1 answer
510 views

Usage policy on the Facebook Place API

Do you know if there are requirements or restrictions on Facebook Place API? Is it possible to download the data? Is it open-source?
0 votes
0 answers
91 views

Learning How to Use Road Network Files

I am interested in learning how to work with Road Network Files in R. For example, I would be interested in finding out the driving distance between the following two (Canadian) addresses: CN Tower: ...
0 votes
1 answer
787 views

Authentication to GeoNetwork by third party application

I linked the users table of GeoNetwork 3.10.2 with my application database so everytime I create/update a user in the app is also created/updated in geonetwork, now I want that once I log in the app, ...
3 votes
1 answer
499 views

Where can I find tower information

I want to find geolocation with GSM Cell information. I need tower information to find locations and calculate triangulation. I tried OpenCellID service but I think it's not up to date. I can't find ...
2 votes
1 answer
529 views

Retrieve relations using specific coordinates in an overpass query

I'm new to Overpass API. I would like to make a query that retrieves the relations on natural=water using specific coordinates. I tried the following query: ( way["natural"="water&...
1 vote
1 answer
524 views

I am looking for a library or API to do vector overlay for two map layer (shapefiles or GML files)

I need to perform vector overlay operation on any two map layers as ArcGIS and Grass GIS performs. I am wondering is there any API or library ( in C, C++ or Java) so that I can use that third party ...
0 votes
0 answers
484 views

Error when using the OpenRouteService API with QGIS

I had been using the OpenRouteService API to create isochrones in QGIS with no problem, but now I'm getting an error as follow. I've verified the token quota has not been exceeded. I'm getting the ...
1 vote
1 answer
153 views

How are WFS/WMS APIs secured?

Here's a dumb question, about something I barely understand. Please forgive me if even the premise of the question is wrong. When a WFS or WMS API is secured behind a password, is it then always also ...
2 votes
1 answer
425 views

Concurrent requests while querying a map service returns duplicate sets

I have a Python script that hits a query endpoint for a map service on an unfederated server. I am avoiding the arcgis library because it is not performant enough and its compatibility with geopandas ...
1 vote
1 answer
234 views

Determining if particular point is near country or state boundary

I'm developing an accessibility Add-On for flight simulators that allows a blind person to fly. The App is coded in c#. I can easily get the GPS location of the user's Aircraft. What I want to be able ...

1
2 3 4 5
9