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
13 views

Newbie running qgis 4.2.1 Open Layers plugin not running [on hold]

An error has occurred while executing Python code: RuntimeError: module compiled against API version 9 but this version of numpy is 6 Python version: 2.7.5 (default, Mar 9 2014, 22:15:05) ...
0
votes
0answers
17 views

Is the QGIS API suitable for my application

I am working on an Linux/QT application that includes a real-time map based display of multiple robotic vehicle positions, where the positions are derived from a variety of sources--some are GPS, ...
0
votes
1answer
378 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 ...
0
votes
1answer
30 views

What technology does google analytics use to show the map?

Does anyone know what technology is used by google analytics in the Geo location tab? It looks like a combination of image and vector. Is it WMS & WFS or something else?
1
vote
1answer
46 views

How to programmatically export a composition as image?

QGIS Print Composer has tool "Save As Image" and I found appropriate function in QGIS source code exportCompositionAsImage. Is it possible to get access to existing Print Composer from Python console ...
1
vote
1answer
134 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 ...
116
votes
16answers
41k views

How do various JavaScript mapping libraries compare?

I am working on a web-based mapping system and I'm trying to figure out the best/most appropriate library to use. There are a few of them about and they each have pros and cons. Even after trying a ...
4
votes
3answers
87 views

Is there a API which return the geojson data for a 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 ...
6
votes
1answer
152 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, ...
1
vote
0answers
24 views

Create Google Static Maps API from GeoJSON

I am using MapBox to create some maps with polygon boundaries. These maps will be embedded into a custom PHP app I am developing using their API. I need to be able to print these maps so I need to ...
0
votes
0answers
36 views

Geocortex Viewer: Running a Workflow with Arguments

I have a webpage with the Silverlight Geocortex Viewer embedded in it. Through the browser's developer console, I can run commands through it such as ...
3
votes
1answer
344 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 ...
0
votes
0answers
37 views

How to use Javascript Esri map as GPS Tracking?

I have an android application that get the gps coordinates of the device and stores it in a remote mysql database. I want to use ajax to display the coordinates in a javascript api using esri. I just ...
0
votes
1answer
50 views

Programmatically set layer properties Python Init function

Is it possible to set the layer properties Python Init function field programmatically? I've been looking through the qgis 2.2 api but can't seem to find anything on it. Hint, suggestions and ...
1
vote
1answer
44 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
2answers
518 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: ...
12
votes
3answers
649 views

Is there a programmatic way to retrieve Landsat 8 Satellite Images?

I have not been able to find out this myself, but is there a way to programmatic access Landsat 8 Satellite Images? I know that I can go to USGS EarthExplorer to search and browse through the scenes, ...
0
votes
0answers
111 views

Is there a way to calculate driving time/driving duration with google maps api without considering the traffic situation?

I am currently using this VBA-Code, written by Jamie Bull, to calculate both, driving distance, as well as driving duration, between approx. 1.500 villages and a specific shopping center, using excel. ...
0
votes
0answers
27 views

How to hide features based selection using API for Silverlight?

my challenge is to, when i want to select feature on the map by the mouse the action must be zoom to the feature and all other features hidden in the same layer my application created by API for ...
0
votes
1answer
47 views

In cartodb, how can I insert a new row in a table via API?

We've discovered cartodb and we want to use it in our project, but in the API documentation we've only seen the sql.execute() method (docs) in order to insert a now row in a table. Is this the way to ...
0
votes
0answers
24 views

CartoDB - renamed table and changed API calls but still failing

I used the SQL API to make a new table with some data from an existing table. I also renamed all the API calls in my code to point to the new table. However, no point markers show up on my map now. ...
0
votes
0answers
49 views

overpass-api: data export into csv-formate

update; perhaps we can do this like so: to use Perl for text-mangling - so we can use the XML::Simple module. here's an example of a little script to parse your XML: see the Code: #!/usr/bin/perl ...
0
votes
0answers
26 views

Cross platform gis api wrapper architecture

I have a python class library for arcpy which is just a couple of class definitions with my common code attached as methods and properties so that I can do code centralization for stuff that I have ...
0
votes
2answers
39 views

Need help with ArcMAP API to find coordinates of points in point shape file

I need to find some reference or even C#.Net example code of how to use the ArcMAP 10.2 programmers API. I have got a CSV file with X, Y and Elevation coordinates of soil samples and I want to write ...
1
vote
1answer
82 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
59 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' ...
0
votes
2answers
98 views

Unable to make infowindow work in CartoDB runtime layer

I'm trying to personalize a layer created with CartoDB. The layer is created at runtime and the problem is that I cannot make work even easy things like custom infowindow or legends or click ...
1
vote
0answers
199 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 ...
0
votes
1answer
35 views

How do I get a JSON list of all the visualizations in my CartoDB account?

I'd like to integrate all my CartoDB visualizations on a website, is there a way I can make a call and get them back as JSON?
2
votes
1answer
110 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: ...
0
votes
0answers
29 views

Custom infowindow exception in CartoDB

I'm building a runtime layer and til a couple of days ago my code was working. Since today it started giving me an exception that is causing subsequent code not to work. Uncaught ReferenceError: ...
17
votes
7answers
3k views

File Geodatabase Open API

Any ESRI boffins (insiders) know when this will be available? 2010, 2011? FINAL UPDATE now released 20th January 2011 - Can be downloaded here - ...
0
votes
1answer
90 views

CartoDB create layer at runtime

I'm almost totally new to CartoDB. I've been looking around and read the api reference, but there seems not to be what I'm looking for. What I want to do is to "Create visualizations at runtime". ...
3
votes
1answer
381 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 ...
2
votes
2answers
287 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 ...
0
votes
0answers
38 views

check if mapquest geocoding return no values

I use mapquest's geocoding api. I want to check if the request is sucessfull, but returned no data. I type vdfsbvdf54vdfd (just a silly string) in a form field and nothing happens. I expect an ...
1
vote
1answer
101 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 ...
2
votes
1answer
53 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 , ...
1
vote
0answers
22 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
270 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 ...
0
votes
0answers
49 views

setSubsetString with limit?

I have a layer with couple thousands objects in QGIS and I would like to create a filter of the layer where result would be only one object. I would like to do it in console or plugin. I am using ...
2
votes
1answer
59 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 ...
9
votes
1answer
152 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 ...
0
votes
1answer
83 views

How can I extend L.mapbox.legendControl?

I'm trying to override legendControl.onAdd, but I can't seem to do it early enough. I can override the other functions, since they're fired after map init, but I can't seem to change the prototype? ...
2
votes
1answer
103 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 ...
1
vote
1answer
36 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 ...
2
votes
0answers
353 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 ...
1
vote
0answers
59 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 ...
1
vote
1answer
184 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 ...
2
votes
1answer
108 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 ...