Coder Social home page Coder Social logo

Comments (3)

markalex2209 avatar markalex2209 commented on August 11, 2024

Actual list of punkts is requested from here (It's behind 302, but I think we should use this URL too).

Points exist in three types:

  • A - automated, mapped as amenity=recycling or amenity=vending_machine vending=bottle_return,
  • M - manual, unclear how should be mapped. Probably some additional tag on shop=*, but need a clarification.
  • B - Beramtaromāts. No clue what it is. Based on quick search, I think this is a first test batch of automated points installed, but need a confirmation.

from osmalyzer.

markalex2209 avatar markalex2209 commented on August 11, 2024

We started implementation. Have a question regarding JSON parsing: was the decision not to use a parser a conscious choice, or it just happened?
And if latter, how open are you to incorporating an actual parser into project? And do you have any preferences?

from osmalyzer.

HellMapGoesCoding avatar HellMapGoesCoding commented on August 11, 2024

Actual list of punkts is requested from here

Thanks for looking into it, yeah this seems good.

  • B - Beramtaromāts.

This is a stand-alone vending machine where you drop the bottles in, like at an entrance to a shop. This is what these points are like in most of the world that do them. What they call "automatic" for A is also a vending machine, but it's inside that small kiosk/building and there's a person attending in the back.

Have a question regarding JSON parsing: was the decision not to use a parser a conscious choice, or it just happened?
And if latter, how open are you to incorporating an actual parser into project? And do you have any preferences?

I believe I'm already using Newtonsoft.Json where I can. If I am not using it, it is most likely because either the data was broken/unreliable or it was very complicated layout and I didn't want to hard-code complicated structures. In short, I avoid JSON parsing because I expect data sources to change/break eventually. For example, I have no idea how many have already had changes, but because I only hard-coded the part I need, it still works. Same for HTML parsing and basically anything I can avoid doing "properly". So yeah, doing this "badly" was intentional ;)

from osmalyzer.

Related Issues (20)

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.