Giter VIP home page Giter VIP logo

Comments (8)

dronemapper-io avatar dronemapper-io commented on May 29, 2024 1

I replicated the error with the ODM data set. I'll dig into it when time permits

from nodemicmac.

dronemapper-io avatar dronemapper-io commented on May 29, 2024

It appears that this is an error with MBTILES. You may want to constrain the mbtile creation to a MIN/MAX zoom level: https://gdal.org/drivers/raster/mbtiles.html

MINZOOM=integer: Minimum zoom level at which tiles are generated. Defaults to 0.

MAXZOOM=integer: Minimum zoom level at which tiles are generated. Defaults to 5. Maximum supported value is 22

from nodemicmac.

rumenmitrev avatar rumenmitrev commented on May 29, 2024

Excuse me for my ignorance , but can you point me how to rectify this.
Thank you in advance.

from nodemicmac.

dronemapper-io avatar dronemapper-io commented on May 29, 2024

It is hard to point you to the exact location or solve the issue as I haven't been able to reproduce. If you want to share the resulting processed products we can take a look. It looks like some params need modification:
https://github.com/dronemapper-io/NodeMICMAC/blob/bdc0b263be1b0593d06c189a6cea015e4e67042d/scripts/postprocess.sh#L39

or here: https://github.com/dronemapper-io/NodeMICMAC/blob/bdc0b263be1b0593d06c189a6cea015e4e67042d/scripts/postprocess.sh#L58

i'll try and run the example data and see if the error shows up

from nodemicmac.

dronemapper-io avatar dronemapper-io commented on May 29, 2024

I just ran the 4th Ave example with a fresh docker image pull with no issues. Tiles for DSM/Ortho were generated. If you'd like to share your data we can try to take a look

from nodemicmac.

rumenmitrev avatar rumenmitrev commented on May 29, 2024

Thank you for your concern.
Here they are:
dataset -- Sheffield Park 1 example
console output
all.zip

from nodemicmac.

dronemapper-io avatar dronemapper-io commented on May 29, 2024

You can replicate the error inside the docker container like this:

root@41b0f421f1a1:/var/www/data/3b76a2f8-2a95-4a84-a316-fe7156d73fd4# gdal_translate odm_orthophoto/odm_orthophoto.tif odm_orthophoto/odm_orthophoto.mbtiles -of MBTILES
Input file size is 10612, 7608
ERROR 6: zoom_level > 22 not supported
0...10...20...30...40...50...60...70...80...90...100 - done.

I was able to get the tiles properly generated using:

root@41b0f421f1a1:/var/www/data/3b76a2f8-2a95-4a84-a316-fe7156d73fd4# gdal_translate odm_orthophoto/odm_orthophoto.tif odm_orthophoto/odm_orthophoto.mbtiles -of MBTILES -co "ZOOM_LEVEL_STRATEGY=LOWER"
Input file size is 10612, 7608
0...10...20...30...40...50...60...70...80...90...100 - done.

not sure the implications to WedODM if this command is changed, will look into it. I wasn't able to replicate this issue on our 4th Ave example data and haven't seen it before with other datasets

from nodemicmac.

kikislater avatar kikislater commented on May 29, 2024

Reopen if still an issue

from nodemicmac.

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.