Application programming interface (API). A set of interfaces, methods, protocols, and tools that application developers use to build or customize a software program.

learn more… | top users | synonyms

0
votes
0answers
1 view

JavaScript API ArcGIS Combine Legend with On_Demand feature class query

I am having trouble adding a legend to my JavaScript code I have a basemap, scale bar, and a click on demand query info box for my feature class which displays the attribute fields but when I add the ...
4
votes
2answers
60 views

How to download sentinel products using the API

I want to be able to automate or batch download Sentinel data (in particular S2). I am trying to use the OData protocol as described in the Sentinels Scientific Data Hub user-guide on APIs and batch ...
54
votes
6answers
30k views

Should I use OpenLayers or Leaflet?

I was debating with one of my collegues on OpenLayers v/s Leaflet. I made a point that OpenLayers is much better API if we wish to build a project, where you need direct connectivity to the Geoserver ...
1
vote
2answers
22 views

Assigning variables into a API text string postgis

I am trying to assign values to variable in PostGIS. I have a API similar to: example I want to create a trigger that parse the x,y coordinates from my geometry column to a field containing the ...
1
vote
0answers
10 views

Using Google Maps API to dynamically display delivery-time zones?

I'm looking to replicate the functionality from the UPS Ground Map which will allow users to enter a zipcode, then dynamically show delivery times by region. I know I need travel times by state data ...
1
vote
1answer
17 views

Getting height data in XML of fixed points in The Netherlands

In Holland we use a tool offered by the government to get the height data based of NAP (Nieuw Amsterdams Peil), the tool works but it's kind of clunky and inefficient. ...
0
votes
1answer
1k views

OSRM API - nearest point fed into routing

I am using the OSRM API to (1) determine the nearest point on a road segment from a give random point with http://server:5000/nearest?loc=_lat_,_lon_ The returned coordinates are used then as an ...
1
vote
1answer
53 views

Alternative overpass api for OpenStreetmap locations query?

Currently i use the overpass api to query for "leisure=playground" ways and nodes to display them on a map in a webapp. The problem is, first of all its very slow (even with querys limited to a high ...
1
vote
1answer
1k views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
3
votes
0answers
37 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", ...
1
vote
0answers
20 views

How can I create an in panel TOC widget using the Web AppBuilder for ArcGIS developer edition?

I'm trying to create a custom widget, in web AppBuilder for developers, for my web application that will be a TOC. Does anyone have a code already produced for this or know how to adapt code to do ...
4
votes
0answers
17 views

Is there a way to use the GDAL C++ API to find areas of overlap between two SAR images?

I have a bunch of SAR images (about 1 GB each) on which i need to do some image processing. Each image is georeferenced and there is significant overlap between each pair of images in the set ie. one ...
2
votes
0answers
48 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 ...
5
votes
1answer
101 views

Export .qml file using QGIS API

Im loading a shapefile using the method QgsVectorLayer() and adding a style to it using the method loadSldStyle() and the path to the sld file. So far so good. What I want now is to export that style ...
0
votes
1answer
143 views

Is there a web service to get the area of a city?

I'm looking for an api/service/db that contains the surface area of every city in the world. For example, http://en.wikipedia.org/wiki/London, the box on the right contains that information. I've ...
1
vote
1answer
15 views

Discovering gravimetric station data, including location and measurement?

I would like to refine an precision estimate of local gravity based upon current GPS position. Ideally, similar to the National Weather Service API, I would like to interrogate a server with a REST ...
22
votes
6answers
9k views

What reliable GeoCoding service would you recommend me?

I'm looking for a web service providing a full address based on coordinates (and reverse). I'm ready to pay for that service. I don't want to use Google's API.
0
votes
1answer
257 views

Converting CAD to map tiles

My team is working on an application that has a map feature, and we want to extend this feature greatly. Among other things, we want the user to be able to load a CAD drawing, and place it on the map. ...
0
votes
0answers
11 views

Which GIS map server software to use? [duplicate]

I want to build a small GIS web application, but i am really confused over which GIS map server to use. I am not sure whether to build my own map server or there are any online services which allow me ...
1
vote
1answer
47 views

Cartdodb change public map in real-time with SQL query

I'm a data science student working on my capstone project. I'm new to CartoDB and have been playing around with their API a bit but can't seem to find what I'm looking for. I have created a public ...
2
votes
1answer
50 views

Getting nearest Hospital information by using MapQuest API

How to get a list of hospital details (with address) near by customer address using MapQuest? For example my address is : 1015 museum circle jacksonville FL Using 5-box address format KVP Request, I ...
1
vote
0answers
24 views

polylines between two locations over sea and not land

I have several thousand locations in a database, Location A travelling to Location B, New York to London, Paris to Buenos Aires. I'm trying to plot a path between two places only over sea. I'm not ...
1
vote
3answers
54 views

How to (programmatically) determine if a WMS endpoint belongs to a GeoServer?

Given a WMS endpoint URL (and the ability to make calls to it), what is a reliable way to work out whether it is a GeoServer, ArcGIS Server, or something else? The reason we want to know is due to ...
1
vote
1answer
20 views

Mapping WaterML data in cartodb

HI has anyone had success in mapping WaterML data in cartodb? (WaterML). I can't get it to work and not sure what I am doing wrong. I also used this tool to generate a REST URL but still couldn't get ...
1
vote
0answers
17 views

how to draw curved line in a qgsmapcanvas

i am working on a project with qt4.8.6, api c++ of qgis 2.8.2 we need to draw curved line in a vectorlayer by given 2 points and an offset by exemple is it possible to do that with the c++ api of ...
6
votes
1answer
505 views

How to download GeoTIFFs using the REST API in GeoServer 2.2?

I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I have a ...
1
vote
1answer
13 views

pinchZoom with qgis 2.82 and qt

I am working with qgis 2.8.2 c++ api and qt4.8.5 in my project i had to implement the pinchzoom because i use a 27" touch screen i am looking for information on how to use the qgis lib with the qt ...
1
vote
1answer
66 views

How to map geoJSON polygon from a url request in python

Using Python I have loaded json data from the url http://environment.data.gov.uk/flood-monitoring/id/floods and have found that the flood areas encoded as geoJSON polygons are displayed as url links. ...
1
vote
0answers
30 views

Is there a default limit on concurrency in overpass-api?

I have setup overpass-api in my local machine (16gb ram,32 core,2399Mhz). I send 100 threads each with one request(data=[out:json];node%28around:10000,13.0894,80.2428%29[%27amenity%27];out%20count;), ...
2
votes
1answer
320 views

APIs to render custom WMTS source

We have a custom WMTS source which we want to show on Android and iOS. What would be my options to do this using native APIs (so no Leaflet or Open Layers)? An ideal API not only shows the maps but ...
1
vote
1answer
15 views

problem with qgsmaptoolpan

i am using the c++ api qgis 2.8.2 i have a strange problem when i want to use the pantool for my canvas i used this code : mpPanTool = new QgsMapToolPan((QgsMapCanvas*)mpMapCanvas); ...
1
vote
0answers
27 views

Nominatim does not respect countrycode

Possible duplicate I have a question about Nominatim, but the OSM forum currently does not accept new registrations... I want to limit my search results to a specific country, so I am using the ...
0
votes
0answers
17 views

Where can I find a list with beaches which include coordinates?

I use World Weather Online marine API to get wave height of different beaches. This API provide data by coordinates and I need a list with coordinates of beaches.
10
votes
6answers
13k views

Google Earth plugin deprecated. Which alternatives? [closed]

I've got a costumer of mine asking for an integration of the Google Earth Plugin to his website. From Google earth Plugin site I read this: Google Earth Plugin API has been deprecated as of ...
0
votes
0answers
19 views

Creating Interactive Web Map? [duplicate]

After a bit of help. I am looking at creating an interactive map for a website. There seem to be hundreds of different ways of approaching this. Wondering if anyones got any really good examples of a ...
1
vote
1answer
22 views

Creation of buffer area of 20mtrs upon click event on the base layer

I have a base layer upon which i wish to import a kml with certain lat lons and create a buffer region of 20mtrs around any point upon click event. i got google api for the same but want openlayers ...
1
vote
0answers
76 views

Using historical imagery Google Maps API for Business

Is there a way using Google Maps API for Business to see historical aerial imagery, like you can in Google Earth Pro, with the slider bar they have at the top of GEP?
1
vote
1answer
115 views

Where I can find API for Countries, States, Cities and airports

I'm looking for an API or data source (or multiple sources) that provide the following information: Countries Information: ISO code, Region, Capital, population, languages, currencies and climate. ...
0
votes
0answers
31 views

Possible to base GIS layers on results of calling API

Is it possible to call an API which returns spatial data as JSON, GML, XML for example and use it as as data source within QGIS or other GIS? I don't know enough about APIs to understand if I am ...
1
vote
1answer
27 views

options for using “identify” command with public api

Disclaimer: I'm new to GIS Goal: Create a report of how many customers we have in each senate district. Progress: I found this utility from the state of Missouri which allows me to search for an ...
1
vote
1answer
393 views

Geoserver api: how to determine a layers respective workspace?

I am using the geoserver api to find information about layers that are available. I am using: http://localhost/geoserver/rest/layers.json to get a dynamic list of all layers. If I then select a ...
3
votes
1answer
73 views

Static maps API that serves roads/labels without basemap?

I am looking for a static maps API (similar to https://www.mapbox.com/developers/api/static/ ) that can serve the map without an underlying base layer. My intention is to generate images with the ...
0
votes
1answer
62 views

Is there a Geonetwork API to create a user

I would like to build a bit of custom code around geonetwork where I want to reuse existing database from gn. For my usecase it would be nice if users could register on a custom site and then use the ...
3
votes
3answers
741 views

Need to get distance matrix for large set of points on-the-fly

I do not know much about GIS and I do not know much of the jargon. Hopefully you can help me a bit here because I am really unaware of the services and software available. My problem is as follows: ...
0
votes
1answer
99 views

OSM server tiles and Overpass API

I'm a beginner in Openstreetmap, and I have some questions I didn't find answer yet. I created my own server tile through this tutorial: ...
4
votes
2answers
3k views

JavaScript library to read data from a WFS server?

Is there a JavaScript library available to read data from a WFS server?
1
vote
1answer
23 views

problem with my zoomIn or ZoomOu

i am using qgis 2.8.2 and qt4.8.5 i have a problem when i call zoomIn or ZoomOut, the raster on canvas is reduce or zoomed but : - the raster size change - it disaprar - it appear again but 3 to 5 ...
2
votes
1answer
17 views

the renderering of mapcanvas is still active

i am working with qgis c++ api 2.8.2 and qt4.8.5 i want to disable the rendering during zoom in or zoom out fonction in order to have a fast zoom i try to use : MyMapCanvas->stopRendering(); ...
0
votes
0answers
21 views

Is there a WebAPI to get latlong from PLSS Data?

I'm creating a Website, where users need to enter Principal, Township, Range & Section, and the map needs to be taken to that area. I have looked at the PLSS data here: ...
0
votes
1answer
63 views

OpenLayers 3 XYZ layer issues with OpenRailwayMap

Code with issue on Codepen - Having successfully integrated the OpenRailwayMap API into Leaflet, I wanted to use OpenLayers instead and followed the API instructions, but am getting an error: " Cannot ...