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
0
votes
0answers
13 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 ...
2
votes
1answer
65 views

GeoJSON API in QGIS

Can someone explain which kind of "arrangements" can be used to get data with QGIS API. I am very new to QGIS API,so any advice is welcome. As I see it API's can be added by using Add ...
1
vote
4answers
113 views
+50

Get 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 ...
0
votes
1answer
25 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}' ...
0
votes
1answer
19 views

Why does TIGERweb API give different census block info than the FCC block API

Here is the block API request and result: https://geo.fcc.gov/api/census/block/find?latitude=42.6692833&longitude=-73.7315867&format=xml <Response status="OK" executionTime="...
0
votes
0answers
17 views

Solving the error << TqdmKeyError: "Unknown argument(s): {'delay': 2}" >> when downloading Sentinel data using the sentinelsat API in Python

I am trying to download Sentinel-3 data using the Sentinelsat API for Python. When running the code, I am getting the following error: TqdmKeyError("Unknown argument(s): " + str(kwargs))) ...
2
votes
1answer
66 views

"Overpass API : Download failed: Proxy denied connection" using QuickOSM plugin in QGIS 3

I want to use the QGIS plugin QuickOSM in QGIS 3 to extract the road network of a certain area. However, when clicking run query, I get the following error message: Network error with Overpass OSM ...
1
vote
1answer
65 views

Accessing historical precipitation data outside of GEE

I'm looking for historical and also present climate data for some polygons I have. I would like to be able to access rainfall data for these points. I cannot use GEE and was struggling to find a good ...
0
votes
1answer
22 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 ...
0
votes
0answers
24 views

Storing geotagged tweets in PostgreSQL using Jupyter Notebook

I've been working on a Python code in Jupyter Notebook for store geotagged tweets in PostgreSQL. The code is the next one: #!/usr/bin/env python # coding: utf-8 #Import libraries import tweepy import ...
1
vote
3answers
106 views

Adding vector layer feature from REST API URL (HTTPS) in QGIS

I'm simply trying to import this feature directly into QGIS 3.16.3-Hannover as a new vector layer: https://api3.geo.admin.ch/rest/services/api/MapServer/find?layer=ch.swisstopo.swissboundaries3d-land-...
2
votes
1answer
69 views

Getting OSM features by ID at a version number

The lava flow from the eruption in the Canary Islands is being shown on OpenStreetMap. It has OSM ID 13249829 and is being updated, and various revisions are in OSM, as can be seen via this API call: ...
2
votes
0answers
19 views

Preventing the HERE API returning a bar or pub instead of a railway station

When I query for a railway station using HERE API, it returns something in the category "Bar or Pub" instead. https://browse.search.hereapi.com/v1/browse?at=52.66052,0.16378&limit=5&...
0
votes
0answers
16 views

Difference between SRTMGL3_NC and SRTMGLC3_NUMNC

I requested elevation data from https://lpdaac.usgs.gov/products/srtmgl3v003/ by using the API and received couple of files. I received two .tif files, which are obviously elevation data. However they ...
5
votes
2answers
226 views

Where should I add the API key in ORS Tools?

I want to make an isochrone for my halte and station points. But I have to configure ORS Tools with my API key. The problem is, I can't find any configuration button in my ORS Tools plugin. How should ...
0
votes
0answers
14 views

Adding StreetView add into Google MyMaps

A customer uses Google MyMaps to track relevant location data. They want to be able to use the StreetView addin in their map but I can't seem to find a way to implement it.
1
vote
0answers
96 views

Problem on running a sample code of QGIS3 C++ API

I have written a code using QGIS 3 C++ API. But there are runtime errors. My environment is: Windows 10 64bit Qt 5.15.1(MSVC 2019) Qt Creator 4.13.1 QGIS 3.x.x using osgeo4w-setup-x86_64.exe, and ...
1
vote
1answer
71 views

Google Earth Engine: how to display the entire layers' names?

I imported many Landsat images through Google Earth Engine. The issue is that the windows to select the layers does not display their name entirely (see picture). How can I extend the window to see ...
2
votes
1answer
214 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: ...
-1
votes
1answer
27 views

Free API/SDK for exporting map with scale and legend

I am looking for some free/opensource GIS api/sdk (preferably in Java) to accomplish following workflow. I have couple of raster files like tif, and vector files like shapefiles with associated SLD ...
0
votes
0answers
21 views

Aligning and overlaying maps from different providers

I am quite new to this whole GIS domain, so I was hoping someone could shed some light into a problem I have been trying to solve for a while. I consume data from 2 different providers: http://www.bom....
2
votes
0answers
33 views

Connection pooling in OGR PostgreSQL driver

OGR (GDAL) provides a vector driver for "PostgreSQL" and data in the DB can be accessed with something like the following: driver = ogr.GetDriverByName("PostgreSQL") datasource = ...
0
votes
0answers
55 views

Invalid style group: No layer or layer group named 'Location' found in the catalog*

I have two exactly similar setups and I am trying to update my Asia layergroup with, curl -v -u admin:geoserver -XPUT -d @Asia.xml -H "Content-type: text/xml" http://localhost:28080/...
1
vote
1answer
47 views

Free or FOSS Elevation API for Heightmaps (image files) instead of elevation points

I'm coming from a Blender background, in which simple FOSS extensions exist (like BlenderGIS) that download SRTM/Aster Elevation Data and make a terrain based on this. I'd like to make something ...
0
votes
1answer
26 views

OGC API Processes returns error 500 or 400

I am testing the following OGC API endpoint on demo pygeoapi server https://demo.pygeoapi.io/master/processes/hello-world/jobs following the documentation page 32 I post the following JSON body: { ...
1
vote
1answer
145 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 ...
0
votes
0answers
169 views

Downloading Sentinel 3 data using Python

I need yo download Sentinel 3 data with Sentinelsat python api but all I get after downloading is a bunch of .nc files and a xml file. But I was expecting the OLCI sensor data products. Here is the ...
0
votes
0answers
27 views

QGIS API Documentation for offline

I downloaded the QGIS API Documentation for offline use. But the div id=main-menu can't display. The reason is a dependency on serverside search.php. How can I use it normal for offline? This is ...
0
votes
0answers
36 views

QGIS: JSON Load error: Invallid Layer cannot be loaded in: Origin is GeoJSON

So far I have tried to load in a GeoJSON inside QGIS, but I get a problem doing so. To give some context I am testing a system, where we can get a JSON more specifcally a GeoJson from a API. for now ...
0
votes
1answer
25 views

Find number of features in ArcGIS MapServer layer

Given an ArcGIS MapServer layer URL (eg https://gis.dallascityhall.com/wwwgis/rest/services/Sdc_public/Zoning/MapServer/15), how can I find (preferably in JSON format) the number of total features in ...
0
votes
0answers
12 views

How to create a live link from Consultation Manager to ArcGIS Enterprise?

I am working on a project that views their spatial information through ArcGIS Enterprise. They collect information in Consultation Manager and were hoping they would be able to display the ...
0
votes
0answers
59 views

ArcGIS JS API 3 Add protected WMS services from Geoserver

How to add WMS service protected with basic authentication from Geoserver using ArcGIS Api 3? I have tried authentication with ArcGIS Proxy, something like this: <serverUrl url="Geoserverurl/...
0
votes
2answers
256 views

Loading GeoJSON data to Leaflet overlay?

I am trying to get GeoJSON data from an API URL to an overlay. Code; // - GET GEOJSON DATA WITH AJAX TO OVERLAY REGION - // // Get the data var regions = $.ajax({ url:"https://public....
1
vote
1answer
84 views

Exporting map to TIF with embedded georeference/World using QGIS

The Map export from the Project menu supports export to TIFF with the World file embedded. The Print Layout supports TIFF export with a separate World file. I need the embedded version. For automation,...
1
vote
0answers
128 views

Unable to access and download Sentinel-2 images from Python API with the standard code

products = api.query(footprint.wkt, date = ('20161101', '20161116'), platformname = 'Sentinel-2', processinglevel = 'Level-2A', ...
0
votes
1answer
127 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, ...
0
votes
1answer
109 views

Creating a dynamic KML using a websites API with Python

I'm trying to create a KML that will dynamically update using an API call in python based off where the user is currently looking. I've tried to include as much commented work as possible for what I'...
1
vote
1answer
33 views

How to get list of xslt files from geoserver using rest api

I am trying to get list of all XML and XSLT files from GeoServer using REST API. I am using path: my_geoserver/geoserver/rest/services/wfs/transforms and code: request_url = server + "/geoserver/...
1
vote
1answer
359 views

How to execute GDALRasterize() function wtih options?

I am using GDAL 2.1.0, in both Windows and Linux environments. I want to programmatically rasterize a shape file in my C++ app. Thanks for any clues you can provide. gdal_rasterize I can successfully ...
0
votes
1answer
412 views

How can I solve the exception caused by using REST API to create featuretype in GeoServer

I use a post request to create a featuretype The request is as follows: http://localhost:8080/geoserver/rest/workspaces/topp/datastores/mmapping/featuretypes body: <?xml version="1.0" ...
-1
votes
1answer
102 views

Querying a database/REST API

I cannot figure out how to use QGIS to query the database at this link: https://www.ncdc.noaa.gov/swdiws
1
vote
1answer
596 views

PyQGIS error: proj_create_from_database: Cannot find proj.db

I have problem with QGIS. When I run my code in QGIS Python console it works but when I try in console I'm getting an error. Code: import sys from qgis.core import QgsApplication, ...
2
votes
1answer
37 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 ...
0
votes
0answers
680 views

Pre-Processing of Sentinel-1 data using Python snappy API

While applying 'Apply-Orbit-File' to Sentinel-1 data during preprocessing via python snappy, the following error produced. Traceback (most recent call last): File "<pyshell#0>", ...
0
votes
1answer
84 views

Constructing paginated API response for GeoJSON

How can I return a paginated GeoJSON payload from an API, including page information? The pagination applies to the number of features in a feature collection. If the standards specify pagination, ...
-1
votes
1answer
149 views

Coordinate projection API that accepts HTTP GET requests?

Is there an API out there that converts/projects coordinates through an HTTP GET request and returns JSON? I imagine the parameters would be something like: { source_epsg: 4326, //WGS84 ...
1
vote
2answers
377 views

REST Queries for ESRI Map Service Raster Layers

I'm having trouble getting REST queries to work for any ESRI Map Service raster layers. Right now I've just been working with the query generator as part of the ESRI Service Directory. Here's are two ...
1
vote
1answer
93 views

Read gdb into shiny app

I want to access a feature class inside a geodatabase (gdb) from inside my shinyapp. I can access the fc class once I provide the gdb path: gdb_data = arcgisbinding::arc.open(gdb) but how do I get ...
1
vote
2answers
414 views

Adding a geopackage (gpkg) to GeoServer through REST API

I'm trying to use the REST API to upload a GPKG file (SQLite with vector data) into GeoServer with curl but I always get Error auto-configuring coverage. The (wrong) command I'm currently using is ...
0
votes
1answer
145 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. ...

1
2 3 4 5
9