Giter VIP home page Giter VIP logo

Comments (7)

dstahlke avatar dstahlke commented on July 26, 2024

gbb: is there any chance you could send me a copy of the raster image so that I can try and reproduce the problem?

Indeed, there were many changes made since Feb 2013, mostly having to do with gdal_trace_outline.

It is intentional that proj4 is not checked for anymore, since I now just use the proj4 which comes with GDAL.

from dans-gdal-scripts.

gbb avatar gbb commented on July 26, 2024

I've emailed you but it's not showing up here. Basically

Thanks very much for your help and quick reply. TIFF tile - should be fine but I have to ask my section leader and that will take until Thursday morning. Where is the best place to email it (probably 1MB)?

By the way, google for 'topologish' - you are welcome to make a raster of this million polygon simulated map and re-polygonise it using feb13 and current versions for comparison, if it's helpful. Probably a good test case to pick up bugs since it's pretty complex and a known topology.

from dans-gdal-scripts.

dstahlke avatar dstahlke commented on July 26, 2024

My email is [email protected], and 1MB should email fine. I could create a dropbox folder for a larger file.

So, from the pictures above, it looks like what's happening is that the right half of the tile is corrupted? It looks to me like maybe the raster data is getting corrupted before making it to the polygonizer. It looks like a television with bad hsync. But of course it's impossible to diagnose without a test case.

from dans-gdal-scripts.

dstahlke avatar dstahlke commented on July 26, 2024

Okay, fixed now. Actually, I'm amazed this didn't show up sooner. I was mistaken about how GDALReadBlock returns data for edge blocks. This bug would show up for any raster whose width was not a multiple of the block size.

from dans-gdal-scripts.

gbb avatar gbb commented on July 26, 2024

Excellent work Dan, thanks! Look forward to testing it out.

It's funny, there's a lot of people out there still using gdal_polygonize
who haven't heard about your scripts yet. I've been mentioning the scripts
to quite a few GIS people.

Perhaps it might be worth putting a post to one of the GDAL mailing lists
to let them know whenever there's a substantial group of changes grouped
together or a big bugfix?

Also, it might be worth tagging a version number onto some nodes of the git
history so that people can refer to them more easily (v1.1, 1.2...). It
would be helpful with bug reporting and it also helps people like myself
who are building other open source tools based on your work. :-)

Anyway thanks again and have a great weekend!

Graeme.

On Sat, Feb 7, 2015 at 8:14 PM, Dan Stahlke [email protected]
wrote:

Okay, fixed now. Actually, I'm amazed this didn't show up sooner. I was
mistaken about how GDALReadBlock returns data for edge blocks. This bug
would show up for any raster whose width was not a multiple of the block
size.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from dans-gdal-scripts.

gbb avatar gbb commented on July 26, 2024

Also I'll test this out at the start of next week and let you know if
there's any other funny result.

On Sat, Feb 7, 2015 at 8:14 PM, Dan Stahlke [email protected]
wrote:

Okay, fixed now. Actually, I'm amazed this didn't show up sooner. I was
mistaken about how GDALReadBlock returns data for edge blocks. This bug
would show up for any raster whose width was not a multiple of the block
size.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from dans-gdal-scripts.

dstahlke avatar dstahlke commented on July 26, 2024

I was doing version tags, just forgot to update them for a while. If
this bug fix works out, I'll tag it version 0.24. All my version
numbers are always less than one for some reason.

On 02/07/2015 01:40 PM, Graeme B Bell wrote:

Excellent work Dan, thanks! Look forward to testing it out.

It's funny, there's a lot of people out there still using gdal_polygonize
who haven't heard about your scripts yet. I've been mentioning the scripts
to quite a few GIS people.

Perhaps it might be worth putting a post to one of the GDAL mailing lists
to let them know whenever there's a substantial group of changes grouped
together or a big bugfix?

Also, it might be worth tagging a version number onto some nodes of
the git
history so that people can refer to them more easily (v1.1, 1.2...). It
would be helpful with bug reporting and it also helps people like myself
who are building other open source tools based on your work. :-)

Anyway thanks again and have a great weekend!

Graeme.

On Sat, Feb 7, 2015 at 8:14 PM, Dan Stahlke [email protected]
wrote:

Okay, fixed now. Actually, I'm amazed this didn't show up sooner. I was
mistaken about how GDALReadBlock returns data for edge blocks. This bug
would show up for any raster whose width was not a multiple of the block
size.


Reply to this email directly or view it on GitHub

#7 (comment)
.


Reply to this email directly or view it on GitHub
#7 (comment).

from dans-gdal-scripts.

Related Issues (16)

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.