Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-10-05 Thread Mike Crash

Please wait some time for new version with completely rewritten converter, it
will allow large areas, though currently I don't know anything about
conversion time.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p5604201.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-09-22 Thread Sylvain Paré
still
Map statistics:
--
Nodes: 890297
Sectors: 5101
Segments: 935455
Ways: 105291
Planes: 698047
Countries: 1
Cities: 2
Streets: 0
Addresses: 0
POIs: 21369
Done

both with personally computed boundaries file and precomputed file from
MCnavi site
with this osm file
http://download.geofabrik.de/osm/europe/france/bretagne.osm.bz2

If someone has the reason of this
Thx..

Sylvain

2010/9/21 Mike Crash m...@mikecrash.com


 Hi,

 the output code looks good, but it seems that cities where not assigned to
 country, so you have no cities and addresses (something with country
 boundary).

 There is new version 0.2.13 with some improvements in itinerary and
 routing.
 This is only small update, the next big step is going forward - better map
 conversion, also bigger maps and select of features in map.

 Currently I use it successfully for navigation and orientation, there are
 some features missing, but I will evolve it in future - slowly, only in
 spare time...

 Mike
 --
 View this message in context:
 http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p745.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-09-21 Thread Mike Crash

Hi,

the output code looks good, but it seems that cities where not assigned to
country, so you have no cities and addresses (something with country
boundary).

There is new version 0.2.13 with some improvements in itinerary and routing.
This is only small update, the next big step is going forward - better map
conversion, also bigger maps and select of features in map.

Currently I use it successfully for navigation and orientation, there are
some features missing, but I will evolve it in future - slowly, only in
spare time...

Mike
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p745.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-30 Thread Sylvain Paré
Anyone ?

2010/8/24 Sylvain Paré sylvain.p...@gmail.com

 Hello Mike,

 thanks for your software!
 But unfortunatly for me I could not test it yet in France because of
 missing map for my country
 and because each time I try to make my map I do not succed. Or not
 completely
 I took the boundary file provided 
 herehttp://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
 and a region from France from geofabrik to test the generation and here is
 the output:

 osm2mcmap -bi boundary.mcb -mo map.mcm map.osm
 Import data from map.osm
 Import data 100%
 Sorting nodes 100%
 Process multipolygons 100%
 Process cities 100%
 Process nodes 100%
 Process ways 100%
 Sorting ways 100%
 Process relations 100%
 Sorting segments 100%
 Sorting sectors 100%
 Reindex segments 100%
 Sorting planes 100%
 Sorting POIs 100%
 Cleaning nodes 100%

 Sorting countries
 Sorting cities
 Sorting streets
 Sorting addresses
 Writing nodes 100%
 Writing cross 100%
 Writing segments 100%
 Writing ways 100%
 Writing plane sectors 100%
 Writing plane index 100%
 Writing planes 100%

 Writing cities
 Writing streets
 Writing addresses
 Writing POIs 100%

 Map statistics:
 --
 Nodes: 193498
 Sectors: 2978
 Segments: 204215
 Ways: 24065
 Planes: 43547
 Countries: 0
 Cities: 0
 Streets: 0
 Addresses: 0
 POIs: 4768
 Done

 Is it normal to have those statistics? Of corse the generated map does not
 work in MCNavi : can't find any city...
 Thanks by advance for your help!

 Regards,

 Sylvain (aka GarthPS)


 2010/8/23 Mike Crash m...@mikecrash.com


 Boundaries are needed for correct assigning of cities and addresses to
 country. It is actually don't needed, if routing to address is not
 required.
 The use of continent boundary extracts (from cloudmate) is needed, because
 country extract has broken boundaries - the cut area sometimes splits
 them.

 For large memory requirements - I'm currently working on more
 functionality
 (itinerary, click routing etc.). In parallel I think about optimizing of
 map
 and converting process. I need small map, so optimizing is not my current
 priority. But it will be next step, as I do what I want to do :). Please
 be
 patient (I have job and family).


 Thomas Franck wrote:
 
  You can successfully convert smaller regions though - just download
  precomputed
  boundary extract from
 
 http://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
  and then use with -bi option. (Still won't work for germany.osm - it
 is
  too large
  to fit into memory space)
 
  Oh.. ic...  though, as I stated in the other mail.. I was under the
  impression that we needed the continent boundary to do countries..?
  does that mean we can use like germany boundary and do cities and areas?
 
 

 --
 View this message in context:
 http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p5453961.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-24 Thread Sylvain Paré
Hello Mike,

thanks for your software!
But unfortunatly for me I could not test it yet in France because of missing
map for my country
and because each time I try to make my map I do not succed. Or not
completely
I took the boundary file provided
herehttp://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
and a region from France from geofabrik to test the generation and here is
the output:

osm2mcmap -bi boundary.mcb -mo map.mcm map.osm
Import data from map.osm
Import data 100%
Sorting nodes 100%
Process multipolygons 100%
Process cities 100%
Process nodes 100%
Process ways 100%
Sorting ways 100%
Process relations 100%
Sorting segments 100%
Sorting sectors 100%
Reindex segments 100%
Sorting planes 100%
Sorting POIs 100%
Cleaning nodes 100%

Sorting countries
Sorting cities
Sorting streets
Sorting addresses
Writing nodes 100%
Writing cross 100%
Writing segments 100%
Writing ways 100%
Writing plane sectors 100%
Writing plane index 100%
Writing planes 100%

Writing cities
Writing streets
Writing addresses
Writing POIs 100%

Map statistics:
--
Nodes: 193498
Sectors: 2978
Segments: 204215
Ways: 24065
Planes: 43547
Countries: 0
Cities: 0
Streets: 0
Addresses: 0
POIs: 4768
Done

Is it normal to have those statistics? Of corse the generated map does not
work in MCNavi : can't find any city...
Thanks by advance for your help!

Regards,

Sylvain (aka GarthPS)


2010/8/23 Mike Crash m...@mikecrash.com


 Boundaries are needed for correct assigning of cities and addresses to
 country. It is actually don't needed, if routing to address is not
 required.
 The use of continent boundary extracts (from cloudmate) is needed, because
 country extract has broken boundaries - the cut area sometimes splits them.

 For large memory requirements - I'm currently working on more functionality
 (itinerary, click routing etc.). In parallel I think about optimizing of
 map
 and converting process. I need small map, so optimizing is not my current
 priority. But it will be next step, as I do what I want to do :). Please be
 patient (I have job and family).


 Thomas Franck wrote:
 
  You can successfully convert smaller regions though - just download
  precomputed
  boundary extract from
 
 http://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
  and then use with -bi option. (Still won't work for germany.osm - it
 is
  too large
  to fit into memory space)
 
  Oh.. ic...  though, as I stated in the other mail.. I was under the
  impression that we needed the continent boundary to do countries..?
  does that mean we can use like germany boundary and do cities and areas?
 
 

 --
 View this message in context:
 http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p5453961.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-23 Thread Mike Crash

Boundaries are needed for correct assigning of cities and addresses to
country. It is actually don't needed, if routing to address is not required.
The use of continent boundary extracts (from cloudmate) is needed, because
country extract has broken boundaries - the cut area sometimes splits them.

For large memory requirements - I'm currently working on more functionality
(itinerary, click routing etc.). In parallel I think about optimizing of map
and converting process. I need small map, so optimizing is not my current
priority. But it will be next step, as I do what I want to do :). Please be
patient (I have job and family).


Thomas Franck wrote:
 
 You can successfully convert smaller regions though - just download
 precomputed
 boundary extract from
 http://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
 and then use with -bi option. (Still won't work for germany.osm - it is
 too large
 to fit into memory space)
 
 Oh.. ic...  though, as I stated in the other mail.. I was under the
 impression that we needed the continent boundary to do countries..?
 does that mean we can use like germany boundary and do cities and areas?
 
 

-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/MC-Navi-0-2-10-released-tp5158145p5453961.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Thomas Franck
Hi..

I decided to give the converting another go.. but I keep running into
the same problem:

 az...@wraith:/data/mcnavi$ ls -lah
 total 70G
 drwxr-xr-x 2 azral azral 4.0K 2010-08-12 09:56 .
 drwxrwxrwx 9 root  root  4.0K 2010-08-11 22:40 ..
 -rw-r--r-- 1 azral azral  60G 2010-08-10 08:26 europe.osm
 -rw-r--r-- 1 azral azral 9.8G 2010-08-10 09:36 germany.osm
 az...@wraith:/data/mcnavi$ osm2mcmap -bt 0 -bo boundary.mcb europe.osm
 Error opening file!
 Error parsing file europe.osm
 az...@wraith:/data/mcnavi$

does anyone else has that problem?
it said error opening file.. so maybe it's not where it should be?

Any pointers welcome.. and I don't mean these: http://xkcd.com/138/ ;)

Cheers,
-- 
Thomas

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
...the best way to prepare [to be a programmer] is to write programs,
and to study great programs that other people have written. In my case,
I went to the garbage cans at the Computer Science Center and fished out
listings of their operating system.
  - Bill Gates
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Sylvain Paré
Hi
yes  have the same problem while trying to convert the France.
I am wondering if it is not a matter of size...france and germany does quite
the same size.
I don't speak about europ.osm, i think your are to optimistic! :)
But yes please someone help us on this error
Error opening file!
And by the way it is not a matter of not being able to open the file because

cat france.osm works for me.

thanks!

Sylvain (aka GarthPS)

2010/8/12 Thomas Franck thomas.fra...@gmx.com

 Hi..

 I decided to give the converting another go.. but I keep running into
 the same problem:

  az...@wraith:/data/mcnavi$ ls -lah
  total 70G
  drwxr-xr-x 2 azral azral 4.0K 2010-08-12 09:56 .
  drwxrwxrwx 9 root  root  4.0K 2010-08-11 22:40 ..
  -rw-r--r-- 1 azral azral  60G 2010-08-10 08:26 europe.osm
  -rw-r--r-- 1 azral azral 9.8G 2010-08-10 09:36 germany.osm
  az...@wraith:/data/mcnavi$ osm2mcmap -bt 0 -bo boundary.mcb europe.osm
  Error opening file!
  Error parsing file europe.osm
  az...@wraith:/data/mcnavi$

 does anyone else has that problem?
 it said error opening file.. so maybe it's not where it should be?

 Any pointers welcome.. and I don't mean these: http://xkcd.com/138/ ;)

 Cheers,
 --
 Thomas

 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 ...the best way to prepare [to be a programmer] is to write programs,
 and to study great programs that other people have written. In my case,
 I went to the garbage cans at the Computer Science Center and fished out
 listings of their operating system.
  - Bill Gates
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Thomas Franck
Hi..

 I don't speak about europ.osm, i think your are to optimistic! :)

I was under the impression that we need the continent boundary so that
the map for the countries can be made..


 Error opening file!
 And by the way it is not a matter of not being able to open the file
 because
 cat france.osm works for me.

I wonder if osm2mcmap needs the osm file in a special place.. or name..
but I also renamed europe to map (as that is used in the instructions on
the website) and it gave the same error..

Cheers,
-- 
Thomas

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
A paperless office has about as much chance as a paperless bathroom.
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Sylvain Paré
It could very helpfull if Mike Crash or those whom succeded in making map
like Davide Scaini could bive us some informations..


2010/8/12 Thomas Franck thomas.fra...@gmx.com

 Hi..

  I don't speak about europ.osm, i think your are to optimistic! :)

 I was under the impression that we need the continent boundary so that
 the map for the countries can be made..


  Error opening file!
  And by the way it is not a matter of not being able to open the file
  because
  cat france.osm works for me.

 I wonder if osm2mcmap needs the osm file in a special place.. or name..
 but I also renamed europe to map (as that is used in the instructions on
 the website) and it gave the same error..

 Cheers,
 --
 Thomas

 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 A paperless office has about as much chance as a paperless bathroom.
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Vladimir Koutny
Hi,

 az...@wraith:/data/mcnavi$ ls -lah
 total 70G
 drwxr-xr-x 2 azral azral 4.0K 2010-08-12 09:56 .
 drwxrwxrwx 9 root  root  4.0K 2010-08-11 22:40 ..
 -rw-r--r-- 1 azral azral  60G 2010-08-10 08:26 europe.osm
 -rw-r--r-- 1 azral azral 9.8G 2010-08-10 09:36 germany.osm
 az...@wraith:/data/mcnavi$ osm2mcmap -bt 0 -bo boundary.mcb europe.osm
 Error opening file!
 Error parsing file europe.osm
 az...@wraith:/data/mcnavi$

You have 32bit system and you need to enable largefile support while building
osm2mcmap - add these defines while building:

CFLAGS=`getconf LFS_CFLAGS` ./configure
(usually expands to -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64)

This will help with opening the file - but still the conversion will fail 
(somewhere
around 7%) due to small address-space in 32bit mode (osm2mcmap loads the whole 
file
into memory...)


You can successfully convert smaller regions though - just download precomputed
boundary extract from 
http://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
and then use with -bi option. (Still won't work for germany.osm - it is too 
large
to fit into memory space)

Regards,
  Vlado


 
 does anyone else has that problem?
 it said error opening file.. so maybe it's not where it should be?
 
 
 Cheers,
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem converting maps. was: MC Navi 0.2.10 released

2010-08-12 Thread Thomas Franck
Hi..

On 08/12/2010 10:16 PM, Vladimir Koutny wrote:

 You have 32bit system and you need to enable largefile support while building
 osm2mcmap - add these defines while building:
 
 CFLAGS=`getconf LFS_CFLAGS` ./configure
 (usually expands to -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64)
 
 This will help with opening the file - but still the conversion will fail 
 (somewhere
 around 7%) due to small address-space in 32bit mode (osm2mcmap loads the 
 whole file
 into memory...)

Excellent pointer! thank you.. will have to look into those 64bit..
finally a reason to change! :D


 You can successfully convert smaller regions though - just download 
 precomputed
 boundary extract from 
 http://www.gps-routes.info/index.php?name=Downloadsd_op=viewdownloadcid=3
 and then use with -bi option. (Still won't work for germany.osm - it is too 
 large
 to fit into memory space)

Oh.. ic...  though, as I stated in the other mail.. I was under the
impression that we needed the continent boundary to do countries..?
does that mean we can use like germany boundary and do cities and areas?

Cheers..
-- 
Thomas

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Never underestimate the bandwidth of a station wagon full of tapes
hurtling down the highway
  - Andrew S. Tanenbaum
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community