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
2answers
48 views

How can I get the current center of the view in OpenLayers 3?

I would like the get the center (coordinates) of the current view. I need it for the geoserver print module. I've found the code var center= ol.extent.getCenter({}); but it unfortunately doesn't ...
1
vote
1answer
28 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 ...
1
vote
2answers
115 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 ...
1
vote
2answers
285 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 ...
1
vote
1answer
134 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
163 views

Global Geo Api places

I'm looking for a global geoapi for the places. I see Facebook places, google places, simplegeo, factual etc... Why not create an API that includes all places? Free and easily accessible as ...
1
vote
1answer
881 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
181 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 ...
1
vote
2answers
114 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 ...
1
vote
1answer
428 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 ...
1
vote
1answer
209 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
122 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
238 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
1answer
332 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
141 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
767 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
0answers
28 views

QGIS - Pop-up menu not displayed when right click on a layer in layer tree view

I'm developing a custom QGIS application using the QGIS API. I've been using the API provided with QGIS Brighton (Version 2.6.1) and have been developing the application in Python in a Windows 7 ...
1
vote
0answers
17 views

Wikimapia export all geoglyphs category in an area

I am creating a page with all geoglyphs in Peru. I am looking to download from different areas and upload to google maps, thus I need a kml file. Wikimapia seems to have quite a bit of these and I ...
1
vote
0answers
35 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 ...
1
vote
0answers
93 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 ...
1
vote
0answers
68 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
14 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
64 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
119 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
21 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 ...
1
vote
0answers
45 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 ...
1
vote
0answers
110 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 ...
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.
1
vote
1answer
140 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
1answer
57 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
115 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
1answer
286 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
118 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
62 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
862 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
47 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
1k 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
280 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
162 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
54 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 ...
1
vote
2answers
273 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
0answers
349 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 ...
1
vote
0answers
668 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
1answer
436 views

GeoServer REST API Issue: PUT HTTP Method

I've the function below which creates or replaces an existing layer group: public bool AddToLayerGroup(string layerGroupName, string layerName) { try { ...
1
vote
0answers
318 views

GeoServer REST API Timeout Error

I'm trying to upload a 20MB shapefile using the REST API, but gets a timeout error. I can upload smaller files without problems. I'd like to be able to upload a shapefile of any size without ...
0
votes
5answers
597 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
232 views

I am looking for a library or API to do vector overlay for two map layer (shapefiles or GML files)

I need to perform vector overlay operation on any two map layers as ArcGIS and Grass GIS performs. I am wondering is there any API or library ( in C, C++ or Java) so that I can use that third party ...