Open jayenashar opened 6 years ago
Hi Jayen,
Can you please be more precise what the density grid function you would like to supply is, which shape it comes (file format or whatever). Also let me know what you mean exactly by getting an "image" back. What image?
I am not sure if ScapeToad is the correct tool for you, as it is mainly a GUI tool and not intended for CLI use. You might be more happy with some of the tools in the christiankaiser/spatial-tools repo. There are some tools for making a cartogram from an initial density grid in raster format and more.
Regards, Christian
Hi Christian,
The shapes I already have in JTS Geometry
s (MultiPolygon
mostly) representing neighbourhoods. The density would be a score that I have determined for each neighbourhood.
I'm looking for a way to convert this into a cartogram in Java. I don't mind if the cartogram is a JTS Geometry
s, ESRI ShapeFile, SVG or some raster format like PNG. (I'd prefer a Geometry
as I will convert it to GeoJSON.)
It looks like ScapeToad has the pieces I need, but I need an example on how to use it from within Java. The Javadoc is overwhelming.
Thanks, Jayen
Hi there,
I would like to supply a density grid function to convert from x,y to a density value, and get back an image. Can you provide an example of how to do that with your app?
Thanks, Jayen