-
Notifications
You must be signed in to change notification settings - Fork 5
Description
-
FeatureUtils::isEmpty()- I assume this should be== nullptr, not!= nullptr(or could doFeaturesBase::isEmpty() { return begin() == end(); }andFeaturesBase::bool() { return !isEmpty(); }and get rid ofFeatureUtils::isEmpty()since I don't see any other uses?) -
bool(TagValue)returns false if tag value is "no" ... but for some tags such asaccess=no, the absence of the tag and anovalue have opposite meanings. Maybe restrictbool()to existence testing only (or add a separateTagValue::exists()method)? -
double(TagValue)appears to give undefined result ifparseDoublefails sincevalis 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.