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

The error message on console is: Access Not Configured. Please use Google Developers Console to activate the API for your project. At bottom of example page on openlayers.org posted in question you can see this text: View the fusiontables.js source to see how this is done. You will need to get your own apikey from Google's API Console for this to ...


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

There is tool for "shortest path" in QGIS which is free. I guess you could configure it for using it with your params. If you feel confident with a bit of sql and programming, you could also use the combo postgis/pgrouting which works perfectly for this kind of problem as well.


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 ...



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