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

3
votes
1answer
2k views

show position on google map/earth, from gps data, using google API

For those that have used google's API for mapping (google maps/earth), I would like to know if is it possible to develop an application to receive NMEA data from a gps receiver, extract position, and ...
3
votes
3answers
847 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: ...
3
votes
1answer
1k views

How can I get the elevation of a point in openlayers?

I want to know if it is possible to obtain the elevation of a point with some type of control of others. I am painting a linestring with a series of coordinates but I need to know the elevation of ...
3
votes
1answer
858 views

Plotting multiple addresses with distance to specific POI

I'm not sure if this is the correct place for this question but here goes. I am getting ready to move to a different city. Right now I have about 80 houses to choose from. One of my parameters for ...
3
votes
1answer
80 views

Free geo api with minimal constraints

I want to write a game that will draw real geographical map. What software systems can often make requests for free? I need to stay at drawing a map.
3
votes
0answers
41 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", ...
3
votes
0answers
42 views

QGIS — Create and move point using external python in an offline environment [closed]

I'm pretty new to QGIS and GIS. I have an python application that get periodically position [lat,long,height] updates of several moving objects. The idea is that the existing application sends the ...
3
votes
0answers
91 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: ...
3
votes
0answers
813 views

3D maps on web application [duplicate]

1) Is there any web API which can show 3D trajectory below earth surface and can consume the ArcGIS feature service which can work closely with ArcGIS web platform. 2) Is there any way to publish ...
3
votes
0answers
285 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 ...
3
votes
0answers
350 views

GeoServer REST API: Creating Database Data Store does not persist password

I'm passing the XML created by the method below to a GeoServer REST API request that successfully creates a postGIS data store. However, password is not persisted. I have to update the password ...
3
votes
0answers
66 views

Is there an easy common gis abstraction available in .Net

Is there an easy common gis abstraction available in the .Net programming world that cuts the dependency to a concrete gis implementation, e.g. to the esri silverlight/wpf sdk. ... for example ...
2
votes
2answers
2k views

POI Datasets for North America

I use foursquare because it contains a lot of POIs. Which database do you use when you need a point of interest in North America?
2
votes
2answers
139 views

Can't get correct number of populated places for a place

I am trying to get a number of populated places for example for Andorra since it is a small number. Here is a geonames site with 10 places: http://www.geonames.org/AD/largest-cities-in-andorra.html ...
2
votes
3answers
2k 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 ...
2
votes
3answers
631 views

How to insert reversed map with Google Maps API?

Is there a way to put map with Google Maps API to a website, but upside down? North must be down, and south up. Is there any possible way to do it? I really need to put map that way and I need really ...
2
votes
3answers
434 views

I have n points, how do I find the closest one from a point p by road?

I'm currently working on a map with stores and clients. I want to find the closest store by road from a given client, with the aim of simulating the creation of a new store. Requirements: ...
2
votes
1answer
1k views

How to perform a cascaded combine from python script in QGIS?

I'm working with a large dataset, and I need to be able to combine up to 400,000 polygons. I have been using the QgsGeometry::combine(QgsGeometry* geometry) function and simply looping over all ...
2
votes
1answer
88 views

Is the QGIS blog broken?

I would like to use the QGIS API in my own program to display maps .... So I thought I would find some tutorial here : http://hub.qgis.org/wiki/quantum-gis/Writing_custom_Applications_with_QGIS_API ...
2
votes
2answers
2k views

Online service to transform coordinates from WGS84 to NZTM and NZMG

Has anyone come across a free web service / REST API to transform coordinates? I'm particularly interested in transforming from WGS84 to: New Zealand Geodetic Datum 2000 (NZGD2000 / NZTM) and New ...
2
votes
1answer
71 views

Difference between qgis.utils and qgis.core?

Please, can you tell me what is the difference between qgis.utils and qgis.core ? I'd like to understand step by step the QGIS API Document.
2
votes
2answers
1k views

What Reliable Reverse Geocoding API Can I Use?

I am working in a company where our team requirement is to do reverse geocoding lookups. Below is our requirement. To give you more background, the 3 geolocation-related needs I have are as follows: ...
2
votes
3answers
3k 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 ...
2
votes
1answer
60 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 ...
2
votes
4answers
392 views

Does Google Maps API or OSM provide location/place boundaries

I've been digging around today in Google Maps and Leaflet API's to find if there is an easy way to get these boundaries instead of needing our users to manually outline these things (like drawing ...
2
votes
1answer
387 views

How to load a *.qgs file in a C++ QGIS standalone app?

I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs ...
2
votes
1answer
354 views

Cache geodjango query with bounding box filter

Im using geodjango (postgis) to retrieve points contained inside a bounding box (made by leafletjs), it works so nice, but now I want to cache this query. A tipical query is one like this: ...
2
votes
1answer
229 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 , ...
2
votes
2answers
2k views

Can I use leaflet to access a WMS service published as an OpenLayers javascript API?

I would like to add this layer to a site I'm working on that uses leaflet: http://116.240.195.134/vicmapapi/UserGuide.jsp The API itself is a javascript file based on OpenLayers: ...
2
votes
2answers
2k views

Google Maps JS API v3 - Polygon formation

So my big question here is how does the Google Maps API determine the "inner" versus the "outer" for a filled polygon? Playing around with the polygon creator @ http://www.the-di-lab.com/polygon/ ...
2
votes
1answer
2k views

Google maps API charset for http request ?? Geocoding Requests

im sending the following request to maps api but receiving the json response with chars problem. Can some one point me in the right direction to set charset correctly ? Request -- ...
2
votes
1answer
18 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(); ...
2
votes
1answer
57 views

Looking for API providing accurate timezone data

I'm looking for an API providing accurate timezone data. Thus far managed to find earthtools api but daylight saving time info isn't very accurate. I need to lookup by latitude/longitude or as an ...
2
votes
1answer
397 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 ...
2
votes
1answer
223 views

How to programmatically partition a large Polygon in smaller parts within a given Area Threshold?

I'm looking for a Java library, or even an algorithm to do the following: I have a large polygon, about the size of a large city. I need to break it down into smaller polygons such that: The area ...
2
votes
1answer
160 views

SVG Issues in QGIS API

I'm using QGIS-2.4.0 to developing an application. I created my own custom MapCanvasItem for showing SVG. It is great to load a SVG from symbol library that QGIS provides(such as d:\QGIS ...
2
votes
1answer
227 views

How to write a custom canvas item for SVG marker by subclassing QgsMapCanvasItem in QGIS?

I want to subclass QgsMapCanvasItem for SVG marker in QGIS, I looked up a similar topic in stackexchange and QGIS mailing list, I found that this is similar to mine, I did exactly what @Nathan W did. ...
2
votes
1answer
346 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 ...
2
votes
1answer
633 views

How to remove legends in cartoDB?

I am able to add and remove cartoDB layers over my google maps but after removing layer the legend stays . how to remove that legends ? here is code that i used ...
2
votes
1answer
194 views

Road Miles Calculation without Google Maps

We have two ZIP codes we want to calculate the road mile difference. Google maps states you cannot use their API if you do not show a map. Is there another service that provides this type of ...
2
votes
1answer
593 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 ...
2
votes
1answer
1k views

How to draw lines, dashed lines, routes and add images to the QGIS mapcanvas?

I need to draw a rectangle in a map canvas and inside it draw routed dashed lines and add small images to it. These actions are to be performed using the QGIS API. Is there any place with examples ...
2
votes
1answer
148 views

Is it possible to cancel a request for a KmlLayer, and load a different layer, before it is actually visible

Having asked for a google.maps.KmlLayer, and whilst waiting for it to load, is it possible to cancel the request? Calling layer.setMap(null); seems to causes an error if the layer is not yet visible. ...
2
votes
1answer
2k views

Google Maps API v3 vs v2 (JavaScript): overlay problems

I have been using the Gmap API (v2) for dynamically displaying some data: oMap.map = new GMap2(document.getElementById("map")); oMap.geoXml = new ...
2
votes
0answers
56 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 ...
2
votes
0answers
176 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 ...
2
votes
0answers
33 views

Querying a shapefile and returning values?

I have a lot of experience making maps in ArcMap. I don't have much experience programming or working with APIs. Here's the (simple) problem: I create a shapefile of a region and then load the ...
2
votes
0answers
94 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 ...
2
votes
0answers
186 views

Can I use the Google Elevation API for academic research (licensing)?

I would like to use the Google Elevation API to generate about 5 elevation maps for master's degree research on aircraft collision avoidance. The data would be meshed and used in simulation to ...
2
votes
0answers
302 views

How to develop a real-time navigation App using QGIS API?

I want to develop a navigation application based on QGIS using C++, for live tracking. I think it is quite normal for GIS to do such things, especially QGIS as it is a very mature GIS platform. But ...