svg-to-geojson icon indicating copy to clipboard operation
svg-to-geojson copied to clipboard

Display values of the Feature object's properties member in the output geojson file: how can I do?

Open drfrangipane opened this issue 4 years ago • 0 comments

Dear contributors, Dear Dave Cranwell, I hope you are doing well and staying safe during these uncertain times.

Thanks for your tool, it works great. However, I would like to display the values of the Feature object's properties member: "id": "fill": but the properties of the objects appears empty. Here the head of the output geojson file: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ 2.281433197792447, 48.87961458157741 ], ... See the zip file: and especially "test3_Paris_Arrdts_C3".geojson and "test3_Paris_Arrdts_C3".html

The file Paris_Arrdts_C1".geojson is the result of what i would like to reach with your tool. { "type": "FeatureCollection", "features": [ { "id": "bafc27b7a7593ac21c4ddfe747a57d71", "type": "Feature", "properties": { "id": "SVG_75116 [SM/10000= 4]", "fill": "#ffe600" }, "geometry": { "coordinates": [ [ [ 2.2795830944743614, 48.888115101002256 ], ...

Could you help me to add modify some lines of code, so that I can get in the output geojson file a file with all the attributes/values of the Feature object and member of properties? For the best, I will be able to display like in the svg file, the text of legend beside the polygones of legend and not inside of the legend polygon as we can see . Thank you very much for your time and help. Best Regards, Anne Quesnel

files here: test3-to-contributors.zip https://www.dropbox.com/sh/d79ixrt4vph0ud8/AAABEds7scm5MjVWnJt0peGXa?dl=0

drfrangipane avatar Sep 15 '20 15:09 drfrangipane