marcelocantos

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Continental boundaries #4320

    marcelocantos
    Participant

    Thank you so much, Nathaniel! It took a while to figure it out, since I had never used the scaleRank data, but I finally nutted it out, and it’s exactly what I wanted.

    in reply to: Interpreting shape parts #4264

    marcelocantos
    Participant

    Thank you for confirming this, Nathaniel. I was amazed at how difficult it is to locate drawing libraries that apply the even-odd rule, but I eventually managed to get OpenGL’s tessellation routines to perform the necessary work, and the result was perfect!

    in reply to: Interpreting shape parts #4262

    marcelocantos
    Participant

    I’ve uploaded an image at http://oi40.tinypic.com/690pk6.jpg. It contains (zero-based) shape 41 from 10m_ocean, which represents parts of the Indian and South Atlantic Oceans around Southern Africa. Africa, which extends outside the zone, is black. However, Madagascar, which should also be black is filled in, since my code simply fills in all the shapes, assuming they all represent tracts of ocean. How do I infer that the parts for Madagascar and the surrounding islands represent tracts of land, not ocean?

    This only just occurred to me now: should I simply draw all the polygons together, with an even-odd rule, or something similar?

Viewing 3 posts - 1 through 3 (of 3 total)