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
0answers
59 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
213 views

Where can I get free nautical route planner Data?

Please read - and understand - before closing; I do not yet have an answer. Thanks. I made a mistake. I phrased my original question so that it could be answered by recommending an application. It ...
3
votes
0answers
214 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
392 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've got ...
3
votes
0answers
295 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
64 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
136 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
492 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
1answer
288 views

Where are the raw data sources for all these maps?

Pretty straightforward question here. At an increasing rate I see crowd sourcing data being mapped to great effect. Where are the raw data sources for all these maps? I know they vary but I don't ...
2
votes
3answers
307 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
273 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
3answers
3k views

How can I fix “ImportError: No module named qgis.core”?

First of all, I'm using Python 2.7.3, QGIS 1.8 (Lisboa) on Windows 7 pro 64 bits. Now let's go to the actual question: I have written some code (Python) that works well within the QGIS built in ...
2
votes
2answers
2k views

Do you know a service route calculation to get a 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 ...
2
votes
1answer
87 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
1k 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
188 views

How to return geo-tagged social media posts?

I have seen quite a few ESRI web apps that utilize Geo-Tagged social media posts as a point data layer. I'm wondering how one goes about querying things like Twitter, Flickr and YouTube to return ...
2
votes
1answer
719 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
2answers
855 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
1answer
246 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
123 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
512 views

Retrieve data from MongoDB in OpenLayers

I wonder if it's possible to retrieve "directly" data 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 ...
2
votes
2answers
1k 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
19 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
85 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
76 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
239 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
109 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
161 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
378 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
129 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
437 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
971 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
127 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
1answer
173 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: ...
2
votes
0answers
27 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
110 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
178 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 ...
2
votes
0answers
22 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 ...
2
votes
1answer
78 views

Why aren't my basemap tiles showing up via ArcGIS Server

I have a leaflet js script referencing the ArcGIS server imagery api. The code worked fine up until about two days ago. Now when I click on the layer there's a gray background. I am using my local ...
2
votes
0answers
635 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 ...
2
votes
0answers
23 views

Cloudmade Web Maps API Geocoding Issue [duplicate]

Possible Duplicate: Cloudmade Web Maps API Marker Clustering problem I'm at Geocoding in Cloudmade Web Maps API. I've the code below. Whenever I try to access the page, content of elements ...
1
vote
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?
1
vote
2answers
3k views

extract elevation values along a line using Google Elevation API

I note that there is the Google Elevation API. I see they have an example at the bottom showing an elevation profile for a line. Is there a premade service someone has put up on a website for me to ...
1
vote
3answers
2k 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 ...
1
vote
1answer
987 views

Using GeoServer REST API and C# to create Layer Group

Following information at this link in the section on creation of layer groups, I've created the method(C#): public bool AddToLayerGroup(string layerGroupName, string layerName) { ...
1
vote
1answer
989 views

sending a XAPI-Request to the API-Server - over http

pretty new to Geo-Informatics so do not bear with me if my questions sound like newbie-questions: can i do some requests on POIs of Openstreetmap with XAPI. doing like so: i send a request to the ...
1
vote
2answers
56 views

How can I get the current center of the view in OpenLayers 3?

I would like the get the center (coordinates) of the current view. I need it for the geoserver print module. I've found the code var center= ol.extent.getCenter({}); but it unfortunately doesn't ...