Comments (3)
Hi,
It looks like that ImageSharp have an issue with image size.
I had a look to their source code, it computes width * height
on a int. If you tried 400x400Km with a decent resolution like 5m/px, width * height
will be equal to 7 530 086 400
which overflows int.MaxValue => 2 147 483 647
. Due to this limitation, image width is limited to Math.Sqrt(int.MaxValue) => 46340
. So you should set resolution to 9 m/px until I add the system able to split very large images.
I will also submit a merge request on ImageSharp to compute width * height
on a long to circumvent the issue (and allow draw operation on large pictures). But not sure that images that are larger than 8 GiB will be seen as legitimate use case.
from armarealmap.
I think split method may be better. So when will you add that system .
from armarealmap.
Should have been fixed with the HugeImage system
from armarealmap.
Related Issues (20)
- Block of flats with building=apartments not rendering. HOT 4
- Density variation within large areas of 1 land type HOT 4
- Options that can edit the config.cpp generated by the mod HOT 1
- Need more informative error messages HOT 1
- Improve Asset Browser model detection
- Recover a map from a binarize related crash
- Rivers and Lakes not being generated HOT 1
- Map right click and scroll and the same time
- Can't generate anywhere in Kazakhstan
- Cant edit satmap or mask after update HOT 1
- File 'z\arm\addons\common_v2 HOT 1
- Randomization of vineyards
- Option to ignore buildings and sidewalks if the terrain is too steep
- Aeroway (Runway) not rendering HOT 3
- Support aeroway=helipad
- Cowshed typo means building type is not handled correctly
- Support building=terrace
- Error with Airport elevation generator HOT 1
- Set memory limit for single-image export once ImageSharp 3.1.5 is available HOT 1
- Upgrade to .NET 8
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 armarealmap.