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
1answer
12 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
0answers
17 views

How to change programmatically the value of attribute in one of several feature in a vectorLayer

I have a vectorlayer that contains a lot of feature, I know that each feature has an unique Id Each of them has some propertie like coordinateX, coordinateY, color, name With a QTimer, each 2 sec I ...
1
vote
1answer
9 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 * ...
0
votes
0answers
13 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
0answers
13 views

How to change the value tof the use tag in a svg file

I am working in C++/QT4.5 with the qgis c++ api 2.8.2 I have a svg file that contains different form tag by Id When i want the first form i place the id name in the use xlink:href="#formname" .... ...
4
votes
1answer
17 views

Cartodb API Read Only

Is it possible to generate an API-key in Cartodb with read-only permission? Seems like the default API-key has full controll
0
votes
1answer
224 views

Mapquest directions API in ArcGIS javascript webmap application

I'm trying to build a webmap application using the ArcGIS JavaScript API. A functionality I would like to include is driving directions from a current GPS location to a feature in my feature service. ...
0
votes
0answers
30 views

Is there an open source API I can use to re-write javascript code for a web app that uses Esri's JS API?

Is there a way to "translate" Javascript code from a web app that depends on Esri's Javascript API into an Esri-independent web app? Also, can this be done if the app was built with Esri's Web App ...
1
vote
1answer
157 views

APIs to render custom WMTS source

We have a custom WMTS source which we want to show on Android and iOS. What would be my options to do this using native APIs (so no Leaflet or Open Layers)? An ideal API not only shows the maps but ...
8
votes
6answers
6k views

Google Earth plugin deprecated. Which alternatives?

I've got a costumer of mine asking for an integration of the Google Earth Plugin to his website. From Google earth Plugin site I read this: Google Earth Plugin API has been deprecated as of ...
1
vote
1answer
927 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
1
vote
1answer
301 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 ...
0
votes
1answer
14 views

How can i catch clicked signal on a qgsmapcanvas

I am working under c++ with the qgis API 2.8 In order to make different operation on a canvas like personnalized rotation or selecting a region for zooming, I had to catch different signal like ...
2
votes
1answer
33 views

Difference between qgis.utils and qgis.core?

Please, can you tell me what is the difference between qgis.utils and qgis.core ? I'd like to understand step by step the QGIS API Document.
1
vote
0answers
12 views

How to SetVisible a layer without redraw all the mapcanvas

I am working with QGis 2.8.2 API c++/ QT 4.5 I am displaying a lot of layer in a mapcanvas, I am looking for a method like setVisible(boolean ) in order to setvisible or not a specify layer ...
1
vote
4answers
57 views

Does Google Maps API or OSM provide location/place boundaries

I've been digging around today in Google Maps and Leaflet API's to find if there is an easy way to get these boundaries instead of needing our users to manually outline these things (like drawing ...
1
vote
0answers
17 views

VectoreLayer Still Empty even if attribute has been set with value

I am working with the qgis api c++ 2.8.2, my application is written in QT 4.5.3 / C++ I had to create a vectorlayer in memory with attributes and features and export it to a shp file to import it in ...
1
vote
2answers
12 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 : ...
0
votes
0answers
13 views

List of default attribute of a feature?

I am working with c++/!qt with the c++ api qgis 2.8.2 for a stand alone project application I had to change and add attribute for feature Does anyone know where i can find the default attribute of a ...
2
votes
2answers
229 views

Need to get distance matrix for large set of points on-the-fly

I do not know much about GIS and I do not know much of the jargon. Hopefully you can help me a bit here because I am really unaware of the services and software available. My problem is as follows: ...
0
votes
2answers
47 views

NOAA API data for past monthly mean Temperature and precipitation

I am trying to use the NOAA API to get data on monthly mean temperature and precipitation for the past 10 years. I wrote the following python code (the variable "token" in the code is the API token ...
0
votes
1answer
870 views

OSRM API - nearest point fed into routing

I am using the OSRM API to (1) determine the nearest point on a road segment from a give random point with http://server:5000/nearest?loc=_lat_,_lon_ The returned coordinates are used then as an ...
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 ...
0
votes
0answers
12 views

How can I extract the latitude and longitude from a s57 File [duplicate]

I had to extract the longitude and latitude from a s57 file, in order to superpose a satelite view from the same point. These coordinate will allow me to get the exact position on google map by ...
1
vote
1answer
31 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( ...
0
votes
0answers
12 views

Problem on rendering categorizedSymbolRendererV2

Finally my code works but the renderering display just one color instead of 4 I don't know why, I follow the sample code of the snorf.net website and the sample code in the qgis python programming ...
1
vote
1answer
24 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
0answers
21 views

How to write a test suite for QGIS standalone application

I have a rather simple QGIS standalone Python app (2.8.2, Windows 7/64), with some published methods to create different types of geometric primitives (rectangles, circles). class MyApp(QMainWindow, ...
0
votes
1answer
23 views

Problem with QgsCoordinateReferenceSystem

I would like to change the coordinatereferencesystem for my application I have this code : QgsMapRenderer* myRender = mapRenderer(); mQgsCoordinate = new ...
0
votes
0answers
24 views

help for rendering s57 file

I am working on a specific project based on QT 4.5 and QGis API C++ 2.8.2 I have a S57 File, I want to load it, and render it into a canvas My canvas is created, the build and link is ok,no error, ...
0
votes
1answer
26 views

looking for documentation about exploiiting OSM file with c++ API

My application is written in QT4.6, i use the C++ API of QGIS 2.8.2 i had to read and display OpenStreetMap in my canvas in my application so, i am looking for some documentation or tutorial for ...
0
votes
0answers
11 views

how can i change property of a symbol using qgis 2.8 c++ api

i have an application written in QT 4.6, and use the C++ API of QGIS the application will display the data of the s57 file in a MapCanvas i managed to read the file but how can i , for a specific ...
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
301 views

Geocortex Viewer: Running a Workflow with Arguments

I have a webpage with the Silverlight Geocortex Viewer embedded in it. Through the browser's developer console, I can run commands through it such as ...
2
votes
2answers
871 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: ...
20
votes
5answers
7k 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.
0
votes
1answer
24 views

Error during building an application c++ using api qgis 2.8

I have an apllication that need an object the object type is QgsSymbolV2 but i cannot do that : QgsSymbolV2 * lSymbol = new QgsSymbolV2(); because in the class qgssymbolv2 there is no constructor ...
2
votes
1answer
252 views

How to load a *.qgs file in a C++ QGIS standalone app?

I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs ...
0
votes
0answers
10 views

API URL for my own uploaded dataset?

I'd like to use CartoDB.js to make an interactive map using a dataset that I uploaded to CartoDB. How do I find the API URL for that dataset? Thanks.
1
vote
0answers
51 views

QGIS - Pop-up menu not displayed when right click on a layer in layer tree view

I'm developing a custom QGIS application using the QGIS API. I've been using the API provided with QGIS Brighton (Version 2.6.1) and have been developing the application in Python in a Windows 7 ...
1
vote
2answers
65 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 ...
2
votes
3answers
382 views

Ways to extract DEM for urban areas using Google Maps?

Is Google maps' elevation API suitable to obtain the high resolution elevation data for areas that have 3D building such as Manhattan? Would the API for example yield a significant different value on ...
0
votes
0answers
74 views

google geocoding api usage restrictions and other free api options

I would like to use the google geocoding api to geocode a few thousand addresses. I understand the daily limit for a free account is 2,500. I want to retrieve the coordinates and then map them in ...
3
votes
0answers
221 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 ...
0
votes
1answer
33 views

CartoDB Update API

Im uploading a csv with the following command: (attached) curl -v -F file=@/var/www/html/map.csv "https://account.cartodb.com/api/v1/imports/?api_key={apiKey}" I had item_queue_id from the response ...
2
votes
1answer
24 views

Looking for API providing accurate timezone data

I'm looking for an API providing accurate timezone data. Thus far managed to find earthtools api but daylight saving time info isn't very accurate. I need to lookup by latitude/longitude or as an ...
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 ...
0
votes
1answer
82 views

Converting CAD to map tiles

My team is working on an application that has a map feature, and we want to extend this feature greatly. Among other things, we want the user to be able to load a CAD drawing, and place it on the map. ...
1
vote
0answers
24 views

Wikimapia export all geoglyphs category in an area

I am creating a page with all geoglyphs in Peru. I am looking to download from different areas and upload to google maps, thus I need a kml file. Wikimapia seems to have quite a bit of these and I ...
0
votes
1answer
96 views

Extract geometry from citygml data using citygml4j

I have a citygml file with some buildings. And I am trying to extract the geometry of the polygon in that building using the citygml4j library. I have looked at the FeatureWalker class but I am unable ...