Mouseover streets in this D3.js-driven visualization that allows users to visualize the citywide extent of a given street. The City of Philadelphia Streets Department maintains and distributes geospatial data representing and describing the city's street network. The data along with more information is availabe at Open Data Philly. Street location and name data is stored in a CartoDB table. A merge by attribute operation, street name in this case, achieved improvements over the previous file size that approached 3MB.
Download size can be further reduced by using PostGIS functions ST_Simplify
or ST_SimplifyPreserveTopology
. Without significant loss of detail, file size is about 185KB (from ~600KB) at simplication level 0.0007.
you select the_geom as well as the_geom_webmercator which gets simplified. how do you know if the path function is reading the_geom or the simplified the_geom_webmercator?