Wikitravel talk:How to create a map
Custom layers on OpenStreetMap
Greetings from State of the Map 2008 in Limerick. It turns out that adding your own layers as overlays on OSM data is surprisingly easy, allowing you to create stuff like this:
Note that the icons are even clickable. I'll try to roll out a demo with Wikitravel data once I get back home... Jpatokal 05:22, 12 July 2008 (EDT)
What if i dont use Ubuntu?
Merged from Wikitravel talk:How to create a map:
Would there happen to be a windows or dos version of xmlstarlet which someone has found to work? I might install Ubuntu, once i figure out how to swap back and forth easily (with virtual box) ... unfortunately i haven't :( --Acrosscanadatrails 02:36, 19 November 2008 (EST)
Hi, I just basically wanted to point out that a map is helpful, but without a distances bar, not so much. It would be cool if there was an option to have a small
- - - - - - - - - - - - -
or whatever in one of the corners, so people know what to expect. Some maps may seem like they are walking maps, but may be on such a scale that you would need hours instead of minutes to walk from one place to the next. This would be really helpful in my opinion FreakRob 08:07, 20 November 2008 (EST)
Problem with Config.mk and the make command
I'm trying to create a map for the first time and am running into problems. I've downloaded all the software. I've edited Config.mk, changing the destination to Kilkenny, my home town. I've downloaded the data.osm. When I run make, it works, but I get a map of Paris.
I've tried to change the other settings in Config.mk (BORDER, IS_IN) as some refer to Paris, but I keep getting errors:
:~/Kilkenny$ make wget -q -O article.xml http://wikitravel.org/en/Special:Export?pages=Kilkenny xmlstarlet sel -N mw=http://www.mediawiki.org/xml/export-0.3/ -t -v "/mw:mediawiki/mw:page/mw:revision/mw:text" article.xml | xmlstarlet unesc > article.wiki echo '<listings>' > listings.xml sed 's/&/\&/g' < article.wiki >> listings.xml echo '</listings>' >> listings.xml wget -q -O rels.xml "http://openstreetmap.org/api/0.5/relations/search?type=name&value=1er+Arrondissement" xmlstarlet sel -t -m "/osm" -v "relation[tag/@k = 'Is_In' and tag/@v = 'County Kilkenny']/@id" rels.xml > relid wget -q -O relation.xml "http://openstreetmap.org/api/0.5/relation/`cat relid`/full" make: *** [relation.xml] Error 1 make: *** Deleting file `relation.xml'
Can anyone help me?
Pinkfluffybrick 00:14, 25 February 2009 (EST)
################### SETTINGS ###################### # The name of the article in Wikitravel ARTICLE = Kilkenny # The name of the border way in OSM # this is specified in OSM with a name tag BORDER = Kilkenny # The parent place in OSM # this is specifed in OSM with an Is_In tag IS_IN = "County_Kilkenny" # ORIENTATION can be either "landscape" or "portrait" ORIENTATION = landscape # SIZE can be "one-page" or "two-page" SIZE = two-page # Do you want a bell to ring when everything is done? (yes or no) BELL = yes # How should the listings boxes be placed (manual or auto ) LISTINGS_PLACEMENT = auto # If using auto listings placement should expand the map to fit them? # ( yes or no ) EXPAND_FOR_LISTINGS = yes MIN_LISTINGS_BOX_SIZE=65
darcs pull -a
Creating maps without relations
It would be nice if map creation worked without relations... but it doesn't at the moment, so I'm snipping this out. Jpatokal 10:29, 17 March 2009 (EDT)
Since a hard disk crash have robbed me of all the svg source files for the Copenhagen maps, I was trying to take the Linux approach, but the wikievent repository is dead, what gives? any alternative sources for wtp-maps? --Stefan (sertmann) Talk 05:49, 14 September 2009 (EDT)
Swept in from pub:
According to the How to make a Map article (using opensource maps), to make a map that has the attractions pointed out on it, you need to have all attractions in the new listing format. What I'm curious about is: will the software simply not work if there are any attractions not in that format or will it simply skip them? Rastapopulous 20:10, 11 November 2009 (EST)
"stroke-miterlimit: 10" doesn't seem to select anything. " "stroke-miterlimit:10" does seem to work, so I guess that's what it should be? --globe-trotter 11:59, 8 January 2010 (EST)
rv. - map generation appears to be non-functional at this time, and generated maps appear to be copyrighted non-freely. Please discuss on talk. The service runs fine for me. The render queue looks OK as well. Which city did you try? I'll have a go. The license for the rendered images is CC-BY-SA (same as OpenStreetMap). —The preceding comment was added by Ludovico (talk • contribs)