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
22 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 ...
1
vote
1answer
13 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
10 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
25 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
57 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
36 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
61 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
0answers
35 views

Convert SHAPE_AREA units via the REST FeatureServer API

All similar questions seem to involve desktop software but I'm strictly using the arcgis API like so: https://services2.arcgis.com/API_KEY_HERE/arcgis/rest/services/Category/FeatureServer/0/query?...
0
votes
0answers
33 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
33 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
17 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
59 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
0answers
22 views

ArcGIS REST API - return statistics grouped by year

I would like to query a feature service and retrieve statistics grouped by year. The problem is I don't have a year field, only a date field. Is there a way to convert the date field into a year field?...
0
votes
0answers
16 views

Invalid UUID string in sentinelhub when tryng to access satellite image

I'm trying to use sentinelhub package on jupyterlab notebook and for some reason I don't manage to be able to acess images. When I use my credentials in the configuration at the beginning it works and ...
0
votes
0answers
9 views

Inserting a ENVI dataset with API into QGIS

I got an API with a ENVI Data source and an Authorization and I would like to add the data to my project in QGIS Is there a way to do that?
0
votes
1answer
66 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
42 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
193 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
21 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
263 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
25 views

Is there a standard to construct a paginated API response for GeoJSON?

To return a paginated GeoJSON payload from an API, what is the best practice or most common convention for including page information? The pagination applies to the number of features in a feature ...
0
votes
0answers
14 views

Performing spatial queries with the SODA API in Python

I am trying to fetch data from data.cityofnewyork.us with the Python client sodapy. It generally works as it should, but I just can't figure out how to perform spatial queries. For example, I would ...
-1
votes
1answer
30 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
120 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
49 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
118 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
67 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
0answers
22 views

Copernicus OpenSearch API rate limit

I'm looking to download Sentinel imagery using an API (only), and as part of this process I would like to identify which tiles lay in the area I am interested in by providing the relevant bounding box ...
1
vote
1answer
106 views

Problem of downloading Planet data using API

I am following the method as shown in the Python notebook here to download Planet satellite data from their API. But, I am getting an error after I run the following piece of code: import os import ...
0
votes
1answer
165 views

Using GeoJSON as an input for GeoServer

I have an ArcGIS Online API that I would like to use as an input/store in my GeoServer so that I can publish a service from GeoServer. The format available thorough the API is GeoJSON. I can see that ...
1
vote
1answer
158 views

Export the contour lines of the relief from OSM

My goal is to display the contour lines of the relief in Google Earth. So, I would like to export from OpenStreetMap the contour lines of the relief of a region. My goal is to download the data as a ...
2
votes
0answers
74 views

Geonames Search API Result does not contain all alternate names

The entity 5124497 ("Lindenhurst") has an alternate name "Breslau": https://www.geonames.org/5124497/lindenhurst.html However, when using the search API the alternate name "...
0
votes
0answers
29 views

Adding 3rd Party Live JSON API in AGOL using Koop

I want to create a Dashboard in AGOL based on Real Time Data. I know that Koop helps creating a geoservice provider from an API to be used directly in ArcGIS Online. I have created the provider from ...
1
vote
1answer
45 views

What is the problem here. Google Earth Engine Error Python

Can't find out the problem here. img = ee.ImageCollection('COPERNICUS/S1_GRD')\ .filterDate('2020-02-01', '2020-02-28')\ .filterBounds(area)\ .select(["VH"]) mome = img.mean() ...
0
votes
0answers
20 views

Connect Dropbox on Cartodb instance

I have edited the app_config.yml dropbox: app_key: 'myappkey' app_secret: 'myappsecret' callback_url: 'https://urlofmyinstance/user/admin/api/v1/imports/service/...
0
votes
0answers
22 views

Nautical and Land Mapping API Options

What professional mapping API would you use if your mobile app needed to seamlessly bridge both land and water with POIs?
0
votes
1answer
46 views

Downloading Sentinel-1 SLC in individual bursts

I'm about to embark on a DInSAR time series project, for which I will be using Sentinel-1 single look complex (SLC) data. Sentinel-1 SLC products are only available in Interferometric Wide-swath (IW) ...
1
vote
1answer
1k views

Google API Geocoding in MS Excel for free

I am seeking a solution enabling me to do address geocoding in Excel using the Google Maps Geocode API. Basically, the task is possible via Google Sheets, like has been discussed at How to Geocode a ...
0
votes
1answer
146 views

KeyError when adding layer to WebMap with add_layer in Python ArcGIS API

I'm a GIS student and in my school project I am trying to add a layer to a Web Map. I am using Python ArcGIS API in Jupyter. I found the layers I wish to add with content.search and have them in a ...
0
votes
1answer
71 views

Upload resources to GeoNetwork filestore via CSW / API

I am exploring GeoNetwork to get if it is suitable for my purpose. I need to use a script to upload several metadata with a file JSON associated. Is there any chance to use CSW / API to upload the ...
0
votes
0answers
84 views

Integrating Pelias with Openrouteservice

I did setup locally ORS backend (localhost:8080) and frontend (localhost:3005) instances using Docker and already integrated them by changing the Gruntfile.js of frontend. Now I ran a Pelias (...
2
votes
1answer
239 views

Unable to get soil data for coordinates using Soilgrids REST API

I am trying to extract soil data from https://soilgrids.org/ using their very new Soilgrids REST API. They have a special website (http://rest.isric.org/soilgrids/v2.0/docs) where I am able to enter ...
0
votes
0answers
53 views

Use of Wikimapia API on my site

I'm trying to figure out the half-dead resource Wikimapia, which, unfortunately, is very popular in Russia and contains vernacular data of cities. The goal is a map on a modern and flexible Mapbox, ...
1
vote
0answers
52 views

Using The Labeling Engine API vs. The simple labeling interface API in QGIS 3

I am working on a project where I am to label city maps. I want to label roads and buildings with text, and some point locations with symbols where I use SVGs and TrueType font. As labeling result, I ...
1
vote
1answer
416 views

Speed of reading a GeoTIFF using geotiff.js

I am have created my own API to return elevations from GeoTIFF files using geotiff.js (https://geotiffjs.github.io/), but it is slow compared to public APIs. For example, table below shows the tests ...
0
votes
1answer
292 views

Set center on Mapbox GL map

I have a form HTML, e.g. like this: <form id="form" method="post" action="#"> <input class="sidebar__input" type="text" name="lat" id="latitude" /> <input class="...
0
votes
0answers
77 views

How to create own login page in ArcGIS API for JavaScript

I have created some custom HTML pages using ArcGIS API for javascript. I want to secure access to the ArcGIS services from ArcGIS API using username and password of the ArcGIS Online portal.I want to ...
0
votes
0answers
10 views

Is there an API or Dataset for retrieving Lunar elevation from coordinate?

I'm looking for the "final" product, where the data available has been cleaned up and the data missing has been estimated. I tried using the Lunar Orbital Data Explorer set, but even with some ...
1
vote
0answers
32 views

Query admin boundary from GeoNames API by lat/lon and admin level

I have a list of points (lat / lon coordinates) which represent centroids of admin boundaries for a given country and admin level, e.g. Afghanistan, admin level 1. I need to get their GeoNames IDs (...
1
vote
0answers
51 views

Setting Opacity Dynamically in fill-opacity

I am trying to use a map I made in Mapbox Studio and data I have locally in js code to change the opacity on different countries on a map. In my dataLayer, I define the layer as such: const ...

1
2 3 4 5
9