[OSM-talk] buildings

Artem Pavlenko artem at mapnik.org
Wed Jul 25 12:01:29 BST 2007


On 25 Jul 2007, at 11:36, Cameron Patrick wrote:

> Dave Stubbs wrote:
>
>>> Nah, that should be easy to fix by editing the Mapnik XML.  It's not
>>> that scary, honest!
>>
>> Hey! Who was scared?! :-)
>
> Hehe. I was when I first started poking it :-)
>
>> It may not be scary, but it is completely undocumented. Unless there
>> is some hidden documentation somewhere.
>
> That's true, as far as I can tell.

Yes, it is:) . You can always ask about mapnik styling here (if it's  
OSM related) or mapnik-user.
I'll be happy to help. Editing osm.xml is no more scary then  
osmarender rules!

As I mentioned at the SOTM, in the long run 'Mapnik Illustrator' is  
something that would facilitate custom maps/styles creation and will  
lower entry barrier significantly. This can be a fun project, anyone  
likes qt4 coding?

>
>> So how would you fix the XML? Botch the SQL, or is there some weird
>> and wonderful symbolizer incantation?
>
> The railway field is already being put into the database and pulled  
> out
> again by mapnik.  It should be a matter of adding a symbolizer
> incantation - I'd probably copy/paste/adapt from the one for school  
> and
> change the colouring.  (These are in the <Style name="leisure"> block
> for no good reason that I can see!)
>
> Cameron (Disclaimer: I only started fiddling with Mapnik last night  
> so I
> may be leading you up the garden path here!)


re: buildings

We have these building in db:

         building          | count
---------------------------+-------
                            |     0
Terminal 1                |     1
unbekannt                 |     1
monument                  |     1
tiny_barn                 |     1
8 garages                 |     1
Fire_station              |     1
aspestos hut              |     1
main_viewing_box          |     1
fire_station              |     1
government                |     1
greenhouse                |     1
small anglian water thing |     1
sewage_works_building     |     1
cow_shed                  |     1
BMW FIZ Parkhaus          |     1
library                   |     1
FIZ 11.5                  |     1
toilets                   |     1
public                    |     1
cottage                   |     1
shopping_mall             |     1
pub/resteraunt            |     1
FIZ 10.0                  |     1
offices                   |     1
Trib<C3><BC>ne                   |     1
wooden_building           |     1
restaraunt                |     1
                            |     1
utility                   |     1
primary_school            |     1
detatched                 |     1
place_of_worship          |     1
bus_shelter               |     1
Central                   |     1
Wooden Tower              |     1
Kantine?                  |     1
o2 (Germany) - Campus B   |     1
geb<C3><A4>ude                   |     1
post_office               |     1
research_facility         |     1
Terminal 2                |     1
cattleshed                |     1
village hall              |     1
cafe                      |     1
brick trof                |     1
gallery                   |     1
disrepair                 |     1
werehouse                 |     1
MAC                       |     1
laboratory                |     1
Sporthalle                |     1
concert_hall              |     1
co-op                     |     1
o2 (Germany) - Uptown     |     1
club_house                |     1
Rathaus                   |     1
Hauptbahnhof M<C3><BC>nchen      |     1
train_station             |     1
nursery                   |     1
railway_station           |     1
FIZ 14.0                  |     1
arch                      |     1
possibly\                 |     1
FIZ 12.0                  |     1
theatre                   |     1
terrace                   |     1
dom                       |     1
FIZ 12.5                  |     1
FIZ 10.5                  |     1
train?station             |     1
city_hall                 |     1
trough                    |     1
chicken_barn              |     1
Hotel                     |     1
pagoda                    |     1
o2 (Germany) - Downtown   |     1
Rudi-Sedlmayr-Halle       |     1
Tower                     |     1
o2 (Germany) - Campus E   |     1
Zielturm                  |     1
FIZ 13.0                  |     1
clubhouse                 |     1
iron fram barn            |     1
water_tower               |     1
FIZ 13.5                  |     1
unknown                   |     1
decking                   |     1
parliament                |     1
FIZ 11.0                  |     1
bungalow                  |     1
terminal                  |     1
o2 (Germany) - Campus D   |     1
Terminal F                |     1
leisure_centre            |     1
stable                    |     2
hotel                     |     2
leisure                   |     2
barn/cattlesheds          |     2
team_garages              |     2
silow                     |     2
4 garages                 |     2
abandoned                 |     2
chicken_barns             |     2
shopping_center           |     2
kennels                   |     2
grain_towers              |     2
townhall                  |     2
skyscraper                |     2
supermarket               |     2
museum                    |     2
wearhouse                 |     3
gas_store                 |     3
shop                      |     3
hut                       |     3
Barns                     |     3
Tennis                    |     3
Barn/cattlesheds          |     3
cathedral                 |     3
flats                     |     3
Terminal                  |     3
Bootshallen               |     3
pavillion                 |     3
cattle_shed               |     3
communication_tower       |     3
village_hall              |     4
palace                    |     4
true                      |     4
castle                    |     5
station                   |     5
school                    |     5
hospital                  |     6
retail                    |     6
hangar                    |     6
church                    |     6
conference_centre         |     7
parking                   |     7
apartments                |     8
university                |     8
pub                       |     8
Barn                      |     8
hall                      |     9
stadium                   |     9
tanks                     |    11
stables                   |    11
office                    |    13
tower                     |    13
shed                      |    14
industrial                |    14
garage                    |    17
house                     |    17
glasshouse                |    19
garages                   |    23
detached                  |    25
store                     |    30
block                     |    47
barn                      |    69
warehouse                 |    75
yes                       |   263


Shall we render all of them with the same stroke/fill ?

Artem


> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070725/0effe1c5/attachment.html>


More information about the talk mailing list