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
342 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
132 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
439 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
441 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
163 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 ...
1
vote
0answers
908 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
4k 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
299 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

Where to find QGIS API documentation?

Where to find QGIS API documentation? Can someone please share a QGIS API documentation link, i couldn't find it anywhere on the site. please help thanks
2
votes
2answers
1k views

Seeking Reverse Geocoding API?

I am working in a company where our team requirement is to do reverse geocoding lookups. Below is our requirement. To give you more background, the 3 geolocation-related needs I have are as follows: ...
3
votes
0answers
288 views

Closest set of points to another set of (predefined) points

I have 10 sets of points which I call templates that I have manually classified from 0 to 10. Each point is a X, Y coordinate in a text file. Each template has 5-8 points. I have new sets of points ...
2
votes
1answer
88 views

Is the QGIS blog broken?

I would like to use the QGIS API in my own program to display maps .... So I thought I would find some tutorial here : http://hub.qgis.org/wiki/quantum-gis/Writing_custom_Applications_with_QGIS_API ...
3
votes
1answer
1k views

API for Real Time World Statistics

Does anyone know of an API (preferably free) that can provide real time world statistics such as Crude Birth Rate, Crude Death Rate, world/country population, or emails sent today as on the website ...
6
votes
1answer
536 views

How to download GeoTIFFs using the REST API in GeoServer 2.2?

I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I have a ...
0
votes
2answers
109 views

I am looking for a list of mapping libraries? [closed]

I am looking for the top APIs that I can use to display maps from a number of map servers/sources. (like openlayers and openscales). So are there any other popular APIs for other languages than ...
0
votes
2answers
310 views

What are the top best webmapping API clients? [duplicate]

Possible Duplicate: Comparison of JavaScript mapping libraries? I am looking for the top APIs that I can use to display maps from a number of map servers/sources. (like openlayers and ...
4
votes
3answers
6k 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 ...
7
votes
2answers
257 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, ...
4
votes
2answers
2k 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
3answers
3k views

How to export a shapefile through the Wikimapia API?

I am trying to download a kml file from Wikimapia containing information on quaters (districts), the very same information that is nicely available on Wikimapia. What I want to get at the end of the ...
56
votes
6answers
32k 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 ...
0
votes
1answer
417 views

Spatial Rendering using ArcGIS Restful APIs

Always when I read the documentation, I always hear the term Restful APIs and ArcGIS Server using Restful Service to render the mxd hosted on the server. I am a bit unclear about what exactly does ...
1
vote
1answer
486 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
1answer
1k views

Using GeoServer REST API and C# to create Layer Group

Following information at this link in the section on creation of layer groups, I've created the method(C#): public bool AddToLayerGroup(string layerGroupName, string layerName) { ...
1
vote
0answers
393 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 ...
3
votes
0answers
352 views

GeoServer REST API: Creating Database Data Store does not persist password

I'm passing the XML created by the method below to a GeoServer REST API request that successfully creates a postGIS data store. However, password is not persisted. I have to update the password ...
1
vote
1answer
452 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
195 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 ...
2
votes
1answer
1k views

How to draw lines, dashed lines, routes and add images to the QGIS mapcanvas?

I need to draw a rectangle in a map canvas and inside it draw routed dashed lines and add small images to it. These actions are to be performed using the QGIS API. Is there any place with examples ...
4
votes
3answers
670 views

API to suggest nearby streets

For an app I'm developing, I want to use the phone's GPS to locate it. I then want it to list streets that are nearby. The customer might be in his back garden for example, and this may be closer to ...
2
votes
0answers
24 views

Cloudmade Web Maps API Geocoding Issue [duplicate]

Possible Duplicate: Cloudmade Web Maps API Marker Clustering problem I'm at Geocoding in Cloudmade Web Maps API. I've the code below. Whenever I try to access the page, content of elements ...
1
vote
1answer
1k views

sending a XAPI-Request to the API-Server - over http

pretty new to Geo-Informatics so do not bear with me if my questions sound like newbie-questions: can i do some requests on POIs of Openstreetmap with XAPI. doing like so: i send a request to the ...
3
votes
0answers
66 views

Is there an easy common gis abstraction available in .Net

Is there an easy common gis abstraction available in the .Net programming world that cuts the dependency to a concrete gis implementation, e.g. to the esri silverlight/wpf sdk. ... for example ...
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 ...
2
votes
3answers
636 views

How to insert reversed map with Google Maps API?

Is there a way to put map with Google Maps API to a website, but upside down? North must be down, and south up. Is there any possible way to do it? I really need to put map that way and I need really ...
1
vote
1answer
1k 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 (...
4
votes
1answer
358 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?
0
votes
1answer
281 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 ...
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 ...
3
votes
1answer
341 views

Where are the raw data sources for all these maps?

Pretty straightforward question here. At an increasing rate I see crowd sourcing data being mapped to great effect. Where are the raw data sources for all these maps? I know they vary but I don't ...
9
votes
2answers
295 views

Designing an API for spatial data

I am considering trying to make an API so that I can make some spatial datasets available to colleagues for analysis. Part of my work has been to analyze and prepare data which can then be used for ...
6
votes
1answer
2k views

Add a OpenStreetMaps road data layer on Google Maps API v3

I've successfully embedded a Google Maps API v3 map on my site, and added OpenStreetMaps (OSM) as the base layer. Is it possible to use Google's tiles as the base layer, and then overlay street data ...
11
votes
10answers
3k views

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

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 ...
2
votes
1answer
150 views

Is it possible to cancel a request for a KmlLayer, and load a different layer, before it is actually visible

Having asked for a google.maps.KmlLayer, and whilst waiting for it to load, is it possible to cancel the request? Calling layer.setMap(null); seems to causes an error if the layer is not yet visible. ...
0
votes
0answers
280 views

How to Query Parks in GeoNames and Combine it With a Polygon Layer?

I run a hiking site and would like to get parks where you can at least have a nice walk. That means they should not be playgrounds, stadiums, and probably be bigger than 3 square city blocks at least. ...
3
votes
1answer
125 views

Is there any way to tell whether a park from GeoNames is small or big?

I have this query for parks in Alabama for example: http://api.geonames.org/search?featureCode=PRK&username=genadinik&country=US&style=full&adminCode1=AL&maxRows=100 But it ...
-3
votes
1answer
497 views

Geonames query for Alabama Cities does not bring two biggest cities

I have this query: http://api.geonames.org/search?featureCode=PPL&username=genadinik&country=US&style=full&adminCode1=AL&maxRows=100 Which brings back the top most populated ...
2
votes
2answers
139 views

Can't get correct number of populated places for a place

I am trying to get a number of populated places for example for Andorra since it is a small number. Here is a geonames site with 10 places: http://www.geonames.org/AD/largest-cities-in-andorra.html ...
8
votes
1answer
633 views

Custom panning using ArcGIS Engine

Due to some constraints, that I will not go into, I have found myself needing to implement custom panning in my application. The ArcGIS API reference suggests using the following methods: ...