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

Google Maps doesn't show my GeoJSON file after calling loadGeoJson

I am trying to show South African municipal boundaries on Google Maps but my file simply doesn't show using loadGeoJson, this is my code (taken from Google example): /** * @license * Copyright 2019 ...
user avatar
0 votes
0 answers
20 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?
user avatar
  • 1
0 votes
1 answer
36 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 ...
user avatar
0 votes
0 answers
103 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 ...
user avatar
1 vote
0 answers
46 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 ...
user avatar
1 vote
0 answers
257 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-...
user avatar
0 votes
0 answers
22 views

t.slice() is not a function error when adding shapefile to map via ArcGIS Javascript API

I am trying to allow a user to add a shapefile to our web mapping application via an uploaded shapefile (Shapefile or GeoJSON), similar to the example here: https://developers.arcgis.com/javascript/3/...
user avatar
  • 1
0 votes
1 answer
116 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 ...
user avatar
0 votes
2 answers
89 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, ...
user avatar
  • 276
0 votes
1 answer
61 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 ...
user avatar
1 vote
1 answer
21 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 ...
user avatar
  • 133
0 votes
1 answer
98 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
2 votes
6 answers
1k 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 ...
user avatar
  • 71
0 votes
1 answer
90 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}' ...
user avatar
  • 1,565
0 votes
1 answer
44 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="...
user avatar
0 votes
0 answers
43 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))) ...
user avatar
2 votes
1 answer
156 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 ...
user avatar
1 vote
1 answer
81 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 ...
user avatar
  • 1,807
0 votes
1 answer
61 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 ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
1 vote
3 answers
246 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-...
user avatar
  • 6,738
2 votes
1 answer
206 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: ...
user avatar
  • 51.9k
2 votes
0 answers
21 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&...
user avatar
0 votes
0 answers
18 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 ...
user avatar
  • 101
5 votes
2 answers
393 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 ...
user avatar
  • 53
1 vote
0 answers
141 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 ...
user avatar
1 vote
1 answer
126 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 ...
user avatar
  • 137
2 votes
1 answer
380 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: ...
user avatar
-1 votes
1 answer
29 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 ...
user avatar
  • 291
2 votes
0 answers
40 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 = ...
user avatar
  • 3,574
1 vote
1 answer
74 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 ...
user avatar
1 vote
1 answer
299 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 ...
user avatar
  • 33
0 votes
0 answers
63 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 ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
2 answers
557 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....
user avatar
1 vote
1 answer
177 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,...
user avatar
1 vote
0 answers
164 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', ...
user avatar
0 votes
1 answer
207 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, ...
user avatar
0 votes
1 answer
162 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'...
user avatar
1 vote
1 answer
43 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/...
user avatar
  • 820
0 votes
1 answer
557 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" ...
user avatar
  • 3
-1 votes
1 answer
214 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
user avatar
1 vote
1 answer
841 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, ...
user avatar
1 vote
1 answer
57 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 ...
user avatar
0 votes
0 answers
884 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>", ...
user avatar
0 votes
1 answer
137 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, ...
user avatar
0 votes
1 answer
289 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 ...
user avatar
  • 393
1 vote
2 answers
542 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 ...
user avatar
1 vote
1 answer
118 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 ...
user avatar
  • 13
2 votes
2 answers
609 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 ...
user avatar
  • 51

1
2 3 4 5
9