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

1
vote
1answer
14 views

ArcMap, Editor and Geodatabase API edit session question

Say a feature class from a File GDB is added to ArcMap and an editing session on it is in progress. What happens if an add-in launched from the same ArcMap session tries to start an edit session using ...
0
votes
0answers
4 views

Converting CAD to map tiles

My team is working on an application that has a map feature, and we want to extend this feature greatly. Among other things, we want the user to be able to load a CAD drawing, and place it on the map. ...
11
votes
9answers
2k views

What are the advantages of using Rails for a GIS/mapping application?

I've heard some good things about Rails, but I don't know much about it yet. There are only a few questions about Rails on GIS.SE (and there's not even a Rails tag). Is it worthwhile to learn about ...
7
votes
2answers
209 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
1answer
739 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 ...
-2
votes
0answers
16 views

Javascript from Geoportal API IGN

im totally newbie in Javascript, im supossed to correct it somehow but i have no idea how and what to change. Thank you for the help Hydrosphere div#viewerContainer { width:600px; height:400px ...
0
votes
1answer
163 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. ...
1
vote
1answer
754 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 ...
2
votes
1answer
156 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 ...
0
votes
1answer
643 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
254 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
1answer
180 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 ...
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 ...
1
vote
2answers
99 views

GDAL C++ API: How to create PNG or JPEG from scratch

I'm new to GIS and GDAL. My question probably is very basic, but I couldn't find answer. May be I don't understand GDAL ideology. I need to create raster images from scratch, for example, JPEG or ...
0
votes
0answers
28 views

What's the most detailed level of location can I get only by knowing the ZIP code?

I am looking at APIs to get location information from ZIP codes. So far the most detailed level of location I could get was Country --> State --> City. Does ZIP code also map to neighborhood / ...
0
votes
1answer
54 views

Is there a web service to get the area of a city?

I'm looking for an api/service/db that contains the surface area of every city in the world. For example, http://en.wikipedia.org/wiki/London, the box on the right contains that information. I've ...
1
vote
2answers
62 views

[GDAL API]: can't save image in some formats

edited "32-bit buffer" below means that it contains 32-bit rgba pixels. I need to save image to file from 32-bit memory buffer. Code below works well for that when I use TIFF format. In this case ...
4
votes
2answers
1k views

programmatically create and publish geotiff layer in geoserver

We need to automatize process of creating datastore and publishing geotiff layer. Also, before publishing we need to change Declared SRS and to save Native Bounding Box to our database. Geotiff file ...
2
votes
1answer
40 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 ...
0
votes
0answers
19 views

Using REST APIs and interactive maps

Are there any tutorials available showing how I can learn to harvest data from a REST API to an online interactive map? I am very new to the use of APIs so something pretty basic in the first instance ...
2
votes
1answer
283 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 ...
133
votes
16answers
49k 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 ...
1
vote
0answers
29 views

Use QGIS as API [closed]

I would like to develop a simple application to use raster and map from a server. Is it possible to use QGIS as API to display map and raster? I also know that QGIS use API and library like ...
4
votes
2answers
2k views

Google Earth plugin deprecated. Which alternatives?

I've got a costumer of mine asking for an integration of the Google Earth Plugin to his website. From Google earth Plugin site I read this: Google Earth Plugin API has been deprecated as of ...
0
votes
0answers
29 views

Download US census data profiles?

US census summary file information is available on the census ftp server: ftp2.census.gov/acs2013_5yr but I can't seem to find the data profiles information anywhere. The only source appears to be ...
0
votes
1answer
43 views

Can you use the US Census ACS Api with TIGER Shape File GEOID?

The US Census makes available the TIGER Shape files for geographic area like States, Counties, Tracts, etc. (https://www.census.gov/geo/maps-data/data/tiger-line.html). They also supply an api for ...
1
vote
0answers
60 views

KML Layer Watermark Removal

Hello right now I have a google maps page with KML Layers from multiple online resources. However all of these layers especially those from noaa have giant watermarks that take up large portions of my ...
0
votes
1answer
70 views

CartoDB - can we overlay 2 visualizations

Suppose we make two map visualizations from a loaded polygon shapefile in the CartoDB free online system. Could we overlay these 2 maps on top of each other in a web page using the CartoDB.js API? ...
13
votes
5answers
2k 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
32 views

Getting the middle of a way over Overpass API

I´m trying to import several Ways and Nodes from the OSM. But i dont want to get the Ways as a way with different nodes, only the middle of the way. In my case, all ways are an area (Parks, Parking ...
1
vote
1answer
41 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.
0
votes
5answers
432 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 ...
17
votes
7answers
4k 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 - ...
1
vote
1answer
102 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 ...
1
vote
0answers
48 views

Geonames API database update

Last Thursday I created several places in Geonames (using the website UI). When I tried to retrieve these places using the API, I couldn't get them. In that moment I thought that perhaps the API ...
1
vote
0answers
13 views

Multi-Lingual Places API

I'm developing a website and I'm looking for a places api (that isn't google!) one which can take a place parameter in any (or most) languages and return me values both in the language I've sent the ...
1
vote
1answer
56 views

How do I make my map use a set of coordinates

Right a little background. I've made a custom google map with the google map api which has a few functions that work well within it - one specifically is limiting the user on what they can view within ...
0
votes
0answers
50 views

What happened to the DynamicLayerModel in the Android API?

We were using the Dynamic Layer model from the Alpha API and well, we are updating our large codebase and can't seem to find the DynamicLayerModel. Can someone point to where this went or how to just ...
1
vote
1answer
120 views

Including WMTS Layer from API in Openlayers2

I´ve generated a map API from the GBIF data portal. It shows points from the country Mali. I included the API as a WMTS in Openlayers2, but I dont know how to change the xyz accordingly, so that my ...
5
votes
1answer
231 views

Conventions for returning GeoJSON via an API

I have a queryable API that returns one or more GeoJSON FeatureCollections. Currently the response looks something like this: { "success": { "data": { "layer1": {"type": ...
1
vote
0answers
32 views

Web Mapping SNMP polling and databases

I am doing a project that involves Web Mapping. The project involves having a simulated communications network for a wind turbine company. My project involves building a user front end to display ...
0
votes
0answers
31 views

Mapping API's which one to use [duplicate]

I am currently doing a project where I want to use some form of mapping API (Google maps or an open source alternative) that can show the location of simulated wind turbines across Ireland. I am ...
2
votes
0answers
47 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: ...
2
votes
1answer
83 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
114 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
37 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
0answers
43 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
37 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 ...
2
votes
0answers
23 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
160 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 ...