Giter Club home page Giter Club logo

cimtographer's Introduction

I'm a Software Engineer from Manchester, UK. In my spare time I also write software, because why not?

cimtographer's People

Contributors

propanedragon avatar tony56a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cimtographer's Issues

Bridges are determined incorrectly

At the moment whether a road is a bridge or not appears to be determined by its elevation. But when using the mod that lets you switch between normal/ground/elevated/bridge construction, this can lead to incorrect classifications. A grounded road with an elevation is rendered as a bridge, instead of as a grounded road which is how it appears in-game.

It would be better to look at the road's elevation type, which should be possible.

Fails to de-serialize XML file.

In game, when using the mod, every xml file I have tried has resulted in the same error, the program fails while trying to parse a unsigned 32-bit integer, while de-serializing the xml file.

I am very unsure as to what causes this, I have looked through the XML file with some simple regex searches, and did not find any of the attributes that would be parsed into UInt32 (based on the interface) to be malformed, too long, or negative.

My current theory is that perhaps the format of the XML document obtained from the OSM API is slightly different now?

The error messages seem to indicate that the file itself is unknown, and they provide no indication of where or what in the file caused it to fail, but if there was some error getting the proper memory stream, I don't see why it would jump straight to trying to parse a UInt32, as opposed to parsing like the header or metadata.

Can't open osm file with JOSM

JOSM don't like to read something with id=0
It was not a node but a way in my case put I think any object will not work

Merge similar segments together when exporting OSM ways

While implementing Road Namer integration, the names were only being applied on segments that were named. Since the segments are typically fairly short, it might be useful to figure out a way to merge similar segments(i.e same segmentName, only 1/2 neighboring segments, etc), in order to get more of the name showing.

remove from Maperitive from game folder

may I ask why is it there in the first place?
if the mod does need it to run some script and generated the osm file, its okay, but better to get the needed code and include in the mod,
its not good practice to make it grab the whole thing and install inside the game folder, let the user do that,
besides, if for some reason getting program from the internet fails (no connection or slow download), could put at risk getting the game stuck,

Missing road types (network extensions)

Some of the road types have been added (such as OneWay3L, 2L Highway, etc.) but there is at least one missing; the two-way three-lane road. However, there may be more missing.

Parallelize OSM export

It seem like, with the current cimtographer:

  1. It takes a while for the entire map to be generated
  2. The various stages(paths, water masses, ways, etc) are fairly isolated from one another( no dependencies on each other, except for the index, I guess), and are run sequentially.

I think in this case, it might be possible to "parallel-ize" this, and split up the work of generating each component into separate threads. The only logical change I can see(from a first glance) would be to split up the way/node output lists, and maybe update the indices at the end. Even with that, I think, even with that, there would still be an significant improvement in performance.

Something to look into, once all the major features are done.

use proper user/mod folder

I would like to suggest moving he mod files, config, export, and possibly custom rules, to the user folder location instead of the main game,
( ie: Documents on windows or ~/.local/share in linux)
a proper ./modconfig/ folder is there for this purpose, and is probably easier to find the exported osm map there,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.