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
1answer
33 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 ...
0
votes
0answers
22 views

Open a *.qgs project file in API, why maps do not show?

I'm using QGIS-2.4.0 API. I saved a test.qgs file in QGIS Desktop, in this project, there is one layer that is visible in it. Then I open the test.qgs project file in QGIS API to developing an App, ...
1
vote
1answer
30 views

Linestring to CartoDB api

I want to add a linestring to a CartoDB API web app for one time use, I have SQL statement being ran at the same time and just want the linestring in the SQL statement to be displayed.
0
votes
1answer
459 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 ...
1
vote
1answer
185 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 ...
0
votes
0answers
34 views

Can QGIS generate a map that composed of several .shp maps?

I'm using QGIS-2.4.0 API to develop application. I need a map that composed of several vector layers. If only this, it can be done by merge in QGIS, but I need more for that: the map(or project?) I ...
0
votes
1answer
32 views

API to online map

I've had a search online and still a bit confused. Would someone be able to outline a summary of the basic configuration of exposing data to an online map from an API. The API supports a REST model ...
124
votes
16answers
44k 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 ...
2
votes
0answers
18 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 ...
4
votes
1answer
59 views

Is there a public API that can be accessed with Python and will geocode Points of Interests?

I recently downloaded tagged hospital data from OpenStreetMaps.org using the API. Some of the data have a 'node' tag which are attributed with a lat/long while other data are tagged as 'way' format ...
1
vote
1answer
483 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 ...
3
votes
1answer
418 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 ...
6
votes
1answer
172 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
30 views

Loading KML WMS Network Link through Google Earth API

I'm trying to add a KML network link with the Google Earth API using the same function that I have used for regular KMLs and KMZs. Sources suggest to create a KML with a "Ground Overlay" to connect to ...
1
vote
1answer
19 views

Problem migrate 3.4 to 3.6 or upper JS API

I have a problem when I tried to migrate from 3.4 to 3.6 or upper. I can see the map but once all is loaded the page becomes blocked, also the web browser. I can put more information, because the ...
3
votes
1answer
30 views

How to change the color of vector layer of QGIS in api?

I'm using QGIS-2.4.0 api to develop app in C++. When I add a vector layer to the app, the vector map's color would be random. I used QgsFeatureRendererV2 to get the geometry type of the layer, my ...
1
vote
0answers
16 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
1answer
35 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. ...
4
votes
1answer
301 views

How is StreetDirectory.com web map application developed?

I wonder can you tell me how is developed map application like on this site? http://www.streetdirectory.com What API is used?
2
votes
0answers
28 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 ...
1
vote
1answer
117 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 ...
34
votes
4answers
15k views

Should I use OpenLayers or Leaflet?

I was debating with one of my collegues on OpenLayers v/s Leaflet. I made a point that OpenLayers is much better API if we wish to build a project, where you need direct connectivity to the Geoserver ...
2
votes
0answers
40 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 ...
1
vote
0answers
35 views

How to create a svg item onto Map Canvas in QGIS API?

I'm working on a project with QGIS-2.4.0 API using C++. I need to load some svg files to the application for displaying as symbols. QGIS API has a class named QgsMapCanvasItem, which is an abstract ...
2
votes
0answers
16 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 ...
0
votes
0answers
15 views

How To Add a QgsSvgMarkerSymbolLayerV2 to VectorLayer in Qgis?

I'm using Qgis2.4.0 API to develop a C++ application. I want to add a svg symbol to a vector layer. Here is what I have already done: add vector, then add symbol. But I get stuck dong this. Here is my ...
3
votes
2answers
1k views

Working With Vector Product Format (VPF) - APIs, etc

I've been looking around the Internet for information about Vector Product Format. I want to put together a project that can read Digital Nautical Chart (http://msi.nga.mil/NGAPortal/DNC.portal), ...
1
vote
0answers
40 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 ...
0
votes
0answers
75 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 ...
1
vote
1answer
64 views

Use Ushahidi api in another map using openlayers

I have a ushahidi deployment and i am using Openlayers + ushahidi api to show the reports in a separate map along with other features. i have queried the data from ushahidi api and made a vector ...
1
vote
0answers
26 views

Display linestring on Cartodb with SQL

I have a Cartodb api for a separate map, I need to display a linestring for each time the sql is run, but not store the linestring in the database.
1
vote
1answer
52 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, ...
0
votes
2answers
46 views

How to find variable names for SF1 Census files

I'm trying to to read the 2010 Census data so that I can link some of my research data to geographic information. Ideally I would like to use census tract data and other covariates. I've downloaded ...
0
votes
1answer
68 views

Mapquest directions API in ArcGIS javascript webmap application

I'm trying to build a webmap application using the ArcGIS JavaScript API. A functionality I would like to include is driving directions from a current GPS location to a feature in my feature service. ...
0
votes
0answers
36 views

“US NED” OnEarth JPL NASA Tiled WMS working?

I am working on developing a computer software application that displays a 3D terrain based on the 30m elevation data for USA. I am using the OnEarth JPL NASA Tiled WMS for fetching the elevation ...
0
votes
0answers
28 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
71 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
67 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 ...
4
votes
3answers
211 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 ...
0
votes
0answers
106 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
73 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 ...
2
votes
1answer
116 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
590 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: ...
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
0answers
725 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
40 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
0answers
35 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
83 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
28 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
66 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 ...