Tag Info

Hot answers tagged

2

What you describe is finding the best route along a network which has each segment assigned an impedance representing risk of accident. For this you could use a license for the Network Analyst extension to ArcGIS for Desktop. A good place to start reading about this topic is here. Having the route based on your assigned impedances solved using Google ...


1

While I can't test it, your VRT is different to that specified here: http://www.webrian.ch/2011/09/google-fusion-tables-in-qgis.html Try this: <OGRVRTDataSource> <OGRVRTLayer name="ps"> <SrcDataSource>GFT:refresh=<MY_VERY_LONG_TOKEN_IN_HERE></SrcDataSource> ...


1

Sometimes fusion tables will cache a previous style, and it will take some time for changes to be reflected. You could try setting the style explicitly in the API.


1

Here is some code I'm successfully using to toggle a Fusion Tables layer in one of my maps: google.maps.event.addListener(map, 'zoom_changed', function() { zoomLevel = map.getZoom(); if (zoomLevel >= minFTZoomLevel) { FTlayer.setMap(map); } else { FTlayer.setMap(null); } }); it looks almost identical to your code, apart ...


1

Check out this example: https://developers.google.com/fusiontables/docs/samples/custom_markers It shows you how to query a Fusion Table and create a marker for each row of data. You could modify the createMarker() function to give the marker a different icon depending on a certain criteria/column value that you pass to it. e.g var createMarker = ...



Only top voted, non community-wiki answers of a minimum length are eligible