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 votes
0 answers
28 views

Does Esri provide road closures? [closed]

I want to develop functionality for routing using Esri's ArcGIS Maps SDK for JavaScript. I can handle the routing and also manually add road closures, but is there a way to retrieve road closure data ...
Pavle Jovanov's user avatar
0 votes
1 answer
60 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....
Ilias Machairas's user avatar
0 votes
1 answer
24 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"> ...
ty_2024's user avatar
0 votes
1 answer
58 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?
LiMoNiZeR's user avatar
0 votes
0 answers
46 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 ...
Joram's user avatar
  • 5
1 vote
1 answer
43 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 ...
DaCuteRaccoon's user avatar
0 votes
1 answer
106 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 ...
Ilias Machairas's user avatar
3 votes
1 answer
221 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?
MoritzMoreira's user avatar
1 vote
2 answers
162 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: [...
Jakub Błażejczyk's user avatar
0 votes
0 answers
42 views

Error in getting metadata from Geonetwork using API

I need to get metadata from the Geonetwork using Api for displaying the data in the grid but when I use to call api using XMLHttpRequest it throws me error with 403 forbidden CORS issue even I had ...
Masthan Patan's user avatar
2 votes
0 answers
186 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?...
L D's user avatar
  • 121
0 votes
0 answers
25 views

GeoServer: How can I set up a user/role so that it can add new layers and apply existing styles to those layers in a specific workspace only?

I've only just started using GeoServer in the last week, so apologies if I'm missing the obvious. But I have set up GeoServer with a "data loader" user and role. The user has read, write ...
user3245448's user avatar
0 votes
1 answer
304 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 ...
Guillaume's user avatar
1 vote
0 answers
72 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 ...
V2718's user avatar
  • 11
1 vote
0 answers
252 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 ...
ciaran obrien's user avatar
1 vote
0 answers
129 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 ...
Andrew T's user avatar
  • 243
2 votes
1 answer
443 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&...
123pna's user avatar
  • 23
0 votes
0 answers
66 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: ...
stats_noob's user avatar
0 votes
0 answers
304 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 ...
e_terr's user avatar
  • 1
1 vote
1 answer
106 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 ...
enor's user avatar
  • 391
2 votes
1 answer
308 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 ...
jesnes's user avatar
  • 423
1 vote
1 answer
549 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 ...
guest_20230125's user avatar
0 votes
0 answers
167 views

Getting TomTom Traffic API XYZ data to display on map

I am using TomTom API to retrieve Traffic Data https://api.tomtom.com/traffic/map/4/tile/flow/relative0/12/1207/1539.png?tileSize=256&key=***** However, there is no coordinate reference system ...
guest_20230125's user avatar
4 votes
1 answer
523 views

EPSG.io API for PROJ definitions

I am trying to use the EPSG.io API to retrieve PROJ definitions for a CRS. I know that they provide them in their website but the API only seems to be able to retrieve in WKT or GML format. Is there a ...
rosewall's user avatar
0 votes
0 answers
26 views

Lookup UK administrative county for point

Wikishire have a helpful lookup tool that allows you to find the traditional county for a given set of coordinates within the United Kingdom. This is easily (and legally) scriptable. Is anyone aware ...
richard's user avatar
  • 101
0 votes
0 answers
174 views

Managing style file in ArcPy using ArcGIS Pro

I am trying to update a geoprocessing service that was in ArcMap to ArcGIS Pro. The geoprocessing services use a style file for its legend and I want to update certain legends but I have no idea how. ...
Shraddha Sharma's user avatar
1 vote
0 answers
378 views

Does the Census Bureau's geocoding API limit request frequency?

I am trying to batch-geocode about 8 million address records using the Census Bureau's batch geocoder. I am currently doing so sequentially, which takes about a day to complete. I was considering ...
Arjun Shanmugam's user avatar
2 votes
1 answer
97 views

Build a project that reports if a point is inside a restricted area

I want to build a project that can accuse if a point is inside a restricted area or not. For this I have to use an map with restricted areas already delimited by layers and the entry point is a ...
Victor Soares's user avatar
0 votes
0 answers
80 views

WMS not rendering properly within API

I am working with simple layers using lines and polygons in QGIS 3.22.11 and publishing them as a WMS to QGIS Cloud. The Map Viewer in QGIS Cloud displays them perfectly but when I bring the WMS into ...
LKM's user avatar
  • 1
0 votes
1 answer
127 views

The Crown Estate API data into QGIS

I am trying to pull this data from https://www.thecrownestate.co.uk/api/energy-map/wind-farm-data into QGIS. This is a real-time data coming from the interactive map: https://www.thecrownestate.co.uk/...
Serkan's user avatar
  • 1
1 vote
1 answer
352 views

Adding a REST API GET response (JSON array containing individual GeoJSON features) as a new vector layer in QGIS

I'm trying to add a new vector layer in QGIS from a REST API endpoint. This endpoint actually returns a JSON array containing individual GeoJSON features, e.g.: https://api.sharedmobility.ch/v1/...
swiss_knight's user avatar
  • 10.1k
1 vote
1 answer
79 views

Leaflet symbology using jQuery with a static api response

I'm symbolizing a road network by getting a response from a static api. I have a GeoJSON loaded on the frontend that contains XDSegID as the primary key. I'm sending an AJAX request which returns ...
RMT's user avatar
  • 39
0 votes
1 answer
390 views

How to automatically extract satellite images from a list of coordinates

I have a dataframe composed of 4000 lines of geographic coordinates of various types of infrastructures. I mainly work on Python. From each of theses coordinates I would like to automatically extract ...
JEG's user avatar
  • 41
0 votes
1 answer
377 views

Highlight city, town, village or hamlet name in Leaflet [closed]

I'm fairly new to GIS programming but I've managed to do the following in Leaflet along with OSM: Display the map (very simple indeed) Get coordinates from user input (onClick on map, gives me lat/...
sockevalley's user avatar
0 votes
0 answers
100 views

Improving performance of Overpass area search queries

I am building an application that retrieves lists of location names within geographical boundaries like cities and postal codes. The queries take up to 15 seconds to complete and I would like to make ...
Sarge's user avatar
  • 1
1 vote
1 answer
340 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 ...
Sharanya Madhavan's user avatar
0 votes
0 answers
133 views

API key from Thunderforest for OpenLayers does not work

I’m using OpenLayers v6.14.1 and I’m trying to put to work my API key from www.thunderforest.com, according to guidance at https://www.thunderforest.com/tutorials/openlayers/ but it does not work. The ...
Gustavo's user avatar
1 vote
0 answers
423 views

Calling API end points in QGIS

I have Json/GeoJson data, boat positions and headings, which is continuously updated on an URL. I want to get get this data into QGIS. I tried OAuth2 in WMTS, Add Vector Layer (Protocol HTTPS) and ...
Marin Mirošević's user avatar
0 votes
0 answers
327 views

Sentinel 2 satellite images API

I want to download or reach Sentinel 2 images as png, jpg. I used Copernicus Open Access Hub but it is not so clear, can someone explain how to download one satellite images with ROI and time?
Wtow's user avatar
  • 11
0 votes
1 answer
113 views

Requests Python module in QGIS return nontype or empty CSV

I am using the Requests Python module to query a 3rd party API that returns a polygon of an address, the returned CSV returning only part of the header, while it is working fine when using the code ...
Kareem Alaraby's user avatar
0 votes
0 answers
473 views

POST zip file to ArcGIS Server using an API (Python)

I have built an API in python using the Flask framework. My goal is to be able to upload files from a local directory (in this case E:) into ArcGIS Enterprise Server. From there the service can be ...
MoreMeowbell's user avatar
1 vote
0 answers
387 views

Connect A 3rd Party API to ArcGIS Online [closed]

I am making a REST API that provides lat-long coordinates. I would like to create a pipeline to feed this API into an ArcGIS Online map. Is this doable? I am a programmer. Can ArcGIS online parse a ...
Steve Scott's user avatar
1 vote
0 answers
1k views

Failing to deserialize geometry point data in Spring Boot REST API

I am working on a location-based REST API and so far everything is working fine, except for one controller which gives this error. I am new to this. 2022-03-16 16:28:37.842 WARN 7720 --- [nio-8080-...
tbang_350's user avatar
0 votes
1 answer
651 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 ...
Alexandre Toulemonde's user avatar
0 votes
2 answers
276 views

Extract xmin/max, ymin/max for a tile from Mapbox API

I am trying to harness the power of the Mapbox API (https://docs.mapbox.com/api/maps/raster-tiles/) to download some tiles. Easy enough. I also though need to download some metadata about these tiles, ...
Momchill's user avatar
  • 284
0 votes
1 answer
798 views

Getting detailed city/region names from OpenStreetMap (OSM) tile API

I want a tile for a region. I have the coordinates. I used a calculator webservice to convert lat/long to z/x/y. I'm using the OSM service like this: https://tile.openstreetmap.org/8/137/83.png : curl ...
Zeta.Investigator's user avatar
1 vote
2 answers
222 views

JSON data response

I need to obtain point features for UNESCO sites of italy in JSON format using :-UNESCO POIs (OGC API): https://demo.pygeoapi.io/master/collections/unesco_pois_italy. But unfortunately I am not able ...
Walker's user avatar
  • 191
0 votes
1 answer
358 views

Using event listeners such as Polygons, polylines and point for API query with ArcGIS JS

I recently started working on ArcGIS JS to query with API from another site. I want to get the rasterized outputs by calling the API. It would work the way of EOS's real-time crop analysis. I am ...
user avatar
3 votes
7 answers
16k 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 ...
Chris K's user avatar
  • 81
0 votes
1 answer
400 views

Get SoilGrid data per x,y coordinates

In the past I was able to get SoilGrid data per x,y coordinates (lat,lon) using Python with the below URL: url = f'https://rest.soilgrids.org/soilgrids/v2.0/properties/query?lon={lon}&lat={lat}' ...
user88484's user avatar
  • 1,769

1
2 3 4 5
9