The Unity importer can be found here: https://github.com/InsaneQA/UnityMedievalCityImporter
The unitypackage is in the root of the repository
Sure, no need to worry - I've already handled the missing points in the code.
There is also a situation when a building is imported with only 3 points and the last point equals to the first point (it's basically a line). I simply remove those buildings as well in the importer.
I've started creating a 2D medieval game in Unity, and I must say that the Medieval Fantasy City Generator is totally superb, especially with the GeoJson export available!
However, it seems there is a bug in every exported json (please see the image below. I've used http://geojson.io/ for validation):
Basically, the first and the last points in the array should be the same. With this bug, the FeatureCollection object cannot be correctly deserialized. It can only be reproduced for buildings (not earth or walls).
watabou, could you please fix the bug if that's not too timeconsuming?
I've fixed the bug manually for 2 documents (it took about 15-20 minutes), and here is the result of the mesh generation:
That's the first day of work with the GeoJson, so there are some buildings with the wrong shape, and the city is mirrowed, however it seems I'm on the right track.
I'm going to share the deserialization tool for Unity after it's done.