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.

105 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
87 views

Create isochrone along a given road

I want to solve this problem : given a departure point given an arrival point given an amount of time In which areas can I go while coming from departure to destination in the given amoint of time? ...
frinux's user avatar
  • 151
5 votes
0 answers
2k views

Add an API key to QGIS

I can't seem to get this (Add an API key to QGIS for QOSM layer) to work. I need to add an API key to QGIS for OpenCycleMap. I'm trying to follow the path Web > OpenLayer plugin > OSM/...
BenW's user avatar
  • 51
4 votes
0 answers
599 views

Use QGIS API on standalone python program without install the entire application

I developed a standalone python program that makes use of QGIS API to create .qml files from sld files. This is a small program of about 15 lines of code that imports the following modules and uses ...
Falcoa's user avatar
  • 335
4 votes
0 answers
641 views

Twitter REST API missing geo-tagged tweets from Europe

I used twitter's REST API to get few thousands tweets from last two days. Everything went ok, but when I put tweets on the map, there is empty "box-like" area (no tweets for almost entire Europe - ...
dkocich's user avatar
  • 404
4 votes
0 answers
173 views

Web mapping API popularity

Are there any online statistics for the popularity/usage of web mapping APIs? A diagram would be sufficient, if it can be published in a paper. I have only found one source: https://trends.builtwith....
Gabor Farkas's user avatar
  • 4,578
3 votes
0 answers
47 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&...
user16280398's user avatar
3 votes
0 answers
669 views

Get all locations of Panoramio photos in a given extent

To create a visual quality heat map I'm trying to get a list of all Panoramio photos in an about 2000 Km2 wide study area. My idea is to perform a density analysis in GIS on a point shapefile ...
makovz's user avatar
  • 71
3 votes
0 answers
912 views

QGIS - Pop-up menu not displayed when right click on a layer in layer tree view

I'm developing a custom QGIS application using the QGIS API. I've been using the API provided with QGIS Brighton (Version 2.6.1) and have been developing the application in Python in a Windows 7 ...
Peter Vivian's user avatar
3 votes
0 answers
659 views

Is there an api for world terrain/biome data?

I'm looking for an api where I pass a lat/lng, and get "Desert" or "Mountains" or "Ocean" back. Just the general biome of the area. Most of what I've seen involves getting tiles back, so you can ...
Xlythe's user avatar
  • 39
3 votes
0 answers
3k views

What alternatives do I have for Directions API other than Google Maps and MapQuest?

I need an API, other than the two below that, given the starting point and possibly the ending point, will re-order a list of waypoints by the shortest, fastest or optimized route: Google Directions ...
Joao Belchior's user avatar
3 votes
0 answers
662 views

Closest set of points to another set of (predefined) points

I have 10 sets of points which I call templates that I have manually classified from 0 to 10. Each point is a X, Y coordinate in a text file. Each template has 5-8 points. I have new sets of points ...
John Kornick's user avatar
2 votes
0 answers
136 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
2 votes
0 answers
286 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 ...
Alireza_Armn's user avatar
2 votes
1 answer
648 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: ...
ConsalterR-1988's user avatar
2 votes
0 answers
147 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 = ...
tomfumb's user avatar
  • 3,668
2 votes
0 answers
210 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 "...
heinma's user avatar
  • 21
2 votes
0 answers
199 views

Error on making a get request to a feature layer?

I am trying to query a feature layer from a script using the arcgis api for python: from arcgis.features import FeatureLayer lomr = FeatureLayer("https://hazards.fema.gov/gis/nfhl/rest/services/...
jesnes's user avatar
  • 423
2 votes
0 answers
32 views

How to get my store locations which are withing 30 min drive distance using google map

I have the list of stores in my database. I want to show only those stores to a customer who can reach that store within 30 minutes (configurable) of drive. using google api
Satishchandra Pandey's user avatar
2 votes
0 answers
80 views

unknown issue with search geometry in Planet API

I'm trying to download some images from the Planet API using a MultiLineString geometry. I did a test with a simple MultiLine and it worked. Now I tried with a more complex one (and not that much): ...
ImanolUr's user avatar
  • 1,103
2 votes
0 answers
65 views

Getting colour ramps and other funky styles in the ArcGIS REST API's DrawingInfo or elsewhere

I have some layers with "funky" styling, they contain colour ramps, or hashes across the line (mimicking train tracks), or dashes with different spacings. I'm reading all of these layers from an ...
Dave's user avatar
  • 121
2 votes
0 answers
304 views

ESPA-API for Landsat scene downloads

I've been trying to automatically download Landsat scenes with espa-api ( https://github.com/USGS-EROS/espa-api) However I'm having a big issue with this api right now, that is the long waiting time ...
Renato Sanabria's user avatar
2 votes
0 answers
82 views

Getting information from roads API

I'm looking for api that i can use to get informations about roads (lightning condition , road type or surface condition) it should take as an inputs latitude and longitude . I found Bing road data ...
HanenO's user avatar
  • 21
2 votes
0 answers
157 views

Using elpy from a .bat started emacs

I use a .bat file to add qgis to python path then open that environnement in emacs. I am unable to find or set or install elpy in the .emacs file or the bat file. The modules are installed but Emacs ...
Boodoo's user avatar
  • 69
2 votes
0 answers
688 views

SAGA GIS work with python API error

I want to work with python API and SAGA GIS. I am very new with this work. The first step I find one module for example Slope, Aspect, Curvature and I take with right click one python script. python ...
Chris Papas's user avatar
2 votes
0 answers
2k views

Routing API with waypoint optimisation

Is there any free OSM Routing REST API without limits which supports multiple waypoints between the start point and destination AND is able to optimize these waypoints instead of calculating a route ...
Peter's user avatar
  • 121
2 votes
0 answers
84 views

coordinate returned by xyCoordinate signal is different

I am working on a project based on the api qgis 2.8 and qt 4.8.5 I have two computer one with the qgis 2.8.1 and the other with the qgis 2.8.3 In my application I have a connect to the signal ...
ainardi's user avatar
  • 843
2 votes
0 answers
267 views

GDAL c# API returned different WKT from gdalinfo

I've found completely different results in WKT strings while using gdalinfo utility and method from c# API GetProjectionRef(). In the first case the result was: PROJCS["WGS 84 / Pseudo-Mercator", ...
Konstantyn Alexandrov's user avatar
2 votes
0 answers
94 views

Web Mapping SNMP polling and databases

I am doing a project that involves Web Mapping. The project involves having a simulated communications network for a wind turbine company. My project involves building a user front end to display ...
Brendan O'Flynn's user avatar
2 votes
0 answers
54 views

Finding equivalent API-supported data to the 2000 Census

I'm having some difficulty choosing Census datasets for a project that involve various SES measures at the block-group level. I'll be looking at things like median household income and percentage of ...
Nancy's user avatar
  • 169
2 votes
0 answers
866 views

Seeking free nautical route planner Data?

I don't really need an application, but rather an API. I plan to develop my own application and don't need someone else's GUI, just their information. I want to know the distance a vessel at sea must ...
Mawg says reinstate Monica's user avatar
2 votes
0 answers
2k views

Requesting styled Google Map tiles via URL

I'm not working with the Google Maps API but I'd still like to be able to request styled map tiles. Is it possible to request a styled Google Map tile via a URL similar to the slippy map URL format ...
Ed Saunders's user avatar
1 vote
0 answers
64 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
209 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
104 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
  • 225
1 vote
0 answers
307 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
1 vote
1 answer
316 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
1 vote
0 answers
357 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
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
1 vote
3 answers
1k 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 ...
Sarah K's user avatar
  • 33
1 vote
0 answers
391 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', ...
Inshu Chauhan's user avatar
1 vote
0 answers
131 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 ...
dreamquarter's user avatar
1 vote
0 answers
237 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 (...
jan_b's user avatar
  • 782
1 vote
0 answers
379 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 ...
Shrey's user avatar
  • 11
1 vote
0 answers
251 views

How to optimize API calls for a large dataset using Python?

Objective: Send a list of addresses to an API and extract certain information(eg: a flag which indicates if an address is in a flood zone or not). Solution: Working Python script for small data. ...
shockwave's user avatar
  • 111
1 vote
0 answers
53 views

CARTO update existing table from external MySQL database

I would like my Carto data to be updated, using external data (MySQL database, I run and manage locally using PHP scripts), so that the Carto table gets updated with the most recent data, whenever the ...
Clara's user avatar
  • 11
1 vote
0 answers
165 views

Error: unable to open Unable to open %s.shp or %s.SHP

I am using c shapelibrary (http://shapelib.maptools.org/) SHAPE API for creating and reading shapefiles. I am able to create a new shapefile using SHPcreate(). However I am unable to read it using ...
anonymous's user avatar
1 vote
0 answers
72 views

Carto trying to set syncing with a PostGIS database connection

I'm trying to set up a syncing connection between Carto and a PostGIS Table. However, I'm not seeing updates in Carto, and the table does not show up in my list of syncs when I make a Get request. ...
M Toledo's user avatar
1 vote
0 answers
338 views

How to make maps move when you create a Google map using OpenLayer 2

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=...
dogtired's user avatar
1 vote
1 answer
458 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 ...
Kiran Chhatre's user avatar
1 vote
0 answers
209 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 ...
oglj's user avatar
  • 11