Comments (3)
Hi,
Thanks for letting me know. When I wrote this library, my use cases never included using such large objects. So I never ran into this. Probably this is a problem with conversion between coordinate spaces while drawing objects...I think I am taking some lazy shortcuts which are not "too bad" at a small/local scale but on a large scale like 200km the errors will become apparent.
I will try to take a look at this soon and see if I can make it work.
from mapgraphics.
Hi,
Thanks for your quick response. I think that the issue is that information about map projection is hidden in PrivateQGraphicsObject, and LineObject itself knows only its position to paint itself. However both endpoints of the line require map projection.
from mapgraphics.
Hello again,
Spent some time looking at this... might be tricky to make it work in a good way since the framework currently assumes that drawing takes place in East-North-Up coordinates (or rather just East-North since we only do 2D). ENU makes a flat earth assumption... which isn't too horrible over small distances, but of course it breaks down over hundreds of km.
I will think some more about this... let me know if you come up with a good way to handle this (or better yet, submit a pull request π )
from mapgraphics.
Related Issues (20)
- Compatibility with Qt 4 may be broken? HOT 1
- Downstream HOT 1
- using maker and drawing points HOT 3
- Change map CRS (Coordinate Reference Systems) support. HOT 2
- PolygonObject painting as if open, Only repainting at certain zoom levels HOT 2
- Get latitude/longitude on mouse double click HOT 2
- Network Error: "Host otile1.mqcdn.com not found" HOT 2
- Tile references to openstreetmap.org should be https not http now. HOT 2
- Zoom the map with the mouse wheel
- Itβs good written code. HOT 1
- TestApp is not working - URL changed HOT 1
- How to rotate map HOT 5
- Map Flicking HOT 1
- Error compilation with Qt 6 HOT 5
- Image could not be redrawn HOT 1
- SSL Error
- Can offline tiles be loaded HOT 1
- Software license is missing HOT 1
- Issues compiling using MSVC11 (2012)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapgraphics.