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
138
votes
17answers
83k views

Comparing various JavaScript mapping libraries?

I am working on a web-based mapping system and I'm trying to figure out which library to use. These are links to comparisons of available libraries: Laurent Jegou's benchmark (from 2010) is a global ...
104
votes
8answers
77k views

Choosing OpenLayers or Leaflet? [closed]

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 ...
26
votes
2answers
1k views

Best-practices for databases and APIs with geographic data spanning the antimeridian

What is the best-practice for storing geographic features (lines, polygons and their multipart equivalents) when these features span the antimeridian (±180° longitude), and need to be sent to and ...
25
votes
6answers
13k views

Geocoding API Comparison

Is there a good updated source for comparing existing Geocoding APIs (i.e. Google, Mapquest) and their features? I'm really interested in their language support as well. For example, Google has ...
15
votes
6answers
31k 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 ...
11
votes
3answers
8k views

Downloading sentinel products using 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 ...
10
votes
1answer
621 views

What is ArcSDE API used for?

To create applications that manipulate ArcObjects there is the VBA and Java runtimes. To create application that process data with ArcToolbox tools, there is ArcPy for Python. Today, I discovered ...
10
votes
2answers
913 views

Designing an API for spatial data

I am considering trying to make an API so that I can make some spatial datasets available to colleagues for analysis. Part of my work has been to analyze and prepare data which can then be used for ...
9
votes
1answer
8k views

How to obtain openstreet API key for nominatim (r)?

I wanted to use r package nominatim for my program written in R. I tried to run very simple example osm_search('Cracow University of Economics'), however I got the following error: Please provide a ...
8
votes
1answer
719 views

Custom panning using ArcGIS Engine

Due to some constraints, that I will not go into, I have found myself needing to implement custom panning in my application. The ArcGIS API reference suggests using the following methods: ...
7
votes
3answers
3k views

Seeking API to return GeoJSON data for countries borders?

Is there a simple free REST API where I can send the name or code of a country and get in return geojson data which highlights it's borders ? I'm writing an application where I will have a changing ...
7
votes
2answers
345 views

Load third-party APIs only when the corresponding map layer is requested?

OpenLayers allows multiple map layers to be hosted on a common platform. If the map application supports a wide variety of maps, say from Google, Yahoo and Microsoft, I find that upon initialization, ...
6
votes
1answer
942 views

How to get layer variables using QGIS Python APIs?

How can I access the layer variables defined by the user from QGIS Python APIs?
6
votes
1answer
3k views

Add a OpenStreetMaps road data layer on Google Maps API v3

I've successfully embedded a Google Maps API v3 map on my site, and added OpenStreetMaps (OSM) as the base layer. Is it possible to use Google's tiles as the base layer, and then overlay street data ...
6
votes
1answer
1k 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 ...
6
votes
1answer
7k views

API for Real Time World Statistics

Does anyone know of an API (preferably free) that can provide real time world statistics such as Crude Birth Rate, Crude Death Rate, world/country population, or emails sent today as on the website ...
6
votes
1answer
461 views

Memory Leak when deleting a layer

I am working on a project based on QGIS API c++ 2.8.2 and qt4.8. I have two methods in a class, the first create a layer and add a point Here is the code for the creating: LibCartoError CMyQgsS57::...
6
votes
3answers
7k views

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

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: ...
6
votes
1answer
1k 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 ...
5
votes
3answers
830 views

How to simulate google maps user experience

I’m not familiar so much with GIS applications and libraries. There is something that I would like to know if it’s possible or not. We are using ESRI suite of products as our GIS infrastructure. We ...
5
votes
4answers
6k views

Representing Time in GeoJSON?

I'm modelling a bus route as a series of waypoints. Most of these waypoints have just a latitude and a longitude and represent points along a road. However, when the bus gets to a bus stop, the ...
5
votes
2answers
5k views

GDAL C++ API: How to create PNG or JPEG from scratch

I'm new to GIS and GDAL. My question probably is very basic, but I couldn't find answer. May be I don't understand GDAL ideology. I need to create raster images from scratch, for example, JPEG or PNG....
5
votes
2answers
3k views

programmatically create and publish geotiff layer in geoserver

We need to automatize process of creating datastore and publishing geotiff layer. Also, before publishing we need to change Declared SRS and to save Native Bounding Box to our database. Geotiff file ...
5
votes
1answer
328 views

When is it better to use 64 bit File GDB access?

The beta 2 release File Geodatabase API includes 64 bit support. Esri says arcobjects is still the "preferred" method to interact with the file gdb. However, arcobjects has no 64 bit support. ...
5
votes
1answer
795 views

Determining ESRI File Geodatabase release version?

Is there any method in Python, ArcObjects, or the File GDB API for determining the release version (9.3, 10.0, etc.) of a file geodatabase? There is a need to find all of our shared 10.0 version file ...
5
votes
2answers
2k views

Is there a public API that can be accessed with Python and will geocode Points of Interests?

I recently downloaded tagged hospital data from OpenStreetMaps.org using the API. Some of the data have a 'node' tag which are attributed with a lat/long while other data are tagged as 'way' format ...
5
votes
3answers
9k views

Seeking route calculation service to get route between several points?

I need a routing service with an API callable from a web or desktop application. I have several points: a start, an end, and intermediate points in the disorder. I expect the routing service to send ...
5
votes
1answer
362 views

Improving buffer smoothness using PyQGIS?

I am trying to automate buffering of objects in QGIS using Python. The function below using QgsGeometryAnalyzer works but the output is blocky. I understand that the smoothness of the buffer edge can ...
5
votes
1answer
2k views

Geotagged tweets and Twitter API

When I do a timeline query using the Twitter API, http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=MyTwitterName the geographic component of the reply looks like this: <geo>&...
5
votes
1answer
166 views

What is the relationship between layer attributes and fields in QGIS

I have just spent several frustrating hours because I was searching the api docs for stuff on attributes when I should have been looking for fields. Can someone please explain what the difference ...
5
votes
1answer
88 views

Cartodb API Read Only

Is it possible to generate an API-key in Cartodb with read-only permission? Seems like the default API-key has full controll
4
votes
2answers
4k views

JavaScript library to read data from a WFS server?

Is there a JavaScript library available to read data from a WFS server?
4
votes
7answers
3k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies? [closed]

I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions. Brief requirement to build mapping application with Microsoft ...
4
votes
4answers
4k views

Is it possible to get OSM data in geojson via overpass api using ipython?

I am looking for a solution that works with the overpass api. for example: http://overpass-api.de/api/interpreter?data=[out:geojson];area(3600225494);(node(area)[%22amenity%22~%22theatre|cinema|...
4
votes
3answers
7k views

Ways to extract DEM for urban areas using Google Maps?

Is Google maps' elevation API suitable to obtain the high resolution elevation data for areas that have 3D building such as Manhattan? Would the API for example yield a significant different value on ...
4
votes
3answers
3k views

How to implement Add feature action from PyQGIS

I'm trying to implement / reuse Add Feature functionality in my python plugin. there a class/function that handles geometry creation on canvas based on layer geometry definition? I'm checking API but ...
4
votes
3answers
2k views

Download MODIS/MCD19A2 AOD product with R

I'm looking for a programmatic way to download MODIS/MCD19A2 AOD data in R. So far, I've found a pretty solid R package called MODISTools that works nicely with the MODIS/VIIRS RESTful API. However, ...
4
votes
3answers
15k views

Add an API key to QGIS for QOSM layer

Could someone let me know how I add a API key to QGIS 2.14.10. The diagonal API key required is still on my map layer. Bit of a novice on QGIS.
4
votes
1answer
588 views

How is StreetDirectory.com web map application developed?

I wonder can you tell me how is developed map application like on this site? http://www.streetdirectory.com What API is used?
4
votes
2answers
1k views

Retrieve data from MongoDB in OpenLayers

I wonder if it's possible to retrieve data "directly" from MongoDB to display them in an OpenLayers Map? Maybe using some sort of API? If you know more about this, or if you think it's a stupid ...
4
votes
3answers
6k views

How to export a shapefile through the Wikimapia API?

I am trying to download a kml file from Wikimapia containing information on quaters (districts), the very same information that is nicely available on Wikimapia. What I want to get at the end of the ...
4
votes
1answer
402 views

How to refresh layers independently?

I'm writing a C++ application using QGIS API and I would like to improve the performance. I want to render 5 layers: one raster layer using gdal to load Bing/Google Map tiles 4 custom QgsMapLayer (...
4
votes
4answers
1k views

API to suggest nearby streets

For an app I'm developing, I want to use the phone's GPS to locate it. I then want it to list streets that are nearby. The customer might be in his back garden for example, and this may be closer to ...
4
votes
2answers
3k views

Working With Vector Product Format (VPF) - APIs, etc

I've been looking around the Internet for information about Vector Product Format. I want to put together a project that can read Digital Nautical Chart (http://msi.nga.mil/NGAPortal/DNC.portal), ...
4
votes
1answer
493 views

How to calculate correct angles for lat/lon points with the QGIS API?

I am trying to use qgis API to calculate the angle between two points by using function azimuth of class QgsPoint ( http://qgis.osgeo.org/api/classQgsPoint.html ), and my CRS is EPSG:4326 - WGS 84 , ...
4
votes
1answer
2k views

US Census API - data by census tract

Using the US Census Tract API I can search for the age population in different parts of the country http://api.census.gov/data/2010/sf1?key=[key]&get=PCT0120125&for=county:* returns list of ...
4
votes
1answer
403 views

Facebook Place Api

Do you know if there are a requirements or restriction on Facebook Place API? Is it possible to download the data? Is it open-source?
4
votes
1answer
18k views

How to use OpenStreetMap in Java?

I have a requirement of GIS to be implemented using Java. I have read the developer guide for OpenStreetMap but there is insufficient information for its set-up technically. I am completely new to ...
4
votes
1answer
394 views

MapQuest License

I read the license of Geodata provider (facebook, foursquare...) but I don't understand what it means: LICENSE FROM YOU TO MAPQUEST. If you upload any data, feedback, ideas, suggestions, ...
4
votes
1answer
459 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 ...

1
2 3 4 5
8