-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotation makes hangup mapfishprint #7780
Comments
I précise that the geometry is good (from FME full Geometry Validator test suite). {
"features": [{
"type": "FeatureCollection",
"properties": {
"id": "1ebe3fa0-721f-11ec-beea-375c22d96e8a",
"title": "Let's hang up mapfishprint",
"visibility": true
},
"features": [{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [[[-1.6892571818815272, 48.106278017539005], [-1.6892063645978586, 48.10630953910334], [-1.6892019925372947, 48.10643901002401], [-1.6894509465367127, 48.10644108324848], [-1.6895030310843133, 48.10629506880371], [-1.689439667887719, 48.10628364488008]]]
},
"properties": {
"id": "1fd7ed00-721f-11ec-beea-375c22d96e8a",
"isValidFeature": true,
"canEdit": false
},
"style": [{
"color": "#d0021b",
"opacity": 1,
"weight": 4,
"fillColor": "#ffffff",
"fillOpacity": 0,
"editing": {
"fill": 1
},
"highlight": false,
"id": "1fd44380-721f-11ec-beea-375c22d96e8a"
}
]
}
],
"style": {}
}
],
"type": "ms2-annotations"
} |
Hello @tdipisa Here another annotations print problem. |
I can reproduced on the up-to-date https://georchestra.geo-solutions.it/ For me it is clearly GeoTools that dislike theses geometries made with the annotations plugins. We have many of users that are in that case. |
at first, drawing simple polygons i couldn't reproduce the issue on https://georchestra.geo-solutions.it/mapstore/#/, but importing the annotations.json export from @MaelREBOUX 's comment yes it also fails to validate here with the same error message. To me the traceback shows that geotools fails to validate the geometry (that was created directly in ms2 annotation tools, from my understanding) |
@tdipisa : live-debugging with @MaelREBOUX we've found how to make it generate a geometry that fails to print:
|
It does not affect the lines. Only polygons. MapStore2-geOrchestra | :2022.01.xx(9c08c926) |
OK précision : it happens only if you delete a vertex o_O Nothing happens if you move a vertex. |
Hello @tdipisa no investiguation yet ? |
Hi @MaelREBOUX we haven't had a chance to investigate it yet. |
Problem is still present on these versions :
|
Closing this issue in favour of #9319 |
Description
When trying to print an annotation, we get a Java error from (we guess) Mapfisprint.
How to reproduce
Annotations.zip
Expected Result
a PDF with the annotation
Current Result
Error while printing
Other useful information
Not browser related
MapStore geOrchestra 1.2.x
MapStore 2021.02.xx (c87f5fa)
The text was updated successfully, but these errors were encountered: