I am looking to do something like this but where I have all the data on the same server.
I've been following through the set of tutorials @ sparkgeo.com/labs/big/ and I'm having some difficulty. Ultimately I'd like to get it working with Leaflet like the tutorial @ sparkgeo.com/labs/bigleaflet/ but I can't get the version on the prior tutorial to work either. So the final version will be generating R Shiny interactive maps and layers from tiles accessed through Leaflet generated by Postgis by means of node.js using mapnik and mapbox.
The Wax libraries used in that tutorial have been removed so I installed this. I pointed the tiles in the HTML file to http://localhost:8000/{z}/{x}/{y}.png and pointed to my location of wax.g.min.js. No census tracts are showing up with I run the cencon.js code. Similarly with the Leaflet version of the HTML file, I pointed to the localhost for the layers and they are not displaying. They are successfully loaded to the PostGIS database and changing the database login info.
OK, so I'm new to all of this and I'm wondering if I'm missing something obvious. I did not alter the code other than what I previously mentioned. Is there something else I needed to do to generate the tiles @ http://localhost:8000/{z}/{x}/{y}.png? Also, now that Wax is superseded, do you have any links for more suitable tutorials using mapbox?
Thank you for your thoughts.
أكثر...
I've been following through the set of tutorials @ sparkgeo.com/labs/big/ and I'm having some difficulty. Ultimately I'd like to get it working with Leaflet like the tutorial @ sparkgeo.com/labs/bigleaflet/ but I can't get the version on the prior tutorial to work either. So the final version will be generating R Shiny interactive maps and layers from tiles accessed through Leaflet generated by Postgis by means of node.js using mapnik and mapbox.
The Wax libraries used in that tutorial have been removed so I installed this. I pointed the tiles in the HTML file to http://localhost:8000/{z}/{x}/{y}.png and pointed to my location of wax.g.min.js. No census tracts are showing up with I run the cencon.js code. Similarly with the Leaflet version of the HTML file, I pointed to the localhost for the layers and they are not displaying. They are successfully loaded to the PostGIS database and changing the database login info.
OK, so I'm new to all of this and I'm wondering if I'm missing something obvious. I did not alter the code other than what I previously mentioned. Is there something else I needed to do to generate the tiles @ http://localhost:8000/{z}/{x}/{y}.png? Also, now that Wax is superseded, do you have any links for more suitable tutorials using mapbox?
Thank you for your thoughts.
أكثر...