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
44 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: ...
2
votes
1answer
181 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
3answers
238 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 ...
0
votes
1answer
164 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". ...
2
votes
2answers
839 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
58 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
137 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
79 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
37 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
1answer
547 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
62 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 ...
9
votes
1answer
206 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 ...
2
votes
1answer
69 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 ...
3
votes
1answer
131 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
43 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 ...
0
votes
1answer
124 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
139 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
77 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 ...
5
votes
3answers
430 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 ...
2
votes
1answer
275 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 ...
1
vote
1answer
55 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, ...
3
votes
1answer
2k 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 setup technically. I am completely new to ...
3
votes
1answer
590 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
459 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 ...
2
votes
2answers
378 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 ...
13
votes
3answers
1k 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
1answer
51 views

Install plugins for qgis in centos

I followed the instructions here: How to install QGIS on Centos 6? If I run: QgsVectorLayer * vpoly = new QgsVectorLayer("Polygon", "pointbuffer", "memory"); QgsVectorDataProvider * provider = ...
2
votes
2answers
653 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: ...
3
votes
1answer
64 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.
1
vote
0answers
650 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
1answer
200 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 ...
1
vote
0answers
124 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
47 views

looking for places-api that exposes qualitative data/tags like 'trendy' or 'casual' for a place

I'm looking for places-api that exposes qualitative data/tags like 'trendy' or 'casual' for a place. I hoped Foursquare would give me this but I believe it doesn't. It would be great to have tags ...
4
votes
1answer
168 views

How to collect tweets outside a given bounding box?

I checked the twitter API here. I know how to get tweets in United States within a bounding box such as: [-124.47,24.0,-66.56,49.3843]. How can I easily get all the tweets NOT in this bounding ...
3
votes
0answers
170 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 ...
2
votes
1answer
359 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 ...
0
votes
1answer
510 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 ...
2
votes
3answers
197 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: ...
0
votes
2answers
521 views

Cloudmade geocoding API: what are the volume limitations?

I'm trying to understand the TOS of the Cloudmade's Geocoding API, but it's not very clear. It says in section 6: use CloudMade APIs in a manner that exceeds request volumes that are set by ...
13
votes
4answers
3k 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 ...
2
votes
0answers
460 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
2answers
227 views

How to create a suitable filtered .osm for osm2po using OpenStreetMap Overpass API?

I successfully created a (.osm) set suitable for routing in a desktop GIS over a large custom area thus keeping only primary network (way object) using the Overpass API (see below). I'm trying this ...
1
vote
0answers
19 views

upgrade from 1.3 to 3.3 javascript api for arcgis with jsviewer [duplicate]

I try to use jsviewer (v.1.0) in my application , but it doesn't work with JSAPI version uper than 1.3 . How can I work with both :jsviewer and the 3.3 JSAPI version? Thank you in advance
1
vote
1answer
104 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 ...
0
votes
1answer
237 views

Using the API of QSpatiaLite plugin

I am using the popular QSpatiaLite plugin for QGIS. Since I am creating and modifying SpatiaLite tables directly with Python (using pyspatialite), I wonder whether I can automate tasks such as ...
1
vote
0answers
294 views

intersect two shape files using QGIS API

I am trying to automate a process of a shape file. We are using google maps engine and we have limitation on number vertices in a shape file. so I am using a grid to split the shape files. In GUI , I ...
0
votes
0answers
98 views

Re-enabling a web service API call that has stopped working unexpectedly

so we have are running an instance of ArcGis Server, and have a handful of services running. These were set up by someone who is no longer working with the company. Some of them are built into ...
0
votes
0answers
520 views

Requesting styled Google Map tiles via URL

I'm not working with the Google Maps API but I'd still like to be able to request styled map tiles. Is it possible to request a styled Google Map tile via a URL similar to the slippy map URL format ...
1
vote
2answers
2k 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
205 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 ...