-
Notifications
You must be signed in to change notification settings - Fork 122
Brest advertising board - update self.def_class_ #2508
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
base: dev
Are you sure you want to change the base?
Conversation
So existing advertising=board can have suggestions for extra (more accurate) tags.
analyser_merge_advertising_board_FR_Brest-france_bretagne_finistere.json Current output (renamed from .gejson). |
This change will only detect exiting objet with |
Yeah I think I misunderstand something :) It looks like some data is missing, and I was trying to figure out what's going on. {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-4.478451799999998,
48.39436560000001
]
},
"properties": {
"class": 4,
"subclass": "1412293571633414781",
"text": {},
"ids": [
9481372247,
"N",
"POINT(-4.478451799999998 48.39436560000001)",
{
"access": "yes",
"source": "data.gouv.fr:Brest M\u00e9tropole - 2025-05",
"message": "opinions;non_profit;showbiz",
"animated": "no",
"man_made": "advertising",
"advertising": "board",
"land_property": "public"
},
{
"advertising": "board"
},
{
"URL": "https://www.google.com/maps?z=14&t=m&q=48.39438001322516,-4.478323283281108&layer=c&cbll=48.39438001322516,-4.478323283281108&cbp=11,0,0,0,0",
"DEPCO": "29019",
"NUMERO": "19",
"HAUTEUR": "0.00",
"LARGEUR": "0.00",
"OLD_NUM": "0",
"SURFACE": "0.0",
"X_COORD": "147239",
"Y_COORD": "6836649",
"ogc_fid": "140",
"QUARTIER": "Centre Ville",
"ID_PANNEAU": "29019_1613",
"LOCALISATI": "Angle Y Collet-rue Saint Martin"
}
],
"types": [
"node",
null
],
"fix": {
"+": {
"access": "yes",
"source": "data.gouv.fr:Brest M\u00e9tropole - 2025-05",
"message": "opinions;non_profit;showbiz",
"animated": "no",
"man_made": "advertising",
"land_property": "public"
},
"~": {},
"-": []
}
}
}, While it doesn't seem to show up on the map or osmose UI. In other words osmose only seem to show the addition of new nodes, but not updating existing ones. |
Use this 3 output https://github.com/osm-fr/osmose-backend/blob/dev/analysers/analyser_merge_post_box_FR.py#L30-L35 def_class_update_official is a special case you do not need. |
Thanks, I tried once more, but I feel like I'm getting more confused :) |
Sorry, The issue is with |
Thanks, there is unfortunately something else wrong. If we take the node in that comment : #2508 (comment) It is also present in the OpenData. I've set the below static1 in my code, so the static1={"advertising": "board",
"access": "yes"}, Which seems to work in the OSMOSE generated .geojson :
But it doesn't show that suggestion in OSMOSE's UI. |
To obtain the existing objects change suggestions, and not only the new objects suggestions