Git Product home page Git Product logo

Comments (3)

agrenott avatar agrenott commented on August 27, 2024

Hi, and happy new year!
I've been able to reproduce. It's actually a specific tile of sonn1 (no issue with sonn3):
python ../../pyhgtmap/main.py --pbf --source=sonn1 --polygon=Freizeitkarte_GBR+.poly --log=DEBUG hgt/SONN1/N49E000.hgt

I guess it's linked to computed intersections of the polygon(s) and the tile bounding box.

from pyhgtmap.

agrenott avatar agrenott commented on August 27, 2024

This is actually not because the input is a multi-polygon, but because the intersection of the first polygon (in red, right part) with the tile bounding box (in blue) is a heterogeneous collection of polygon and line (in orange below) :

image

Green is the result after fixing the function.

NB: never noticed the bounding box of Great Britain looked like a rabbit :D

from pyhgtmap.

keenonkites avatar keenonkites commented on August 27, 2024

Many thanks for fixing it.

Just tested it with the same setup as last time, just new pyhgtmap version and it works like a charm.

Cheers Patrik

BTW: rabbit ? that's true..... Switzerland (where I'm from) looks a bit like a wild boar :D

from pyhgtmap.

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.