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
1answer
79 views

Static maps API that serves roads/labels without basemap?

I am looking for a static maps API (similar to https://www.mapbox.com/developers/api/static/ ) that can serve the map without an underlying base layer. My intention is to generate images with the ...
0
votes
1answer
132 views

OSM server tiles and Overpass API

I'm a beginner in Openstreetmap, and I have some questions I didn't find answer yet. I created my own server tile through this tutorial: https://switch2osm.org/serving-tiles/manually-building-a-tile-...
2
votes
1answer
18 views

the renderering of mapcanvas is still active

i am working with qgis c++ api 2.8.2 and qt4.8.5 i want to disable the rendering during zoom in or zoom out fonction in order to have a fast zoom i try to use : MyMapCanvas->stopRendering(); ...
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 ...
0
votes
0answers
25 views

Is there a WebAPI to get latlong from PLSS Data?

I'm creating a Website, where users need to enter Principal, Township, Range & Section, and the map needs to be taken to that area. I have looked at the PLSS data here: http://www.geocommunicator....
0
votes
1answer
100 views

OpenLayers 3 XYZ layer issues with OpenRailwayMap

Code with issue on Codepen - Having successfully integrated the OpenRailwayMap API into Leaflet, I wanted to use OpenLayers instead and followed the API instructions, but am getting an error: " Cannot ...
0
votes
2answers
57 views

Opensource Geocoding APIs

I am in need of a geocoding api to use in my application. I tried Google maps api but it restricts 10 requests per second. The thing is place names will be there in my csv file and it should geocode ...
1
vote
1answer
18 views

problem with qgsmaptoolpan

i am using the c++ api qgis 2.8.2 i have a strange problem when i want to use the pantool for my canvas i used this code : mpPanTool = new QgsMapToolPan((QgsMapCanvas*)mpMapCanvas); ((QgsMapToolPan*)...
3
votes
0answers
237 views

Get all locations of Panoramio photos in a given extent

To create a visual quality heat map I'm trying to get a list of all Panoramio photos in an about 2000 Km2 wide study area. My idea is to perform a density analysis in GIS on a point shapefile ...
0
votes
0answers
12 views

Which GIS map server software to use? [duplicate]

I want to build a small GIS web application, but i am really confused over which GIS map server to use. I am not sure whether to build my own map server or there are any online services which allow me ...
4
votes
0answers
188 views

Twitter REST API missing geo-tagged tweets from Europe

I used twitter's REST API to get few thousands tweets from last two days. Everything went ok, but when I put tweets on the map, there is empty "box-like" area (no tweets for almost entire Europe - ...
3
votes
0answers
45 views

QGIS — Create and move point using external python in an offline environment [closed]

I'm pretty new to QGIS and GIS. I have an python application that get periodically position [lat,long,height] updates of several moving objects. The idea is that the existing application sends the ...
1
vote
1answer
43 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 : ...
0
votes
0answers
27 views

What GIS API is slaveryfootprint using for this survey question?

I was taking the slaveryfootprint.org survey, and their question 1 is awesome: http://slaveryfootprint.org//survey/#where_do_you_live You type in a city, and the svg map locates it. If it doesn't ...
0
votes
1answer
65 views

Public transport drive times in Europe/ Germany possible with Deutsche Bahn?

Background: There are many data sources for calculating drive times for driving, walking or cycling, for example Google Maps DistanceMatrix, ESRIS WebServices (no bicycle at the moment) etc. They all ...
0
votes
0answers
191 views

get latitude and longitude of each grid point in a grid with squared cells based on a given shapefile

I would like to draw a grid whose cells are all squared on a given shape file. The shape file has the information of U.S. map at zip code or county level. I need to create the squared grid (with a ...
1
vote
1answer
81 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 ...
0
votes
1answer
85 views

Is there a Geonetwork API to create a user

I would like to build a bit of custom code around geonetwork where I want to reuse existing database from gn. For my usecase it would be nice if users could register on a custom site and then use the ...
0
votes
3answers
145 views

2 cartodb maps in 1 html page (with cartodb.js and API code)

I need to use 2 cartodb maps on the same html page. I've done many test, but I'm a newbie with javascript and I've not find any way. Below my code: for one map it works, for two it doesn't. Thanks! ...
1
vote
1answer
88 views

QGIS “project will be closed” signal

If there is a signal in QGIS emitted when a project is about to be closed (QGIS closing or some other project opening)? Want to programmatically save changes in layers if they are in edit mode.
0
votes
0answers
41 views

how to add vectorlayer in a mapcanvas with a raster

I am working in c++/qt4.8.5 with qgis api 2.8.2 For my application I had to load a raster in a mapcanvas, then with different action I had to add pint , line or polygon Is there a simply way to do ...
1
vote
1answer
82 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
2answers
565 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
1answer
90 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
58 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
0answers
75 views

About performance of qgis with big layer or a lot of layer

does anyone has a feedback on the performance of a big layer by exemple : I have a layer with 100 features, each feature contains specifics attributes with dynamic data, the data change each second ...
1
vote
2answers
123 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
1answer
49 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
21 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 * lDataProvider;...
1
vote
2answers
91 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
18 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
43 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
0answers
77 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
61 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 ...
0
votes
1answer
45 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
79 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
36 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 ...
2
votes
4answers
476 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
47 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
49 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 : http://...
0
votes
0answers
14 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 ...
0
votes
2answers
484 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
0answers
15 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 ...
0
votes
0answers
19 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
72 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
53 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, ...
1
vote
1answer
79 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( pLayer->...
0
votes
1answer
57 views

Problem with QgsCoordinateReferenceSystem

I would like to change the coordinatereferencesystem for my application I have this code : QgsMapRenderer* myRender = mapRenderer(); mQgsCoordinate = new QgsCoordinateReferenceSystem(myRender->...
0
votes
1answer
40 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
1answer
29 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 ...