Tag Info

New answers tagged

0

Yes, it is definitely possible. QGis has a QTiles plugin, which uses gdal2tiles under the hood, AFAIK. Then you can use leaflet/openlayers to read your tiles from the created directory structure.


2

You can use the Openlayers plugin (http://hub.qgis.org/projects/openlayers/wiki) which introduces OpenStreetMap, Google Maps, and Yahoo Maps as basemaps. See these blogs and youtube videos (http://www.digital-geography.com/qgis-plugins-openlayers/#.VEP5-cnYff0; https://www.youtube.com/watch?v=6N3h4KQW_XQ) for information. Or you can use ESRI's basemapping, ...


1

I have a similar situation - point data stored in PostGIS database and I need display heatmap of this points in web. I write shell script (put in cron for automatically update raster if changes values in points) which make next: convert data from PostGIS table in local csv file (x,y,value) using gdal_grid command I receive TIFF raster from values of csv ...


3

If this is typical raster data (or can be converted into typical raster data), I can think of a couple of options: Use a map server (like MapServer, GeoServer) to host the raster data, and pull this into Leaflet via WMS Assuming you can symbolize this the way you want it to look in a GIS (e.g. QGIS), and export as an image, you could then use a tool such ...


1

The Geocortex Essentials Manager application tries to access an ArcGIS Server REST endpoint directly, because the Essentials REST application would also try to do that. For most user interaction, your browser will make a direct connection to your resources. However, when you print the map, generate a report, or export a map image (among other things), ...


0

Since the popup content is dynamic, you need a map.on listener for the popupopen event. This will bind the overlay to the image in the popup: JSFIDDLE $(document).ready(function () { $("img[rel]").overlay(); $('#test1').fadeOut(); var map = L.map('map').setView([-41.2858, 174.78682], 14); mapLink = '<a ...


0

Same issue for me. Reverting to 2.11 has corrected.


0

Yes, what you need is CartoDB.js You can check a great course about this in the following link: http://academy.cartodb.com/courses/03-cartodbjs-ground-up.html


0

CartoDB.js is what you want. It's a JavaScript library that allows you to embed CartoDB maps on your own website. Check it out here: http://docs.cartodb.com/cartodb-platform/cartodb-js.html


1

It'll depend on your usage, but, usually, I just make it up and just make sure it's unique. Programmatically, I might fetch the layer name, replace spaces with underscore, lowercase everything, and perhaps tack on a unique number from a counter...


0

This information is limited, so I'm going to assume you're talking about point data. If you control the API and want to keep it RESTFUL then you should add an additional mime type "application/vnd.geo+json" which returns geojson. I'm guessing by the name of the resource GridMapSquareResource that is can except a bounding box and only return points within ...


0

If you want values to be remembered, you're going to need some way to store them (a database) and some way to serve them up using middleware. The "standards" way would be in the case of middleware to use WFS-T (i.e. supported by GeoServer or TinyOWS if you have a MapServer predilection). It'd work something like: Client requests Polygons via WFS and ...


1

Until somebody finds a better solution, here what I would do ... As you noticed, leaflet is using pixel position to set zIndex (in Marker.js) pos = this._map._latLngToNewLayerPoint(this._latlng, opt.zoom, opt.center).round(); this._zIndex = pos.y + this.options.zIndexOffset; What I suggest is to undo leaflet zIndex using setZIndexOffset() Say you want ...


0

Did you look at this? It might be of help. Generally you need to keep reference to features you add to map, so you can change them when needed. You can store them as a L.LayerGroup for example. Than you just iterate over features and set their style to whatever you want. Also, a functional jsfiddle example would be really useful.


0

I think: new ol.layer.Vector({ source: new ol.source.Vector(casinos.geojson) }) should be something like: new ol.layer.Vector({ source: new ol.source.GeoJSON({ url: 'casinos.geojson' }) }) you may need to account for its projection as well. url: 'casinos.geojson', projection: 'EPSG:3857' (or whatever it is)



Top 50 recent answers are included