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

87
votes
14answers
23k views

Comparison of JavaScript mapping libraries?

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 ...
21
votes
3answers
3k 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 ...
16
votes
7answers
2k 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 - ...
11
votes
4answers
2k views

What reliable GeoCoding service would you recommend me?

I'm looking for a web service providing a full address based on coordinates (and reverse). I'm ready to pay for that service. I don't want to use Google's API.
9
votes
3answers
4k views

How does ArcGIS compute the distance between two points with a non-equidistant projection?

This is a follow-up question to my previous one, Can you suggest some well-written introductory texts about coordinate system projections? Let's assume I'm working with the CH1903 map projection, ...
8
votes
6answers
1k 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 ...
8
votes
2answers
542 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 ...
8
votes
2answers
187 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 ...
8
votes
1answer
463 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: ...
6
votes
1answer
1k 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 ...
6
votes
2answers
2k 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 ...
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 ...
5
votes
1answer
235 views

When is it better to use 64 bit File GDB access?

The beta 2 release File Geodatabase API includes 64 bit support. Esri says arcobjects is still the "preferred" method to interact with the file gdb. However, arcobjects has no 64 bit support. ...
5
votes
1answer
95 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 ...
5
votes
1answer
80 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
727 views

JavaScript library to read data from a WFS server?

Is there a JavaScript library available to read data from a WFS server?
4
votes
1answer
211 views

How can I develop this kind of web map application?

I wonder can you tell me how is developed map application like on this site? http://www.streetdirectory.com What API is used?
4
votes
1answer
333 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 ...
4
votes
3answers
180 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 ...
4
votes
1answer
664 views

Geo-Tagged Tweets and Twitter API

When I do a timeline query using the Twitter API... http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=MyTwitterName The geographic component of the reply looks like this: ...
4
votes
1answer
269 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?
4
votes
2answers
904 views

ESRI REST API clients?

So, if I implement the esri GeoServices REST API with a non-esri service, what clients can I use with it? We (GeoREST) were initially thinking that ArcGIS Explorer or other desktop clients would be ...
4
votes
1answer
233 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, ...
4
votes
3answers
435 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. ...
4
votes
0answers
63 views

3D maps on web application [duplicate]

1) Is there any web API which can show 3D trajectory below earth surface and can consume the ArcGIS feature service which can work closely with ArcGIS web platform. 2) Is there any way to publish ...
3
votes
4answers
2k 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 ...
3
votes
2answers
395 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 ...
3
votes
3answers
172 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. ...
3
votes
2answers
705 views

Working With Vector Product Format (VPF) - APIs, etc

I've been looking around the Internet for information about Vector Product Format. I want to put together a project that can read Digital Nautical Chart (http://msi.nga.mil/NGAPortal/DNC.portal), ...
3
votes
2answers
3k views

OpenLayers and the legend

Is it a possibility in OL to add a legend (symbology) directly to (under) particular layer (not only switch on/off the layer)?
3
votes
1answer
77 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 ...
3
votes
2answers
559 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 ...
3
votes
1answer
778 views

show position on google map/earth, from gps data, using google API

For those that have used google's API for mapping (google maps/earth), I would like to know if is it possible to develop an application to receive NMEA data from a gps receiver, extract position, and ...
3
votes
1answer
189 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 ...
3
votes
0answers
98 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 ...
3
votes
0answers
160 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 ...
2
votes
2answers
113 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 ...
2
votes
3answers
224 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 ...
2
votes
1answer
207 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 ...
2
votes
1answer
81 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 ...
2
votes
1answer
75 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 ...
2
votes
1answer
27 views

First time using ArcGIS JavaScript API - where do I find the JavaScript API to include (.js) into my solution?

I'm writing a web service that will interface with ArcGIS. One of the requirements is to put: esri.config.defaults.io.proxyUrl = "proxy.ashx"; in the JavaScript portion of the page. Of course, it ...
2
votes
1answer
177 views

What Reliable Reverse Geocoding API Can I Use?

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: ...
2
votes
2answers
1k 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/ ...
2
votes
1answer
635 views

Google maps API charset for http request ?? Geocoding Requests

im sending the following request to maps api but receiving the json response with chars problem. Can some one point me in the right direction to set charset correctly ? Request -- ...
2
votes
1answer
49 views

Method to find “if map data is available or not”

I am using Arcgis javascript api 3.2. I use the mapservice, https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer. I realized that map data is not available when the ...
2
votes
1answer
150 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" ...
2
votes
1answer
314 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 ...
2
votes
1answer
106 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. ...
2
votes
1answer
2k views

Google Maps API v3 vs v2 (JavaScript): overlay problems

I have been using the Gmap API (v2) for dynamically displaying some data: oMap.map = new GMap2(document.getElementById("map")); oMap.geoXml = new ...

1 2