mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-10 15:46:51 +02:00
Added .gitignore.
This commit is contained in:
parent
64aa1432ee
commit
f54a5781c9
3 changed files with 23 additions and 3 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1 +1,2 @@
|
|||
*.md -diff
|
||||
*.svg -diff
|
||||
|
|
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Input files
|
||||
|
||||
*.bz2
|
||||
*.osm
|
||||
*.xml
|
||||
|
||||
# Temporary files
|
||||
|
||||
*.swp
|
||||
|
||||
# Generated files
|
||||
|
||||
*.png
|
||||
*.pyc
|
||||
*.svg
|
||||
|
||||
# Test scheme files
|
||||
|
||||
*.tm2
|
|
@ -582,7 +582,7 @@ def draw_nodes(show_missed_tags=False, overlap=14):
|
|||
if overlap != 0:
|
||||
for shape in shapes:
|
||||
has_space = True
|
||||
for p in points:
|
||||
for p in points[-1000:]:
|
||||
if x + xxx - overlap <= p.x <= x + xxx + overlap and \
|
||||
y - overlap <= p.y <= y + overlap:
|
||||
has_space = False
|
||||
|
@ -608,10 +608,10 @@ icons = extract_icon.IconExtractor('icons.svg')
|
|||
#sys.exit(0)
|
||||
|
||||
#draw_ways()
|
||||
draw_nodes(show_missed_tags=True, overlap=12)
|
||||
#draw_nodes(show_missed_tags=True, overlap=12)
|
||||
|
||||
#draw_ways()
|
||||
#draw_nodes()
|
||||
draw_nodes()
|
||||
|
||||
if flinger.space.x == 0:
|
||||
output_file.rect(0, 0, w, flinger.space.y, color='FFFFFF')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue