Grasshopper

algorithmic modeling for Rhino

Hi Timothy,

Thanks for this fantastic component.

I'm confused about the lat long domains for the SRTM topo component.

  • It appears that if try to use the full limits of the domain (0.00 to 1.00), then the component breaks.
  • If I use (0.000 to 0.999) I get a single row of points.
  • If I use (0.0 to 0.990) I get more several rows of points.
  • If I use (0.05 to 0.990) I get all the rows of points.

Screenshots with point counts below, using an SRTM3 hgt file:

Views: 717

Replies to This Discussion

Yeah I discovered this just last week.  All of what I had tried before happened to be in the internal part of a file and I guess I just never reached the boundaries.  I'll have to double check the code but I think what's happening, at least on the 1.0 side is that I was just stripping the part before the decimal out, which gives a 0 and implies the beginning of the file.  I thought I had gotten it to work when I started with 0 (like going from 0 - 0.25), but I'll have to double check what's going on since it's apparently not working.  It's definitely on my list of things to fix before the next release.

If it's at all helpful, you inspired me to write an hgt file reader in python, because I wanted more control over the results. You can see it here: https://github.com/bengolder/hgt_reader

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service