Improve fences and walls rendering #2063
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#2063
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment fences, walls, hedges etc. are rendered as a very thin dotted line which is barely visible on the map, though its an important information for pedestrians and hikers.
Let's make rendering more prominent and perhaps different for walls and fences (and maybe hedges too).
Samples:
fence https://www.openstreetmap.org/way/631353746
city_wall https://www.openstreetmap.org/way/129425886
Discussed in https://github.com/organicmaps/organicmaps/discussions/2046
The current rendering rules:
71de1db197/data/styles/clear/include/Basemap.mapcss (L670-L700)
@biodranik @rtsisyk
I want to solve this issue. can you please give a hint on where to start looking at this code? as I am new to development, I have successfully done the local setup.
thanks in advance.
Check drape rendering engine.
@aeshaganatra please see my comment above with a link to rendering rules.
Here is documentation on details how to change and test it.
If you have any questions - feel free to ask!
@biodranik @pastk
I'm trying to change above mention files. but while running the script "tools/unix/generate_drules.sh", I have encountered this error. This should not happen, because in mapCss StyleChooser is present. Have you ever occurred with this issue?
rm: cannot remove 'tools/unix/../../data/classificator.txt': No such file or directory
rm: cannot remove 'tools/unix/../../data/types.txt': No such file or directory
rm: cannot remove 'tools/unix/../../data/visibility.txt': No such file or directory
rm: cannot remove 'tools/unix/../../data/colors.txt': No such file or directory
rm: cannot remove 'tools/unix/../../data/patterns.txt': No such file or directory
Building drawing rules for style clear/clear
rm: cannot remove 'tools/unix/../../data/drules_proto_clear.bin': No such file or directory
rm: cannot remove 'tools/unix/../../data/drules_proto_clear.txt': No such file or directory
Traceback (most recent call last):
File "tools/unix/../../tools/kothic/src/libkomwm.py", line 1, in
from mapcss import MapCSS
File "/home/aesha/devlopment/organicmaps/tools/kothic/src/mapcss/init.py", line 21, in
from StyleChooser import StyleChooser
ModuleNotFoundError: No module named 'StyleChooser'
Looks like a python issue
Make sure you've cloned the submodules, you can do this if you've already cloned the repo by running
git submodule update --init
On the topic of fence rendering, organicmaps/organicmaps#2275 should also be considered, although it's much more complex
@endim8 which python version you're using?
I'm using 3.6.0.
I tried
but still not working for me.
@pastk we need to finish kothic's migration to python3.
Unfortunately scripts in
organicmaps/tools/kothic/*
require python 2.x still.Do you have an opportunity to install python 2 alongside 3?