Commit graph

590 commits

Author SHA1 Message Date
Andrew Shadura
a2bc380ac0 Don't fail badly if no stylesheet is specified. 2013-02-07 17:50:50 +01:00
Darafei Praliaskouski
d70844f33e Merge pull request #6 from M4rtinK/master
store nodes in sqlite to improve memmory usage
2013-01-02 09:51:08 -08:00
Darafei Praliaskouski
5b98a1cca4 Merge pull request #7 from shurshur/master
Fix hardcoded table name
2013-01-02 09:49:49 -08:00
Alexandr Zeinalov
af284c657c Fix hardcoded table name 2013-01-01 23:01:56 +04:00
Darafei Praliaskouski
57ed478471 more lightweight stylesheet 2012-11-10 22:57:08 +03:00
Darafei Praliaskouski
b7c3d71f7e fixed roads table usage 2012-11-10 22:56:44 +03:00
Darafei Praliaskouski
c5144678cf deleted wrong geom pointer 2012-11-06 17:29:37 +03:00
Darafei Praliaskouski
65036aa8f7 distance to bbox, not to feature 2012-11-06 17:25:53 +03:00
Darafei Praliaskouski
acc89e2f34 support for guessing names from other objects 2012-11-06 17:17:28 +03:00
Darafei Praliaskouski
0539e25afe mapink style update 2012-10-30 12:09:30 +03:00
Darafei Praliaskouski
0cfae72a4a supprot for text in hstore 2012-10-30 11:54:39 +03:00
Martin Kolman
f469a0fe2a use sqlite to store node lookup table
While parsing the OSM XML file, we first need to index all the nodes, so that when parsing the ways we can assign geographic coordinates to all points that comprise a way. As there might be millions of nodes, they can often not be all stored in memory - so we use sqlite database with an index built on the id column for fast node lookup. Like this, it should be possible to parse very big OSM data files with acceptable memory usage.

 During my testing on the Czech Republic OSM data file, I got from 9.7 GB with the old in-memory node dictionary down to about 3.5 GB (which is strange in itself - it should still be much less).
2012-10-16 22:18:12 +02:00
Martin Kolman
eee4d66756 Update README
whitespace clenup
2012-10-16 14:07:30 +03:00
Martin Kolman
a1e958b4c8 Update README
handle osm2tiles.py that is not executable

After cloning from git, the osm2tiles.py file is not executable so running it with just "./osm2tiles.py" would fail. Using "python osm2tiles.py" should work, even if the file itself is not executable.
2012-10-16 14:06:39 +03:00
Darafei Praliaskouski
e0c3d8dee1 roads usage on main strokes 2012-09-07 15:38:00 +03:00
Darafei Praliaskouski
6e57857594 planet_osm_roads may be used on any zoom 2012-09-07 14:42:37 +03:00
Darafei Praliaskouski
09bb4f5eed generate nicer SQL 2012-09-07 14:21:10 +03:00
Darafei Praliaskouski
67f41d2b57 area-based poly filtering on lowzoom 2012-09-06 17:38:59 +03:00
Darafei Praliaskouski
87df751d53 mapcss stylesheet 2012-07-25 14:08:30 +03:00
Darafei Praliaskouski
a4c5b30262 do simplifications only on lowzoom 2012-07-25 12:51:15 +03:00
Darafei Praliaskouski
e41fbf2f6e mapnik2 compatibility, #3 2012-07-25 11:49:27 +03:00
Darafei Praliaskouski
fa77f5d8ba mapnik2 compatibility in hardcoded arrows, #3 2012-07-25 11:43:40 +03:00
Darafei Praliaskouski
07e2b4f064 workarounding bug for now 2012-07-25 11:36:35 +03:00
Darafei Praliaskouski
acca8a9210 larger sigma 2012-07-22 22:10:42 +03:00
Darafei Praliaskouski
4ff3b54fa0 final mapnik2 migration, closes #3 2012-07-22 21:39:18 +03:00
Darafei Praliaskouski
cb0f1c0ad8 further mapnik2 compat; #3 2012-07-22 21:32:58 +03:00
Darafei Praliaskouski
9db682fc1f conversion to mapnik2; #3 2012-07-22 21:25:36 +03:00
Darafei Praliaskouski
9a5ad91ea9 snap to sigle-pixel grid 2012-07-22 21:21:52 +03:00
Darafei Praliaskouski
be291ca948 two-staired query for faster execution 2012-07-22 21:15:41 +03:00
Darafei Praliaskouski
1af8acebbc make sql actually work 2012-07-22 21:10:08 +03:00
Darafei Praliaskouski
89cd2a3df9 bug fix 2012-07-22 20:53:12 +03:00
Darafei Praliaskouski
91694e1e5e merge dashed lines to get better dash overlaps 2012-07-22 20:48:31 +03:00
Darafei Praliaskouski
9629531dd5 suport for mesh resize 2012-07-21 00:12:12 +03:00
Darafei Praliaskouski
80dce2673b mapink mapcss z0-8 2012-07-20 23:26:09 +03:00
Darafei Praliaskouski
1845bb759f syntax error when optimizing query 2012-07-20 02:48:02 +03:00
Darafei Praliaskouski
b0bc1823c5 performance issue on highzoom 2012-07-20 02:37:22 +03:00
Darafei Praliaskouski
4393cc513d as way 2012-07-20 00:19:18 +03:00
Darafei Praliaskouski
ac825fb4cf geometry simplification for nice overdetailed lines rendering 2012-07-20 00:14:21 +03:00
Darafei Praliaskouski
7460469d9c support for hstore polygons 2012-07-15 02:53:48 +03:00
Darafei Praliaskouski
c16be61d0d disabled coloring due to massive mapnik2.0.2 rendering issues 2012-07-15 02:45:44 +03:00
Darafei Praliaskouski
6b639f4b7d support foe scaling text (closes #2) 2012-07-13 12:06:41 +03:00
Darafei Praliaskouski
c217264c40 add smooth only if it's set in stylesheet (max) 2012-07-13 09:59:51 +03:00
Darafei Praliaskouski
da4f20fc08 fixed coastlines 2012-07-06 13:41:38 +03:00
Darafei Praliaskouski
6d29495ff0 more relaxedFloat's to fail less 2012-07-05 22:38:29 +03:00
Darafei Praliaskouski
564c5aeeae smoothing - smooth mapcss parameter 2012-07-05 22:09:09 +03:00
Darafei Praliaskouski
39edd5be4e typo fix 2012-07-05 21:56:12 +03:00
Darafei Praliaskouski
7b50d261a5 polygon smoothing 2012-07-05 21:52:03 +03:00
Komzpa
a6161f46d9 area fountains 2012-06-05 23:29:49 +03:00
Komzpa
2f2ae3fadb merge labels on more layers 2012-06-05 23:15:25 +03:00
Komzpa
34438990c6 double escaping fix 2012-06-05 23:02:34 +03:00