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

7
votes
2answers
237 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
3answers
2k 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
172 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 ...
42
votes
5answers
23k 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
344 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
441 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
325 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
300 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
349 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
169 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
983 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
489 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
23 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
64 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
6k 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
515 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
922 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
325 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
239 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
237 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
291 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
258 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
3k 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
130 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
267 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
115 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
453 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
136 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
601 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
601 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
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 ...
3
votes
3answers
279 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
331 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
2k 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?
4
votes
1answer
318 views

Facebook Place Api

Do you know if there are a requirements or restriction on Facebook Place API? Is it possible to download the data? Is it open-source?
2
votes
2answers
1k views

Online service to transform coordinates from WGS84 to NZTM and NZMG

Has anyone come across a free web service / REST API to transform coordinates? I'm particularly interested in transforming from WGS84 to: New Zealand Geodetic Datum 2000 (NZGD2000 / NZTM) and New ...
5
votes
7answers
2k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies?

I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions. Brief requirement to build mapping application with Microsoft ...
4
votes
3answers
696 views

Type of event dispatched when the user double-clicks the map

I am currently working with a drawing tool for the ESRI Flex API, and every time I double-click the mouse a map service will perform a measurement and display the length of the line that I am drawing. ...
3
votes
2answers
922 views

Measure the Length of a Line on a Map after a MOUSE_MOVE Event

One of the actions a user can perform using the ESRI Flex Viewer application is to draw a shape on a map (e.g. a line). Once the user is finished drawing the line, they will double-click the mouse ...
8
votes
2answers
747 views

Most suitable open source GIS platform

I'm looking for an open source GIS server or desktop package that supports as many file formats as possible, is fast, runs on Linux or Mac and can be controlled via an API. Planning to do very basic ...
138
votes
18answers
53k views

How do various JavaScript mapping libraries compare? [on hold]

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 ...
4
votes
2answers
2k views

JavaScript library to read data from a WFS server?

Is there a JavaScript library available to read data from a WFS server?