Skip to content

Issues related to geodesk-tiles #7

@pbsurf

Description

@pbsurf
  • FeatureUtils::isEmpty() - I assume this should be == nullptr, not != nullptr (or could do FeaturesBase::isEmpty() { return begin() == end(); } and FeaturesBase::bool() { return !isEmpty(); } and get rid of FeatureUtils::isEmpty() since I don't see any other uses?)

  • bool(TagValue) returns false if tag value is "no" ... but for some tags such as access=no, the absence of the tag and a no value have opposite meanings. Maybe restrict bool() to existence testing only (or add a separate TagValue::exists() method)?

  • double(TagValue) appears to give undefined result if parseDouble fails since val is not initialized. Maybe init to 0?

Issue with multiple threads:

There is a note in Query::requestTiles() that multiple consumer threads aren't supported. I just ran into this problem but it's not clear to me what is going wrong. I see both consumer threads stuck in Query::take() with pendingTiles_ > 0 and completedTiles_ == 0 but the ThreadPool<TileQueryTask> queue is empty. I'll try tomorrow with thread sanitizer.

Misc:

  • Observed gol increase from 280MB to 1GB when accessing w/ libgeodesk ... not sure how this is possible since file is opened read-only. File returns to original size after running gol info.
  • geodesk tool issue: building XXX.gol fails with confusing error if XXX-work/ folder remains from aborted run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions