brandonshults / pipoam

A tool for clipping points on a map using polygons.
https://www.youtube.com/watch?v=jotvK8W-6MM
28 stars 2 forks source link

[request] support for different formats #11

Open seikur0 opened 8 years ago

seikur0 commented 8 years ago

So I wonder, if you can build in support for json files like this:

{"object1": content1, "object2": content2, "spawns": content_spawns, "objectN": contentN}

With content_spawns being the array as in your original format. And the other contents being arbitrary json objects, dicts or arrays or values. So it should read the spawn points from the content_spawns array and keep the rest of the structure as it is like it does with additional objects in each spawn array entry.

The background is, that my map uses this format and your tool would be much easier to use with that change.

Here an example file. The number and content of objects around the spawns array can still slightly vary.

edit: And maybe make the cluster zoom level a setting.

toshioson commented 8 years ago

+1 looking forward for this tool to support the latest PGO-mapscan-opt file