http://www.flickr.com/photos/48745178@N03/6878466592/in/photostream
It seems like last point of definition is ignored, but rules (attached)
for train station (rightmost on above picture) are explicitly defining
closed curve through four points. Problem is occurring for all my
rulesets that have custom symbols.
Regards,
Jarek.
2012/3/29 Igor Brejc <igor....@gmail.com>:
-------------------------------------
Diagnostics data:
Time (UTC): 03/31/2012 15:21
App. version: 2.0.10
OS version: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR version: 2.0.50727.5448
App. location: E:\Programs\Maperitive2\Maperitive.exe
Current culture:
Current UI culture:
Map position: cent. lon=27°23'56.551", cent. lat=54°4'47.8104", zoom=14.1852
View width: 1304
View height: 577
-------------------------------------
Map sources:
Map decoration
Map highlighting
Web map (OSM Mapnik)
-------------------------------------
Exception:
System.AggregateException: AggregateException_ctor_DefaultMessage --->
System.ObjectDisposedException: Дескриптор SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32
fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions,
Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1
localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, Action`2 body)
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.Isoplete(IRaster
dem, Double elevationInterval)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.GenerateContours(IRaster
dem)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.ExecuteTask(ITaskExecutionContext
context)
at Maperitive.Processing.AsynchronousCommandLogTaskExecutor.WorkerDoWork(Object
sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
---> (Inner Exception #0) System.ObjectDisposedException: Дескриптор
SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)<---
-------------------------------------
User Settings:
app..update.bleeding-edge: False
app..update.obsolete: False
app.first-time: True
app.last-run-version: 2.0.10
app.update.last-check-time: 03/31/2012 18:15:35
app.update.last-version-running: 2.0.10
dem.source: SRTM3
display.ppi: 100
export.ozi.projection: Mercator
gui.history.recentscripts: System.Collections.Generic.List`1[System.String]
gui.layout.command-log.height: 119
gui.layout.main-form.height: 499
gui.layout.main-form.width: 800
gui.layout.main-form.window-state: Maximized
gui.layout.main-form.x: -1072
gui.layout.main-form.y: -273
gui.layout.news.height: 500
gui.layout.news.visible: False
gui.layout.news.width: 400
gui.layout.news.x: 20
gui.layout.news.y: 50
gui.layout.properties.height: 400
gui.layout.properties.visible: False
gui.layout.properties.width: 300
gui.layout.properties.x: 579
gui.layout.properties.y: 89
gui.layout.toolbox.width: 300
map.coastline.mode: Loose
map.decoration.copyright: True
map.decoration.grid: False
map.decoration.logo: N/A
map.decoration.logo.width: 100
map.decoration.scale: True
map.decoration.scale.size: 1.25
map.max-zoom: 19
map.rendering.align-horizontal: Center
map.rendering.align-vertical: Center
map.rendering.angle: 0
map.rendering.border-color: 0
map.rendering.border-opacity: 1
map.rendering.border-style: None
map.rendering.border-width: 10
map.rendering.contour.label: False
map.rendering.curved: False
map.rendering.feature-class: 0
map.rendering.fill-color: 0
map.rendering.fill-hatch: Solid
map.rendering.fill-hatch-color: 0
map.rendering.fill-hatch-opacity: 1
map.rendering.fill-opacity: 1
map.rendering.fill-texture:
Karta.RenderingRules.PropertyTypes.ResourceLocation
map.rendering.font-family: Arial
map.rendering.font-size: 8
map.rendering.font-stretch: 1
map.rendering.font-style: normal
map.rendering.font-weight: normal
map.rendering.icon-image: Karta.RenderingRules.PropertyTypes.ResourceLocation
map.rendering.icon-width: 20
map.rendering.labels.abbreviate: False
map.rendering.lflp.max-allowed-corner-angle: 20
map.rendering.lflp.max-compression: 0.8
map.rendering.lflp.min-buffer-space: 10
map.rendering.line-color: 0
map.rendering.line-end-cap: None
map.rendering.line-hatch: Solid
map.rendering.line-hatch-color: 0
map.rendering.line-hatch-opacity: 1
map.rendering.line-join: Round
map.rendering.line-offset: 0
map.rendering.line-offset-miter-limit: 2
map.rendering.line-offset-sides: Both
map.rendering.line-opacity: 1
map.rendering.line-start-cap: None
map.rendering.line-style: Solid
map.rendering.line-width: 3
map.rendering.map-background-color: -1
map.rendering.map-background-opacity: 1
map.rendering.map-sea-color: 11915472
map.rendering.map-sea-opacity: 1
map.rendering.max-zoom: 30
map.rendering.min-zoom: 1
map.rendering.shape: Circle
map.rendering.shape-aspect: 1
map.rendering.shape-def:
map.rendering.shape-mode: Default
map.rendering.shape-orientation: Default
map.rendering.shape-size: 20
map.rendering.shape-spacing: 2
map.rendering.shield-padding-bottom: 3
map.rendering.shield-padding-left: 3
map.rendering.shield-padding-right: 3
map.rendering.shield-padding-top: 3
map.rendering.shield-resize-mode: Default
map.rendering.text: name
map.rendering.text-align-horizontal: Center
map.rendering.text-align-vertical: Center
map.rendering.text-color: 0
map.rendering.text-decoration: none
map.rendering.text-direction: Auto
map.rendering.text-func: N/A
map.rendering.text-halo-color: 16777215
map.rendering.text-halo-opacity: 1
map.rendering.text-halo-width: 10
map.rendering.text-letter-spacing: 0
map.rendering.text-line-spacing: 1
map.rendering.text-max-width: 7
map.rendering.text-offset-horizontal: 0
map.rendering.text-offset-vertical: 0
map.rendering.text-opacity: 1
map.rendering.text-orientation: Default
map.rendering.topmost-layer: False
map.rendering.webmap.zoom-factor-correction: 0
print.paper: Brejc.Cartography.Printing.Paper
scripts.completion-signal.min-duration-sec: 5
user.command-history: System.Collections.Generic.List`1[System.String]
user.command-line-autocompletion: True
user.home-location: Karta.MapPosition
user.last-location: Karta.MapPosition
user.registered-rulesets: System.Collections.Generic.List`1[System.String]
user.use-metric: True
web.proxy.host: localhost
web.proxy.port: 0
web.proxy.use-proxy: False
webmap.download-timeout: 60
webmap.max-loaded-tiles: 200
-------------------------------------
Log:
2012-03-31 18:21:21,531 DEBUG [Main]
Maperitive.Processing.TaskSchedulingContext - New phase: Started
2012-03-31 18:21:22,329 DEBUG [Main]
Maperitive.Processing.TaskSchedulingContext - New phase: GuiBuilt
2012-03-31 18:21:22,333 DEBUG [Main]
Maperitive.Processing.TaskScheduler - Task CheckForUpdates is pending
on schedule AfterAppGuiBuiltSchedule
2012-03-31 18:21:22,344 DEBUG [Main]
Maperitive.Processing.TaskScheduler - Task DeleteTempFilesTask is
pending on schedule AfterAppGuiBuiltSchedule
2012-03-31 18:21:22,347 DEBUG [BackgroundTaskThread 3]
Maperitive.Processing.BackgroundTaskExecutor - Starting task
CheckForUpdates
2012-03-31 18:21:22,352 DEBUG [Main]
Maperitive.Processing.TaskScheduler - Task Running Script is pending
on schedule AfterAppGuiBuiltSchedule
2012-03-31 18:21:22,354 INFO [BackgroundTaskThread 3]
Maperitive.Updating.CheckForUpdatesTask - Checking for updates will be
skipped.
2012-03-31 18:21:22,356 DEBUG [BackgroundTaskThread 3]
Maperitive.Processing.BackgroundTaskExecutor - Finished task
CheckForUpdates
2012-03-31 18:21:22,356 DEBUG [BackgroundTaskThread 4]
Maperitive.Processing.BackgroundTaskExecutor - Starting task
DeleteTempFilesTask
2012-03-31 18:21:22,358 DEBUG [Main]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor - BeginTask
(Running Script)
2012-03-31 18:21:22,368 DEBUG [BackgroundTaskThread 4]
Maperitive.Processing.BackgroundTaskExecutor - Finished task
DeleteTempFilesTask
2012-03-31 18:21:22,510 DEBUG [AyncCmdLogTaskThread 3]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor - Starting
task Running Script
2012-03-31 18:21:22,637 DEBUG [Main]
Maperitive.Processing.BackgroundTaskExecutor - Task 'CheckForUpdates'
finished successfully
2012-03-31 18:21:22,638 DEBUG [Main]
Maperitive.Processing.BackgroundTaskExecutor - Shutting down
BackgroundTaskExecutor for task 'CheckForUpdates'
2012-03-31 18:21:22,918 DEBUG [Main]
Maperitive.Processing.BackgroundTaskExecutor - Task
'DeleteTempFilesTask' finished successfully
2012-03-31 18:21:22,918 DEBUG [Main]
Maperitive.Processing.BackgroundTaskExecutor - Shutting down
BackgroundTaskExecutor for task 'DeleteTempFilesTask'
2012-03-31 18:21:23,283 WARN [AyncCmdLogTaskThread 3]
Maperitive.Services.PersistedUserSettings - User setting
'map.rendering.shape-def' value read from the store was incompatible
and was removed. Reason: Empty shape definition (line=1, col=1)
2012-03-31 18:21:23,591 INFO [Main]
Karta.DataSources.WebMaps.WebMapTilesManager - Creating 2 worker
threads
2012-03-31 18:21:23,598 INFO [Web Tiles Fetcher 6]
Karta.DataSources.WebMaps.WebMapTilesManager - FetchQueuedTiles worker
thread started
2012-03-31 18:21:23,599 INFO [Web Tiles Fetcher 7]
Karta.DataSources.WebMaps.WebMapTilesManager - FetchQueuedTiles worker
thread started
2012-03-31 18:21:23,714 DEBUG [Main]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor -
WorkerRunWorkerCompleted (task='Running Script', ShouldAbort=False,
e.Cancelled=False, e.Error=)
2012-03-31 18:21:36,814 INFO [Main]
Maperitive.Scripting.ScriptExecutor - Executing command
'generate-contours'
2012-03-31 18:21:36,913 DEBUG [Main]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor - BeginTask
(Generating Relief Contours)
2012-03-31 18:21:37,024 DEBUG [AyncCmdLogTaskThread 3]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor - Starting
task Generating Relief Contours
2012-03-31 18:21:37,157 INFO [AyncCmdLogTaskThread 3]
Brejc.DemLibrary.Srtm.SrtmSourceBase - Loaded DEM data (120 x 33), min
elevation=224, max elevation=281, contains voids=False
2012-03-31 18:21:37,238 INFO [8]
Brejc.Common.Tasks.NullTaskExecutionContext - Analyzing elevation 220
2012-03-31 18:21:37,246 INFO [9]
Brejc.Common.Tasks.NullTaskExecutionContext - Analyzing elevation 260
2012-03-31 18:21:37,283 DEBUG [Main]
Maperitive.Processing.AsynchronousCommandLogTaskExecutor -
WorkerRunWorkerCompleted (task='Generating Relief Contours',
ShouldAbort=False, e.Cancelled=False,
e.Error=System.AggregateException:
AggregateException_ctor_DefaultMessage --->
System.ObjectDisposedException: Дескриптор SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32
fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions,
Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1
localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, Action`2 body)
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.Isoplete(IRaster
dem, Double elevationInterval)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.GenerateContours(IRaster
dem)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.ExecuteTask(ITaskExecutionContext
context)
at Maperitive.Processing.AsynchronousCommandLogTaskExecutor.WorkerDoWork(Object
sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
---> (Inner Exception #0) System.ObjectDisposedException: Дескриптор
SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)<---
)
2012-03-31 18:21:37,392 ERROR [Main] Maperitive.ErrorReporter - Error
System.AggregateException: AggregateException_ctor_DefaultMessage --->
System.ObjectDisposedException: Дескриптор SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32
fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions,
Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1
localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, Action`2 body)
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.Isoplete(IRaster
dem, Double elevationInterval)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.GenerateContours(IRaster
dem)
at Maperitive.Processing.Tasks.GenerateReliefContoursTask.ExecuteTask(ITaskExecutionContext
context)
at Maperitive.Processing.AsynchronousCommandLogTaskExecutor.WorkerDoWork(Object
sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
---> (Inner Exception #0) System.ObjectDisposedException: Дескриптор
SafeHandle был закрыт
at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle
waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity,
Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at Maperitive.Processing.BackgroundTaskExecutor.get_ShouldAbort()
at Maperitive.Processing.DispatchingTaskExecutionContext.get_ShouldAbort()
at Brejc.DemLibrary.Isopleting.Igor5IsopletingAlgorithm.<>c__DisplayClass1.<Isoplete>b__0(Int32
i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass3.<ExecuteSelfReplicating>b__2(Object
)<---