Closed brauliodiez closed 6 years ago
Found one that contains at least region + region names, worth to take a look:
I was working on this guys, since I have plenty experience with GIS, creating maps, transforming coordinates, etc.
My plan is:
I am halfaway in the process.
Please find the processed maps in https://github.com/Lemoncode/simplechart-maps-source. @juanbermudezpareja could you please integrate the final minified topojson
maps into our repository?
Yes, of course. Good job @fjcalzado !
Uploaded next files in src/resources/maps: Spain-01-Regions-EPSG-4326.MIN.topojson Spain-02-Provinces-EPSG-4326.MIN.topojson Spain-03-Municipalities-EPSG-4326.MIN.topojson
We are going to reuse in several maps same geo path, How this geo paths and topojson paths works?
Some articles to get started:
https://bost.ocks.org/mike/map/
http://d3indepth.com/geographic/
We don't need to go the hard way, there are already plenty of resources that have the maps in geojson / topo json format:
https://github.com/deldersveld/topojson/tree/master/countries/spain
About already built samples:
https://bl.ocks.org/martgnz/77d30f5adf890ef7465c
https://github.com/Lemoncode/d3js-samples/tree/master/samples/04%20maps/02%20spain
The goal of this task is to generate under the src/resources/map a set of json files that will contian regions, or provinces or municipalities.
On going discussion: talk as well with @fjcalzado and @carlostxm one option is to get an existing json file with all the info and apply filtering, my concern here is size, e.g. full europe map takes 3 Mb, we need something lite weight, and not every map is going to use all the bells and whistles.
On the other hand @fjcalzado can provide you a json file that could be filetered.
One final step, check if we can store this in topo json format and save 80% of the size.