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

2
votes
3answers
127 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
85 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
1answer
84 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 ...
2
votes
1answer
97 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
506 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
56 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
36 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
243 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
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
986 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
48 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
125 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
428 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
1answer
235 views

How can i use MapServer service using arcgis api for silverlight?

Is it possible to use a service published from MapServer using ArcGis api for Silverlight ? for exemple : <esri:FeatureLayer ID="Schools Without Attendance Areas" ...
2
votes
1answer
645 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
112 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
54 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
305 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
1answer
857 views

Regarding property setMinScale(scale) and setMaxScale(scale) in ArcGIS Java script API

I am new to programming in JSAPI. I have two dynamic layers and I want to set the property setMinScale(scale) and setMaxScale(scale) to layers so how do I Set ? ex. I tried using ...
2
votes
0answers
22 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 ...
2
votes
0answers
60 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 ...
1
vote
2answers
1k 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
126 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 ...
1
vote
2answers
1k 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
1answer
2k 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 ...
1
vote
3answers
978 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
639 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
584 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
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 ...
1
vote
1answer
211 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 ...
1
vote
1answer
599 views

How to add pins to my map?

Is there a way to add locations and info windows to my own map in .tif format? I'm using MySQL and PHP. Can I use Google Maps API pins but not their map? I thought I can put my georeferenced map ...
1
vote
1answer
81 views

using WebTiledLayer function

Using esri javascript api version 3.8, I am trying to use some cached tiles from our server at http://hexe.er.usgs.gov/ifhp/will/tiles/ using WebTiledLayer. I believe that our tiles are set up as ...
1
vote
1answer
89 views

jquery communication with arcgis services

I am working with the ArcGIS JavaScript API for my application. My app users are stored in a table published in a map service. Whenever a user wants to connect to the app, he needs to provide a ...
1
vote
1answer
171 views

How to request a limited no of features in Overpass api?

I am using Overpass api to query Building data from OpenStreetMap. the query string is like this (way[building](bbox);node(w););out body; This works really fine (the bounding box is specified by ...
1
vote
2answers
1k views

'invalid parameters' on ArcGIS rest API used from Silverlight

I have an Silverlight application from which I'm trying to create new features to ArcGIS server. Every time I get error {\"error\":{\"code\":400,\"message\":\"Unable to complete ...
1
vote
1answer
193 views

Where is the ArcGIS Workflow Manager REST API documentation?

I hope it is online and I'm just missing with my searches. I'm looking for this API documentation for 10.0 (but I will +1 answers relating to the 10.1 version):
1
vote
1answer
2k views

google maps API v.2 to v.3 conversion

I want to go from http://www.zolnai.ca/WMS/whereintheworldV2.htm to http://www.zolnai.ca/WMS/whereintheworldV3.htm I went through Gmaps API documentation on code.google.com And added the changes that ...
1
vote
2answers
134 views

Why does GeoNames say there are only 73 parks in Mexico?

I did this GeoNames query http://api.geonames.org/search?featureCode=PRK&username=genadinik&country=MX&style=full&maxRows=10 and it says there are only 73 parks in all of Mexico. Am ...
1
vote
1answer
695 views

How to access .shp file from local computer or some other server

Below is the code in which we can access a feature layer from ArcGIS sample server. queryTask = new ...
1
vote
1answer
14 views

Web API for reverse geocoding geographic features

Is there a free web API that can reverse geocode geographic feature names? I'm currently using the Google API, which will return political and street address info, but I would like to return the names ...
1
vote
0answers
31 views

GDAL C/C++ API and filtered pyramid tile generation

I have been tasked with adding functionality to an existing C++ developed toolset whereby a source dataset (typically a single GeoTIFF) needs to be split into tiles at various resolutions ('zoom' ...
1
vote
0answers
58 views

esri ArcGIS javascript api compatibility with Internet Explorer 7 and 8

I've developed a web map using esri arcgis javascript api version 3.8 and its not compatible with IE 7 or 8. I've advised the people who have reported this to update their version of IE but, if it ...
1
vote
0answers
17 views

geoprocessing libraries for Google Maps [closed]

Are there any GeoProcessing libraries that I can use with Google Maps to get some more advanced features?
1
vote
0answers
150 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 ...
1
vote
1answer
34 views

Connecting a map to live data from Yahoo Finance

I have a vector world map and am trying to connect it to Yahoo Finance, Live, in such a way that: a) If a particular country's currency goes down, the map of that country will go RED and if it goes ...
1
vote
0answers
34 views

Communicate synchronously & continuously (coords, etc) from terminal to application-based mapping software such that updates are displayed live on map

I run a lot of spatial queries. Hundreds of thousands a week. While these things are running, it would be nice if I could see what (where, actually) my scripts are working with. Distance calculations, ...
1
vote
0answers
359 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 ...
1
vote
0answers
90 views

Write WKT/WKB to File Geodatabase using FGDB API

Is there a way to set the geometry of a row using either WKT or WKB with the File Geodatabase API? Is there any other way to write spatial data to the file gdb using the fgdb api without having to go ...
1
vote
0answers
53 views

Is there a “yellow pages” web service for Europe?

I need to put some European businesses on a map, but I only know the country of these businesses. I am looking for a way to obtain a lat/lon position or an address for each. What "yellow pages" web ...