Closed iosefa closed 3 years ago
@iosefa Okay, I will fix that. Thanks for your report.
@iosefa, @dkastl
Well, this issue's cause seems to be in redmine_gtt
side, because:
mapfish-print_1 | 17-Mar-2021 13:11:32.094 SEVERE [ForkJoinPool-1-worker-145] org.geotools.renderer.lite.StreamingRenderer.fireErrorEvent null
mapfish-print_1 | java.lang.NullPointerException
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.getDeclaredSRS(StreamingRenderer.java:2498)
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.reprojectSpatialFilters(StreamingRenderer.java:2487)
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.createLiteFeatureTypeStyles(StreamingRenderer.java:2041)
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2214)
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:900)
mapfish-print_1 | at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:623)
mapfish-print_1 | at org.mapfish.print.map.geotools.AbstractGeotoolsLayer.render(AbstractGeotoolsLayer.java:128)
mapfish-print_1 | at org.mapfish.print.processor.map.CreateMapProcessor.createLayerGraphics(CreateMapProcessor.java:448)
mapfish-print_1 | at org.mapfish.print.processor.map.CreateMapProcessor.execute(CreateMapProcessor.java:239)
mapfish-print_1 | at org.mapfish.print.processor.map.CreateMapProcessor.execute(CreateMapProcessor.java:100)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorGraphNode$ProcessorNodeForkJoinTask.lambda$compute$0(ProcessorGraphNode.java:203)
mapfish-print_1 | at org.mapfish.print.processor.AbstractProcessor$Context.mdcContext(AbstractProcessor.java:240)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorGraphNode$ProcessorNodeForkJoinTask.compute(ProcessorGraphNode.java:188)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorDependencyGraph.tryExecuteNodes(ProcessorDependencyGraph.java:58)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorGraphNode$ProcessorNodeForkJoinTask.lambda$compute$0(ProcessorGraphNode.java:225)
mapfish-print_1 | at org.mapfish.print.processor.AbstractProcessor$Context.mdcContext(AbstractProcessor.java:240)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorGraphNode$ProcessorNodeForkJoinTask.compute(ProcessorGraphNode.java:188)
mapfish-print_1 | at org.mapfish.print.processor.ProcessorGraphNode$ProcessorNodeForkJoinTask.compute(ProcessorGraphNode.java:176)
mapfish-print_1 | at java.base/java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
mapfish-print_1 | at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
mapfish-print_1 | at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
mapfish-print_1 | at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
mapfish-print_1 | at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
mapfish-print_1 | at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
crs
property in the geometry.
"geometry": {
"type": "Point",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3857"
}
},
"coordinates": [
xxxxxxx,
xxxxxxx
]
},
ST_AsGeoJSON
last argument's default value seems to be changed to include crs
.
text ST_AsGeoJSON(geometry geom, integer maxdecimaldigits=9, integer options=8);
8: GeoJSON Short CRS if not EPSG:4326 (default)
text ST_AsGeoJSON(geometry geom, integer maxdecimaldigits=15, integer options=0);
0: means no option (default value)
Currently, the function is inside redmine_gtt
plugin, so I will fix redmine_gtt
side.
Problem The POI icon (marker) of an issue is not included in the printed map.
To Reproduce Print an issue.
Expectation The map should include the POI icon (marker)
Screenshots The issue has a marker:
However, the printed issue does not:
Platform/smartphone: