Tag Info

New answers tagged

0

In the end that's what I did - ripped some code out. Got the coordinates that I needed and then had to play around with the json job done. I got the javascript from here. http://blog.sallarp.com/geojson-google-maps-editor.html


0

Hey also had the same problem figured out these two options, either place cdb.vis.Vis.addInfowindow(map, layer.getSubLayer(0), ['name']); in place of: sublayer.infowindow.set('template', $('#infowindow_template').html()); Or Use cartodb.createLayer(map, {'http://documentation.cartodb.com/api/v2/viz/2b13c956-e7c1-11e2-806b-5404a6a683d5/viz.json'}); ...


1

Why do you want to use WMTS? The GBIF website is based on Leaflet. The built-in tiles layer are not using WMTS grid at all but the OSM default grid. Normally with both OpenLayers 2 and 3, you just have to change the URL parameters when tiles are base_url/z/x/y.png but the GBIF url do not work the usual way: it requires more changes as the url uses ...


7

You'll have to patch existing software in order to use such a format, but there's nothing wrong with embedding GeoJSON in other JSON formats. JSON is super extensible like this. Every object is its own namespace. If you look in the other direction, there are some applications, namely Leaflet, http://geojson.io, Fiona's command line programs, that will ...


0

The problem is solved by Matthias Kuhn, see Here. QgsLayerTreeMapCanvasBridge should help you there header: QgsLayerTreeMapCanvasBridge* mLayerTreeCanvasBridge; source: mLayerTreeCanvasBridge = new QgsLayerTreeMapCanvasBridge( QgsProject::instance()->layerTreeRoot(), mMapCanvas, this ); QgsProject::instance()->read( path_to_your_project_file ...


1

So 3 years later I finally got organised enough to learn some Rails. My initial conclusion is that Rails won't specifically help with a GIS web application - but it makes everything else so much easier. Rails handles the most common tasks and functions of a web application, meaning that the developer can just concentrate on the GIS-specific aspects, ...



Top 50 recent answers are included