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

0
votes
0answers
8 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 ...
0
votes
0answers
6 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
12 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" .... ...
3
votes
1answer
16 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
28 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 ...
0
votes
0answers
6 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
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 ...
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
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 ...
0
votes
0answers
11 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, ...
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
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 ...
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 ...
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 ...
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 ...
1
vote
2answers
64 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 ...
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
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 ...
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 ...
0
votes
1answer
50 views

What packages are required to install C++ API on Linux Mint 17?

What packages are required to install C++ API on Linux Mint 17? I already have access to the Python API (installed via “python-qgis” package), but no C++.
0
votes
0answers
103 views

Implement Leaflet search box for 370,000 points stored in PostGIS served as raster tiles

I have built http://opentrees.org. It's a TileMill/PostGIS/Leaflet stack with raster tiles and UTFGrid interactivity. I'd like to add a search box, so users can search for a feature – trees in this ...
2
votes
2answers
228 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: ...
2
votes
1answer
115 views

How to implement Add feature action from PyQGIS

I'm trying to implement / reuse Add Feature functionality in my python plugin. there a class/function that handles geometry creation on canvas based on layer geometry definition? I'm checking API but ...
1
vote
1answer
37 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 ...
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. ...
0
votes
0answers
34 views

What's the most detailed level of location can I get only by knowing the ZIP code?

I am looking at APIs to get location information from ZIP codes. So far the most detailed level of location I could get was Country --> State --> City. Does ZIP code also map to neighborhood / ...
1
vote
2answers
157 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 ...
2
votes
1answer
89 views

How to programmatically partition a large Polygon in smaller parts within a given Area Threshold?

I'm looking for a Java library, or even an algorithm to do the following: I have a large polygon, about the size of a large city. I need to break it down into smaller polygons such that: The area ...
0
votes
0answers
23 views

Using REST APIs and interactive maps

Are there any tutorials available showing how I can learn to harvest data from a REST API to an online interactive map? I am very new to the use of APIs so something pretty basic in the first instance ...
0
votes
1answer
83 views

Is there a web service to get the area of a city?

I'm looking for an api/service/db that contains the surface area of every city in the world. For example, http://en.wikipedia.org/wiki/London, the box on the right contains that information. I've ...
1
vote
2answers
390 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
0answers
37 views

Use QGIS as API [closed]

I would like to develop a simple application to use raster and map from a server. Is it possible to use QGIS as API to display map and raster? I also know that QGIS use API and library like ...
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 ...
0
votes
1answer
51 views

Download US census data profiles?

US census summary file information is available on the census ftp server: ftp2.census.gov/acs2013_5yr but I can't seem to find the data profiles information anywhere. The only source appears to be ...
0
votes
1answer
87 views

Can you use the US Census ACS Api with TIGER Shape File GEOID?

The US Census makes available the TIGER Shape files for geographic area like States, Counties, Tracts, etc. (https://www.census.gov/geo/maps-data/data/tiger-line.html). They also supply an api for ...