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

3
votes
0answers
305 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've got ...
0
votes
2answers
105 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
225 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 ...
1
vote
1answer
2k 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 ...
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, ...
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
1k views

Regarding property setMinScale(scale) and setMaxScale(scale) in ArcGIS Java script API

I am new to programming in JSAPI. I have two dynamic layers and I want to set the property setMinScale(scale) and setMaxScale(scale) to layers so how do I Set ? ex. I tried using ...
1
vote
3answers
1k 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 ...
5
votes
1answer
140 views

How to Add FileGDB driver to PyGDAL installation

I installed ArcGIS 10.0 and it installed Python 2.6.5 with it. Later, I installed pyGDAL using the windows installer within that Python installation. I cannot find a specific place where GDAL is ...
2
votes
2answers
2k views

'invalid parameters' on ArcGIS rest API used from Silverlight

I have an Silverlight application from which I'm trying to create new features to ArcGIS server. Every time I get error {\"error\":{\"code\":400,\"message\":\"Unable to complete ...
3
votes
1answer
280 views

How can i use MapServer service using arcgis api for silverlight?

Is it possible to use a service published from MapServer using ArcGis api for Silverlight ? for exemple : <esri:FeatureLayer ID="Schools Without Attendance Areas" ...
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 ...
0
votes
1answer
261 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
373 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
778 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
274 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
266 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
241 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):
0
votes
1answer
150 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
850 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
341 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
22 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
739 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
63 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 ...
3
votes
4answers
4k views

Free api to reverse geocode latitude, longitude to census tract?

I have a bunch of latitude,longitude coordinates (mostly city/town centroids) in the United States for which I'd like to find the containing census tract. For instance, input => nn.nnn, -nn.nnn ...
2
votes
3answers
371 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
728 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
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?
0
votes
1answer
196 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
47 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 code base and can't seem to find the DynamicLayerModel. Can someone point to where this went or how to ...
3
votes
1answer
232 views

ESRI Silverlight API - KmlLayer with a Schema?

I have a KML file I'd like to load with the KmlLayer in my Silverlight application. The problem is that the markup seems more complicated than the class wants to handle. I have a element at the top ...
2
votes
1answer
251 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 ...
8
votes
2answers
237 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
2answers
4k views

ArcGIS for Android API Example/Tutorials

I know that the ArcGIS API for Android is still in beta (I've joined the beta program), but I was curious if anyone had produced or discovered any examples/tutorials/cookbooks for the API. The Help ...
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
8answers
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 ...
2
votes
1answer
117 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
236 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
104 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
400 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
130 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
562 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: ...
5
votes
1answer
534 views

Determining ESRI File Geodatabase release version?

Is there any method in Python, ArcObjects, or the File GDB API for determining the release version (9.3, 10.0, etc.) of a file geodatabase? There is a need to find all of our shared 10.0 version file ...
2
votes
2answers
2k views

Google Maps JS API v3 - Polygon formation

So my big question here is how does the Google Maps API determine the "inner" versus the "outer" for a filled polygon? Playing around with the polygon creator @ http://www.the-di-lab.com/polygon/ ...
1
vote
2answers
136 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 ...
0
votes
1answer
168 views

GeoNames query for Canadian parks is not working [duplicate]

Possible Duplicate: Geonames querying for parks in Puerto Rico or US Virgin Islands Hi, I am trying this query ...
3
votes
3answers
224 views

How to tell if a country has states and what the state codes are

With the help of this community I understood how to find country codes and query geoNames data based on that. What I am stuck on now is understanding how to break things down by state where needed. ...
4
votes
1answer
289 views

MapQuest License

I read the license of Geodata provider (facebook, foursquare...) but I don't understand what it means: LICENSE FROM YOU TO MAPQUEST. If you upload any data, feedback, ideas, suggestions, ...
1
vote
2answers
1k views

POI Datasets for North America

I use foursquare because it contains a lot of POIs. Which database do you use when you need a point of interest in North America?