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

2
votes
0answers
26 views

Finding equivalent API-supported data to the 2000 Census

I'm having some difficulty choosing Census datasets for a project that involve various SES measures at the block-group level. I'll be looking at things like median household income and percentage of ...
2
votes
1answer
82 views

Why aren't my basemap tiles showing up via ArcGIS Server

I have a leaflet js script referencing the ArcGIS server imagery api. The code worked fine up until about two days ago. Now when I click on the layer there's a gray background. I am using my local ...
2
votes
0answers
279 views

Seeking free nautical route planner Data?

I don't really need an application, but rather an API. I plan to develop my own application and don't need someone else's GUI, just their information. I want to know the distance a vessel at sea must ...
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
2answers
425 views

How can I represent Time in GeoJSON?

I'm modelling a bus route as a series of waypoints. Most of these waypoints have just a latitude and a longitude and represent points along a road. However, when the bus gets to a bus stop, the ...
1
vote
2answers
38 views

Latitude/Longitude to city and zip, batch convertion

I have ~10 mln lat/lon points, and I need to extract city and zip code from them. I can do this with OpenStreetMap using the Nominatim API (using something like ...
1
vote
2answers
107 views

is it possible programmatically to rotate a svg of the feature without rotate all feature

I am working on a project that need to move and update the shape of the feature of the layer. I am working in c++/ QT4.8.5 and qgis api c++ 2.8.2. In my Layer I have a lot of features, each feature ...
1
vote
3answers
60 views

How to (programmatically) determine if a WMS endpoint belongs to a GeoServer?

Given a WMS endpoint URL (and the ability to make calls to it), what is a reliable way to work out whether it is a GeoServer, ArcGIS Server, or something else? The reason we want to know is due to ...
1
vote
1answer
178 views

Where I can find API for Countries, States, Cities and airports

I'm looking for an API or data source (or multiple sources) that provide the following information: Countries Information: ISO code, Region, Capital, population, languages, currencies and climate. ...
1
vote
2answers
3k 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
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
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 ...
1
vote
2answers
25 views

Assigning variables into a API text string postgis

I am trying to assign values to variable in PostGIS. I have a API similar to: example I want to create a trigger that parse the x,y coordinates from my geometry column to a field containing the ...
1
vote
2answers
74 views

how to rotate a symbol

I am working in c++/python/QT 4.5 with the api qgis 2.8.2 My application receive data from a communication port that indicate the change of position of an object diplayed on the map and represented ...
1
vote
2answers
210 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
62 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
342 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
957 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
509 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
2answers
110 views

Need help with ArcMAP API to find coordinates of points in point shape file

I need to find some reference or even C#.Net example code of how to use the ArcMAP 10.2 programmers API. I have got a CSV file with X, Y and Elevation coordinates of soil samples and I want to write ...
1
vote
1answer
190 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
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 ...
1
vote
1answer
18 views

Getting height data in XML of fixed points in The Netherlands

In Holland we use a tool offered by the government to get the height data based of NAP (Nieuw Amsterdams Peil), the tool works but it's kind of clunky and inefficient. ...
1
vote
1answer
16 views

Discovering gravimetric station data, including location and measurement?

I would like to refine an precision estimate of local gravity based upon current GPS position. Ideally, similar to the National Weather Service API, I would like to interrogate a server with a REST ...
1
vote
1answer
21 views

Mapping WaterML data in cartodb

HI has anyone had success in mapping WaterML data in cartodb? (WaterML). I can't get it to work and not sure what I am doing wrong. I also used this tool to generate a REST URL but still couldn't get ...
1
vote
1answer
25 views

problem with my zoomIn or ZoomOu

i am using qgis 2.8.2 and qt4.8.5 i have a problem when i call zoomIn or ZoomOut, the raster on canvas is reduce or zoomed but : - the raster size change - it disaprar - it appear again but 3 to 5 ...
1
vote
1answer
36 views

How can I remove feature selection from my layeroverlay in mapguide API?

I can add feature to my layeroverlay on mapguide API, but I don't know how to remove it. Can you help me find a method to remove a feature from a selection ? This is how i add features to my layer : ...
1
vote
1answer
72 views

How to select a feature with the mouse click programmaticaly

I am working in c++/QT 4.8.5 and the api c++ qgis 2.8.2 In my application i had top select layer with the mouse click button to get attribute value and show them in a popup windows I see in the api ...
1
vote
1answer
71 views

How to re-render only a single layer on a mapcanvas?

In my application I have a mapcanvas that contains several layers. some of layers need to be updated or rendered again because data has been changed ( like the geometry or some attributes ) Is there ...
1
vote
1answer
81 views

Problem creating polygon in a layer

I am working in c++ qt4.8.5 and api qgis 2.8.2 c++. In my application I had to put polygon to define attractive zone. I found a great post in stackexchange (86812). I have based my on this post and on ...
1
vote
1answer
53 views

How to create a specific svg file with data from a feature

I am working in c++/ QT4.8.5, with qgis api c++ 2.8.2 I have to display a dynamic icon for a feature. some of the data change periodically and in order to display the change i need a svg that can get ...
1
vote
1answer
20 views

Building error on changegeometryvalues

I am working with c++/QT and c++api gqis 2.8.2 I want to change the geometry of a feature, I have this code : QgsVectorLayer * lLayer = mMapLayer.value(TRACKS); QgsVectorDataProvider * ...
1
vote
1answer
47 views

How to add a point in a empty vetorLayer creadted in memory

I am working in c++/qt 4.5 and qgis api c++ 2.8.2 I had to create and empty vectorLayer and add Point I saw in the qgis cookbook that it is possible to create a vector layer in memory ,I did that, and ...
1
vote
2answers
48 views

Building error with QgsVectorFileWriter

I am working with qgis api c++ 2.8.2, in c++/QT 4.5 I try to save my List of QgsField but I have the error message : no matching for call to 'QgsVectorFileWriter' I took the sample from here : ...
1
vote
1answer
59 views

Information about the setDataDefinedProperty

In the QGis C++ API v1.6 there is a function called setlowerValue to set a value for a specific Symbol In my application i use QGis C++ API 2.8.2, i try to understand how the function ...
1
vote
1answer
66 views

How to render the Sea depth level in different color?

I would Like to adapt an old code in c++ using the api qgis 1.6 : const QgsRenderer* lrenderer = pLayer->renderer(); if( lrenderer == NULL ) lrenderer = new QgsSingleSymbolRenderer( ...
1
vote
1answer
414 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
241 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
1k 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
310 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
398 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
1answer
131 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
294 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
437 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
143 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
801 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
1answer
17 views

Where can I find tower information

I want to find geolocation with GSM Cell information. The device I have can be able to send this data to me. Anyway, I need tower information to find locations and calculate triangulation. I tried ...
1
vote
0answers
11 views

Using Google Maps API to dynamically display delivery-time zones?

I'm looking to replicate the functionality from the UPS Ground Map which will allow users to enter a zipcode, then dynamically show delivery times by region. I know I need travel times by state data ...
1
vote
1answer
73 views

Alternative overpass api for OpenStreetmap locations query?

Currently i use the overpass api to query for "leisure=playground" ways and nodes to display them on a map in a webapp. The problem is, first of all its very slow (even with querys limited to a high ...