neilcharles / geoviz

Functions to make it easy to process DEM data and add GPS traces to rstats Rayshader scenes, and to overlay mapbox and elevation shading imagery
http://www.hilltop-analytics.com
103 stars 12 forks source link

choroplet: not able to render my first test #43

Closed aborruso closed 9 months ago

aborruso commented 9 months ago

Hi, and thank you for this great tool.

I'm trying to take the first steps, and I started with this coropletic map: https://observablehq.com/d/cea3c118d5fac39b

It should be a world map, but in the rendering I see a colored background and a small polygon with a white outline.

What am I doing wrong?

Thank you

neocarto commented 9 months ago

This is a rewind issue. Try viz.tool.rewind(nazionalita)

aborruso commented 9 months ago

This is a rewind issue. Try viz.tool.rewind(nazionalita)

Thank you very much, I think I have used QGIS to create it. What tool can I use to normalize a geojson? Mapshaper?

Now I have another problem: I can see the map, but is it all one color. Why is the color scale not applied to the "Valore" field?

Thank you again

aborruso commented 9 months ago

I have changed method, and it works.

Ok I must study "How to choose a method?"