|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
can't get buildmap_osm to work, could use some guidanceI'm running the latest SVN (Jul 18), but this also happens on the
official release. I'm using Ubuntu 9.04 if that makes any difference. I live in the United States, trying to get a map of Staten Island, NY. Here's what I get: ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi -- will process 2 tiles -- -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 ** problem fetching data (pclose: No such file or directory), continuingSegmentation fault After reading a suggestion that my lat/lon might be reversed (it's not), I tried this: ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap -- -74.162,40.607:0.5mi -- will process 2 tiles -- -- processing tileid '1104835593', for file 'qt21/41/da/qt41da7409.rdm' -- command is "./php/osmgetbmap -t 1078941 -b 21 -h 15" osm_bmap_cmd: tileid 1078941, bits 21, have neighbors 15 Cache Hit, Skipped Ways: 0 -- no results to write to qt21/41/da/qt41da7409.rdm The second result is valid, because it's in the middle of the ocean and there shouldn't be any roads (unless OSM has hired a bunch of Atlantis conspiracy theorists). The first result confuses me to no end because if I do a raw API call from firefox, I get a fully valid XML file - something that buildmap_osm should be able to understand, but it just segfaults. Now, trying to buildmap_osm -i -m on the XML I previously got from firefox, I get this: /buildmap_osm -i ~/Desktop/map.osm -m ~/.roadmap/maps ## Invalid file name "~/Desktop/map.osm" should be ISO or USC shape It does not matter if I rename the map.osm to an ISO standard name, buildmap_osm simply spits out that error message - I just don't feel like showing you the same example with the same output, only using a renamed file. Again, I get the same errors on both the official release and on SVN. Any help at all would be appriciated. Jason ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidanceOn Sat, 2009-07-18 at 12:11 -0400, Jason Pullara wrote:
> I'm running the latest SVN (Jul 18), but this also happens on the > official release. I'm using Ubuntu 9.04 if that makes any difference. I > live in the United States, trying to get a map of Staten Island, NY. > Here's what I get: > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > -- will process 2 tiles > -- > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > ** problem fetching data (pclose: No such file or directory), > continuingSegmentation fault Not sure what's causing this, but I never got that stuff to work well for me. May be due to OSM server timeouts, but this is just a wild guess. What does work for me is this : - get your XML file from OSM. I did it for an area I selected manually, and called the file jason.osm - then name it appropriately for buildmap_osm : ln -s jason.osm iso-us-sis.osm the "sis" is my abbreviation for staten island - create a file named "iso-division-us" with one line : 1 sis - run the command below, takes less than a minute : pavilion: {53} ../buildmap_osm -m . -i iso-us-sis.osm -o iso-us-sis.rdm -- Pass 1 : 312497 lines read (0 seconds) At line 65536, 20 % At line 131072, 41 %, 0 seconds At line 196608, 62 %, 1 seconds At line 262144, 83 %, 3 seconds -- Pass 2 : 312497 lines read (12 seconds) -- loading shape info (from 19090 ways) ... -- generating squares... -- sorting squares... -- sorting points... -- counting crossings... -- sorting lines... -- Shape info processed (0 seconds) -- Splits 13118, ways split 3240, not split 3074 -- sorting streets... -- sorting shapes... -- writing results to iso-us-sis.rdm -- saving dictionary... -- saving 5 attributes... -- saving 43479 points... -- saving 26091 lines... -- Line By Point : 43377 points, 52065 lines -- saving 3888 streets... -- building the street search accelerator... -- saving 0 ranges... -- saving polygons... -- saving 192 squares... -- saving 21507 shapes... pavilion: {54} I can send you the resulting file via private mail if you like. lrwxrwxrwx 1 danny danny 9 2009-07-19 12:34 iso-us-sis.osm -> jason.osm -rw-rw-r-- 1 danny danny 1438156 2009-07-19 12:35 iso-us-sis.rdm -rw-r--r-- 1 danny danny 19412258 2009-07-19 12:26 jason.osm The next step is to run buildus : pavilion: {61} ../buildus -v -m . -- usstates.txt: size = 1 Kbytes -- app_a02.txt: size = 96 Kbytes -- app_a02.txt, line 3268: Processing maps from . -- iso-us-sis.rdm: Country us division sis fips 1840001 -- iso-us-sis.rdm: scanning the county file... -- iso-us-sis.rdm: County 1840001 geometry n 40917577 s 39969296 w -74629883 e -73743236 -- iso-it-nap.rdm: Country it division nap fips 1380001 -- iso-it-nap.rdm: scanning the county file... -- iso-it-nap.rdm: County 1380001 geometry n 41300607 s 40592356 w 13614672 e 14615614 -- iso-it.rdm: Country it fips 1380000 -- iso-it.rdm: scanning the county file... -- iso-it.rdm: County 1380000 geometry n 41300607 s 40592356 w 13614672 e 14615614 -- iso-be-ber.rdm: Country be division ber fips 1056005 -- iso-be-ber.rdm: scanning the county file... -- iso-be-ber.rdm: County 1056005 geometry n 50895678 s 50792913 w 4593300 e 4693531 -- iso-be-e40.rdm: Country be division e40 fips 1056006 -- iso-be-e40.rdm: scanning the county file... -- iso-be-e40.rdm: County 1056006 geometry n 50944819 s 50772160 w 4464006 e 4748515 -- usc06075.rdm: scanning the county file... -- usc06075.rdm: County 6075 geometry n 37903725 s 37639830 w -123173825 e -122294580 -- iso-be.rdm: Country be fips 1056000 -- iso-be.rdm: scanning the county file... -- iso-be.rdm: County 1056000 geometry n 51505259 s 49495977 w 2554605 e 6400909 -- sorting counties... -- hash table CountyByFips: -- 2653 lists, 3272 items (1 items/list) -- 3658 get first, 4342 get (1 loops/search) -- Dictionary statistics: -- state: 643 items, 3275 hits, 13100 bytes 1011 references, 369 nodes -- county: 1948 items, 1325 hits, 40990 bytes 3064 references, 1117 nodes -- city: 337 items, 43 hits, 7912 bytes 548 references, 212 nodes -- totals: 2928 items, 4643 hits, 62002 bytes, 4623 references, 1698 nodes -- usdir.rdm: Writing index file to directory '.' -- usdir.rdm: saving dictionary... -- usdir.rdm: saving counties... pavilion: {62} Note that it picks up other files that happen to be there. The county number it uses is 1840001, this is a "1" for ISO coding, 840 for the US's country code (see roadmap_iso.c), and the trailing 1 is the entry in the iso-division-us file. This is clearly not a good way to represent all of the US, but the (US-centric) FIPS system doesn't work too well for the rest of the world. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidanceApologies, one final step still required :
ln -s iso-us-sis.rdm iso-us.rdm This is something I've not looked into yet. Maybe the directory format needs a fix for this. Danny On Sun, 2009-07-19 at 12:44 +0200, Danny Backx wrote: > On Sat, 2009-07-18 at 12:11 -0400, Jason Pullara wrote: > > I'm running the latest SVN (Jul 18), but this also happens on the > > official release. I'm using Ubuntu 9.04 if that makes any difference. I > > live in the United States, trying to get a map of Staten Island, NY. > > Here's what I get: > > > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > > -- will process 2 tiles > > -- > > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > > ** problem fetching data (pclose: No such file or directory), > > continuingSegmentation fault > > Not sure what's causing this, but I never got that stuff to work well > for me. May be due to OSM server timeouts, but this is just a wild > guess. > > What does work for me is this : > - get your XML file from OSM. I did it for an area I selected manually, > and called the file jason.osm > - then name it appropriately for buildmap_osm : > ln -s jason.osm iso-us-sis.osm > the "sis" is my abbreviation for staten island > - create a file named "iso-division-us" with one line : > 1 sis > - run the command below, takes less than a minute : > > pavilion: {53} ../buildmap_osm -m . -i iso-us-sis.osm -o iso-us-sis.rdm > -- Pass 1 : 312497 lines read (0 seconds) > At line 65536, 20 % > At line 131072, 41 %, 0 seconds > At line 196608, 62 %, 1 seconds > At line 262144, 83 %, 3 seconds > -- Pass 2 : 312497 lines read (12 seconds) > -- loading shape info (from 19090 ways) ... > -- generating squares... > -- sorting squares... > -- sorting points... > -- counting crossings... > -- sorting lines... > -- Shape info processed (0 seconds) > -- Splits 13118, ways split 3240, not split 3074 > -- sorting streets... > -- sorting shapes... > -- writing results to iso-us-sis.rdm > -- saving dictionary... > -- saving 5 attributes... > -- saving 43479 points... > -- saving 26091 lines... > -- Line By Point : 43377 points, 52065 lines > -- saving 3888 streets... > -- building the street search accelerator... > -- saving 0 ranges... > -- saving polygons... > -- saving 192 squares... > -- saving 21507 shapes... > pavilion: {54} > > I can send you the resulting file via private mail if you like. > > lrwxrwxrwx 1 danny danny 9 2009-07-19 12:34 iso-us-sis.osm -> > jason.osm > -rw-rw-r-- 1 danny danny 1438156 2009-07-19 12:35 iso-us-sis.rdm > -rw-r--r-- 1 danny danny 19412258 2009-07-19 12:26 jason.osm > > The next step is to run buildus : > pavilion: {61} ../buildus -v -m . > -- usstates.txt: size = 1 Kbytes > -- app_a02.txt: size = 96 Kbytes > -- app_a02.txt, line 3268: Processing maps from . > -- iso-us-sis.rdm: Country us division sis fips 1840001 > -- iso-us-sis.rdm: scanning the county file... > -- iso-us-sis.rdm: County 1840001 geometry n 40917577 s 39969296 w > -74629883 e -73743236 > -- iso-it-nap.rdm: Country it division nap fips 1380001 > -- iso-it-nap.rdm: scanning the county file... > -- iso-it-nap.rdm: County 1380001 geometry n 41300607 s 40592356 w > 13614672 e 14615614 > -- iso-it.rdm: Country it fips 1380000 > -- iso-it.rdm: scanning the county file... > -- iso-it.rdm: County 1380000 geometry n 41300607 s 40592356 w 13614672 > e 14615614 > -- iso-be-ber.rdm: Country be division ber fips 1056005 > -- iso-be-ber.rdm: scanning the county file... > -- iso-be-ber.rdm: County 1056005 geometry n 50895678 s 50792913 w > 4593300 e 4693531 > -- iso-be-e40.rdm: Country be division e40 fips 1056006 > -- iso-be-e40.rdm: scanning the county file... > -- iso-be-e40.rdm: County 1056006 geometry n 50944819 s 50772160 w > 4464006 e 4748515 > -- usc06075.rdm: scanning the county file... > -- usc06075.rdm: County 6075 geometry n 37903725 s 37639830 w -123173825 > e -122294580 > -- iso-be.rdm: Country be fips 1056000 > -- iso-be.rdm: scanning the county file... > -- iso-be.rdm: County 1056000 geometry n 51505259 s 49495977 w 2554605 e > 6400909 > -- sorting counties... > -- hash table CountyByFips: > -- 2653 lists, 3272 items (1 items/list) > -- 3658 get first, 4342 get (1 loops/search) > -- Dictionary statistics: > -- state: 643 items, 3275 hits, 13100 bytes > 1011 references, 369 nodes > -- county: 1948 items, 1325 hits, 40990 bytes > 3064 references, 1117 nodes > -- city: 337 items, 43 hits, 7912 bytes > 548 references, 212 nodes > -- totals: 2928 items, 4643 hits, 62002 bytes, 4623 references, 1698 > nodes > -- usdir.rdm: Writing index file to directory '.' > -- usdir.rdm: saving dictionary... > -- usdir.rdm: saving counties... > pavilion: {62} > > Note that it picks up other files that happen to be there. The county > number it uses is 1840001, this is a "1" for ISO coding, 840 for the > US's country code (see roadmap_iso.c), and the trailing 1 is the entry > in the iso-division-us file. > > This is clearly not a good way to represent all of the US, but the > (US-centric) FIPS system doesn't work too well for the rest of the > world. > > Danny > Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidancejason wrote:
> I'm running the latest SVN (Jul 18), but this also happens on the > official release. I'm using Ubuntu 9.04 if that makes any difference. I > live in the United States, trying to get a map of Staten Island, NY. > Here's what I get: > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > -- will process 2 tiles > -- > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > ** problem fetching data (pclose: No such file or directory), > continuingSegmentation fault clearly a bug. > > > > After reading a suggestion that my lat/lon might be reversed (it's not), > I tried this: > > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap -- > -74.162,40.607:0.5mi > -- will process 2 tiles > -- > -- processing tileid '1104835593', for file 'qt21/41/da/qt41da7409.rdm' > -- command is "./php/osmgetbmap -t 1078941 -b 21 -h 15" > osm_bmap_cmd: tileid 1078941, bits 21, have neighbors 15 > Cache Hit, Skipped Ways: 0 > -- no results to write to qt21/41/da/qt41da7409.rdm clearly not a bug. :-) > The first result confuses me to no end because if I do a raw API call > from firefox, I get a fully valid XML file - something that buildmap_osm > should be able to understand, but it just segfaults. that's what happens when there are bugs -- unexpected things happen. i'm trying to reproduce this now. paul =--------------------- paul fox, pgf@... (arlington, ma, where it's 67.3 degrees) ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidancejason wrote:
> I'm running the latest SVN (Jul 18), but this also happens on the > official release. I'm using Ubuntu 9.04 if that makes any difference. I > live in the United States, trying to get a map of Staten Island, NY. > Here's what I get: > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > -- will process 2 tiles > -- > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > ** problem fetching data (pclose: No such file or directory), > continuingSegmentation fault for some reason i can't recreate the segfault. :-/ however -- it seems that the OSM servers are dealing with bounding boxes differently than they used to. if you pass "-b 25" or "-b 27" to your command, then it will complete successfully, and you'll get your data. it seems that large quadtiles don't work reliably anymore. (i saw something similar a week or two ago, but didn't pursue it.) paul =--------------------- paul fox, pgf@... (arlington, ma, where it's 71.1 degrees) ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidanceDanny & Paul, thank you very much for your help. Unfortunately, while
I've been able to complete the suggested buildmap_osm and buildus steps (in both of your e-mails, sorry I'm not quoting both) neither one leads to a displayable map in roadmap - for whatever reason, no roads are shown (but no error message about there not being any map within X miles is shown, either). I'm going to have to play around with roadmap when I've got some free time and see just what the heck I'm doing wrong in the process. I just wanted to thank both of you for the help so far. Jason Paul Fox wrote: > jason wrote: > > I'm running the latest SVN (Jul 18), but this also happens on the > > official release. I'm using Ubuntu 9.04 if that makes any difference. I > > live in the United States, trying to get a map of Staten Island, NY. > > Here's what I get: > > > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > > -- will process 2 tiles > > -- > > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > > ** problem fetching data (pclose: No such file or directory), > > continuingSegmentation fault > > for some reason i can't recreate the segfault. :-/ > > however -- it seems that the OSM servers are dealing with bounding > boxes differently than they used to. if you pass "-b 25" or "-b 27" > to your command, then it will complete successfully, and you'll get > your data. it seems that large quadtiles don't work reliably anymore. > > (i saw something similar a week or two ago, but didn't pursue it.) > > paul > =--------------------- > paul fox, pgf@... (arlington, ma, where it's 71.1 degrees) > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Roadmap-general mailing list > Roadmap-general@... > https://lists.sourceforge.net/lists/listinfo/roadmap-general > > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
|
|
|
Re: can't get buildmap_osm to work, could use some guidanceMy stuff is at
http://danny.backx.info/download/roadmap/jason.tar.gz it's 2803850 bytes (2.8 MB), and contains : pavilion: {17} tar tvfz jason.tar.gz drwxrwxr-x danny/danny 0 2009-07-20 19:57 jason/ -rw-rw-r-- danny/danny 98564 2009-07-20 19:54 jason/app_a02.txt -rw-rw-r-- danny/danny 1120 2009-07-20 19:54 jason/usstates.txt -rw-rw-r-- danny/danny 181724 2009-07-20 19:55 jason/usdir.rdm -rw-rw-r-- danny/danny 1438156 2009-07-20 19:55 jason/iso-us-sis.rdm -rw-r--r-- danny/danny 19412258 2009-07-20 19:55 jason/iso-us-sis.osm -rw-rw-r-- danny/danny 6 2009-07-20 19:54 jason/iso-division-us -rw-rw-r-- danny/danny 1438156 2009-07-20 19:54 jason/iso-us.rdm -rw-rw-r-- danny/danny 117097 2009-07-20 19:57 jason/jason.jpg pavilion: {18} You should be able to extract e.g. in the roadmap src directory, and then run gtk2/gtkroadmap --maps=jason I did similarly (but from inside the maps/jason directory), and got this output : pavilion: {17} ../../gtk2/gtkroadmap --maps=. s== roadmap_start.c, line 1631: RoadMap starting, time 2009.07.20 19:55 s== roadmap_plugin.c, line 82: roadmap_plugin_register(navigate plugin) s== roadmap_path.c, line 654: --> All s== roadmap_layer.c, line 720: roadmap_layer_load_file(/usr/local/share/roadmap/default/All) s== roadmap_layer.c, line 766: Class [All] lines 9 polygons 7 s== roadmap_layer.c, line 926: RoadMapNavigationModeCount 4 s== roadmap_layer.c, line 940: Navigation 0 [Car] -> 4 modes s== roadmap_layer.c, line 940: Navigation 1 [Bike] -> 4 modes s== roadmap_layer.c, line 940: Navigation 2 [Foot] -> 8 modes s== roadmap_layer.c, line 940: Navigation 3 [Boat] -> 4 modes s== roadmap_gps.c, line 989: cannot access GPS source gpsd2://localhost s== navigate/navigate.c, line 466: navigate_update_position(-74242854 40617904) initial s== navigate/navigate.c, line 483: navigate_update_position(-74242854 40617904), line 846, street 165, changed 1, skip 0 s== roadmap_start.c, line 1720: RoadMap exiting, time 2009.07.20 19:57 pavilion: {18} A screenshot is included. Don't worry about the background colour, that's an oddity of my Linux distribution. Or so. Danny On Mon, 2009-07-20 at 10:17 -0400, Jason Pullara wrote: > Danny & Paul, thank you very much for your help. Unfortunately, while > I've been able to complete the suggested buildmap_osm and buildus steps > (in both of your e-mails, sorry I'm not quoting both) neither one leads > to a displayable map in roadmap - for whatever reason, no roads are > shown (but no error message about there not being any map within X miles > is shown, either). > > I'm going to have to play around with roadmap when I've got some free > time and see just what the heck I'm doing wrong in the process. I just > wanted to thank both of you for the help so far. > > Jason > > > Paul Fox wrote: > > jason wrote: > > > I'm running the latest SVN (Jul 18), but this also happens on the > > > official release. I'm using Ubuntu 9.04 if that makes any difference. I > > > live in the United States, trying to get a map of Staten Island, NY. > > > Here's what I get: > > > > > > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi > > > -- will process 2 tiles > > > -- > > > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' > > > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" > > > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 > > > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 > > > ** problem fetching data (pclose: No such file or directory), > > > continuingSegmentation fault > > > > for some reason i can't recreate the segfault. :-/ > > > > however -- it seems that the OSM servers are dealing with bounding > > boxes differently than they used to. if you pass "-b 25" or "-b 27" > > to your command, then it will complete successfully, and you'll get > > your data. it seems that large quadtiles don't work reliably anymore. > > > > (i saw something similar a week or two ago, but didn't pursue it.) > > > > paul > > =--------------------- > > paul fox, pgf@... (arlington, ma, where it's 71.1 degrees) > > > > ------------------------------------------------------------------------------ > > Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full prize > > details at: http://p.sf.net/sfu/Challenge > > _______________________________________________ > > Roadmap-general mailing list > > Roadmap-general@... > > https://lists.sourceforge.net/lists/listinfo/roadmap-general > > > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Roadmap-general mailing list > Roadmap-general@... > https://lists.sourceforge.net/lists/listinfo/roadmap-general > Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
|
|
Re: can't get buildmap_osm to work, could use some guidanceThanks again, Danny. This mapset works, so I'm going to have to go back
through my process and see what I missed or what broke on my end :) Jason Danny Backx wrote: > My stuff is at > > http://danny.backx.info/download/roadmap/jason.tar.gz > > it's 2803850 bytes (2.8 MB), and contains : > pavilion: {17} tar tvfz jason.tar.gz > drwxrwxr-x danny/danny 0 2009-07-20 19:57 jason/ > -rw-rw-r-- danny/danny 98564 2009-07-20 19:54 jason/app_a02.txt > -rw-rw-r-- danny/danny 1120 2009-07-20 19:54 jason/usstates.txt > -rw-rw-r-- danny/danny 181724 2009-07-20 19:55 jason/usdir.rdm > -rw-rw-r-- danny/danny 1438156 2009-07-20 19:55 jason/iso-us-sis.rdm > -rw-r--r-- danny/danny 19412258 2009-07-20 19:55 jason/iso-us-sis.osm > -rw-rw-r-- danny/danny 6 2009-07-20 19:54 jason/iso-division-us > -rw-rw-r-- danny/danny 1438156 2009-07-20 19:54 jason/iso-us.rdm > -rw-rw-r-- danny/danny 117097 2009-07-20 19:57 jason/jason.jpg > pavilion: {18} > > You should be able to extract e.g. in the roadmap src directory, and > then run > gtk2/gtkroadmap --maps=jason > > I did similarly (but from inside the maps/jason directory), and got this > output : > > pavilion: {17} ../../gtk2/gtkroadmap --maps=. > s== roadmap_start.c, line 1631: RoadMap starting, time 2009.07.20 19:55 > s== roadmap_plugin.c, line 82: roadmap_plugin_register(navigate plugin) > s== roadmap_path.c, line 654: --> All > s== roadmap_layer.c, line 720: > roadmap_layer_load_file(/usr/local/share/roadmap/default/All) > s== roadmap_layer.c, line 766: Class [All] lines 9 polygons 7 > s== roadmap_layer.c, line 926: RoadMapNavigationModeCount 4 > s== roadmap_layer.c, line 940: Navigation 0 [Car] -> 4 modes > s== roadmap_layer.c, line 940: Navigation 1 [Bike] -> 4 modes > s== roadmap_layer.c, line 940: Navigation 2 [Foot] -> 8 modes > s== roadmap_layer.c, line 940: Navigation 3 [Boat] -> 4 modes > s== roadmap_gps.c, line 989: cannot access GPS source gpsd2://localhost > s== navigate/navigate.c, line 466: navigate_update_position(-74242854 > 40617904) initial > s== navigate/navigate.c, line 483: navigate_update_position(-74242854 > 40617904), line 846, street 165, changed 1, skip 0 > s== roadmap_start.c, line 1720: RoadMap exiting, time 2009.07.20 19:57 > pavilion: {18} > > A screenshot is included. Don't worry about the background colour, > that's an oddity of my Linux distribution. Or so. > > Danny > > On Mon, 2009-07-20 at 10:17 -0400, Jason Pullara wrote: > >> Danny & Paul, thank you very much for your help. Unfortunately, while >> I've been able to complete the suggested buildmap_osm and buildus steps >> (in both of your e-mails, sorry I'm not quoting both) neither one leads >> to a displayable map in roadmap - for whatever reason, no roads are >> shown (but no error message about there not being any map within X miles >> is shown, either). >> >> I'm going to have to play around with roadmap when I've got some free >> time and see just what the heck I'm doing wrong in the process. I just >> wanted to thank both of you for the help so far. >> >> Jason >> >> >> Paul Fox wrote: >> >>> jason wrote: >>> > I'm running the latest SVN (Jul 18), but this also happens on the >>> > official release. I'm using Ubuntu 9.04 if that makes any difference. I >>> > live in the United States, trying to get a map of Staten Island, NY. >>> > Here's what I get: >>> > >>> > ./buildmap_osm -m ~/.roadmap/maps -s ./php/osmgetbmap 40.607,-74.162:0.5mi >>> > -- will process 2 tiles >>> > -- >>> > -- processing tileid '853915657', for file 'qt21/32/e5/qt32e5b809.rdm' >>> > -- command is "./php/osmgetbmap -t 833902 -b 21 -h 15" >>> > osm_bmap_cmd: tileid 833902, bits 21, have neighbors 15 >>> > api.openstreetmap.org/api/0.6/map?bbox=-74.179688,40.605468,-74.003907,40.781249 >>> > ** problem fetching data (pclose: No such file or directory), >>> > continuingSegmentation fault >>> >>> for some reason i can't recreate the segfault. :-/ >>> >>> however -- it seems that the OSM servers are dealing with bounding >>> boxes differently than they used to. if you pass "-b 25" or "-b 27" >>> to your command, then it will complete successfully, and you'll get >>> your data. it seems that large quadtiles don't work reliably anymore. >>> >>> (i saw something similar a week or two ago, but didn't pursue it.) >>> >>> paul >>> =--------------------- >>> paul fox, pgf@... (arlington, ma, where it's 71.1 degrees) >>> >>> ------------------------------------------------------------------------------ >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited time, >>> vendors submitting new applications to BlackBerry App World(TM) will have >>> the opportunity to enter the BlackBerry Developer Challenge. See full prize >>> details at: http://p.sf.net/sfu/Challenge >>> _______________________________________________ >>> Roadmap-general mailing list >>> Roadmap-general@... >>> https://lists.sourceforge.net/lists/listinfo/roadmap-general >>> >>> >>> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Roadmap-general mailing list >> Roadmap-general@... >> https://lists.sourceforge.net/lists/listinfo/roadmap-general >> >> ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Roadmap-general mailing list Roadmap-general@... https://lists.sourceforge.net/lists/listinfo/roadmap-general |
| Free embeddable forum powered by Nabble | Forum Help |