mapbox / tilelive-mapnik

mapnik renderer backend for tilelive
BSD 3-Clause "New" or "Revised" License
82 stars 64 forks source link

move to map.fromStringSync() #21

Closed springmeyer closed 12 years ago

springmeyer commented 12 years ago

It appears that the async loading of a map from a string is prompting: https://github.com/mapnik/mapnik/issues/951#issuecomment-2754673

Moving to sync fixes the issue.

I also had to do this to be able to load the BIL format rasters for the FOSS4G shootout - so this is the second case I have encountered were race conditions (in mapnik) can occur do the the async method.

Assigning to myself to research further.

springmeyer commented 12 years ago

closing, this was a race condition fixed on the mapnik side with another mutex lock.