[mkgmap-dev] Commit: r3519: write NET file when either --route or --net is given

2015-04-05 Thread svn commit

Version mkgmap-r3519 was committed by gerd on Sun, 05 Apr 2015

write NET file when either --route or --net is given
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Options

2015-04-05 Thread Gerd Petermann
Hi all,

I'd like to change some defaults.

My understanding so far is that most people want 
a routable map with address search and housenumber search.

So, I think the following options should be on by default:
--route 
--net
--index
--housenumbers
--x-split-name-index 
--link-pois-to-ways 
--drive-on=detect

We (the programmers) have to make sure that --no-xyz really disables these 
options.

These are also candidates, but I think we can leave them optional:
--make-opposite-cycleways 
--process-destination
--process-exits

Did I find a good selection?  

@Steve:
I tried to implement this but found that some unit tests fail, e.g.
TdbTest fails when I just add --net to the default options. 
Can you have a look at this, please?



  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] addr:place support

2015-04-05 Thread Gerd Petermann
Hi Andrzej,

> I also create address map for Poland. Map is compiled with mkgmap but I 
> strip NOD subfile from it. This way it becomes non-routable but contains 
> address search:

please try r3519. It should allow again to use --net instead of --route,
so you don't have to strip the NOD subfile.

Gerd 
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Options

2015-04-05 Thread Carlos Dávila
In general I agree with your list, but I'm not sure if 
--x-split-name-index is a good candidate. First, it's still an 
experimental option, and second, it was said it's not that useful for 
English and other languages with street type at the end of street name.


El 05/04/15 a las 16:24, Gerd Petermann escribió:

Hi all,

I'd like to change some defaults.

My understanding so far is that most people want
a routable map with address search and housenumber search.

So, I think the following options should be on by default:
--route
--net
--index
--housenumbers
--x-split-name-index
--link-pois-to-ways
--drive-on=detect

We (the programmers) have to make sure that --no-xyz really disables 
these options.


These are also candidates, but I think we can leave them optional:
--make-opposite-cycleways
--process-destination
--process-exits

Did I find a good selection?

@Steve:
I tried to implement this but found that some unit tests fail, e.g.
TdbTest fails when I just add --net to the default options.
Can you have a look at this, please?


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Options

2015-04-05 Thread A. Carlos
--x-split-name-index

I found this excellent choice, as well as in Brazil maps, has a habit of typing 
street xxx in the name,
 so I typing any part of the name without having to type the street, I can not 
find the address


  
 
 
 
 
 
 



 C. A. de Souza   
 
  
 
 
 
 
 
 
 


> Date: Sun, 5 Apr 2015 17:06:34 +0200
> From: cdavi...@orangecorreo.es
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Options
> 
> In general I agree with your list, but I'm not sure if 
> --x-split-name-index is a good candidate. First, it's still an 
> experimental option, and second, it was said it's not that useful for 
> English and other languages with street type at the end of street name.
> 
> El 05/04/15 a las 16:24, Gerd Petermann escribió:
> > Hi all,
> >
> > I'd like to change some defaults.
> >
> > My understanding so far is that most people want
> > a routable map with address search and housenumber search.
> >
> > So, I think the following options should be on by default:
> > --route
> > --net
> > --index
> > --housenumbers
> > --x-split-name-index
> > --link-pois-to-ways
> > --drive-on=detect
> >
> > We (the programmers) have to make sure that --no-xyz really disables 
> > these options.
> >
> > These are also candidates, but I think we can leave them optional:
> > --make-opposite-cycleways
> > --process-destination
> > --process-exits
> >
> > Did I find a good selection?
> >
> > @Steve:
> > I tried to implement this but found that some unit tests fail, e.g.
> > TdbTest fails when I just add --net to the default options.
> > Can you have a look at this, please?
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Options

2015-04-05 Thread Gerd Petermann
Hi Carlos,

you are probably right. I've added this option to my list
because it helped with the address search when
refs are added to the name, but in fact I've already found a better
solution with r3521 in the housenumber2 branch
This version makes sure that the name that was
used for housenumbers (mkgmap:street) is also used as a label.
If all 4 possible labels are filled with other names, the last one is 
overwritten.

Gerd

> Date: Sun, 5 Apr 2015 17:06:34 +0200
> From: cdavi...@orangecorreo.es
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Options
> 
> In general I agree with your list, but I'm not sure if 
> --x-split-name-index is a good candidate. First, it's still an 
> experimental option, and second, it was said it's not that useful for 
> English and other languages with street type at the end of street name.
> 
> El 05/04/15 a las 16:24, Gerd Petermann escribió:
> > Hi all,
> >
> > I'd like to change some defaults.
> >
> > My understanding so far is that most people want
> > a routable map with address search and housenumber search.
> >
> > So, I think the following options should be on by default:
> > --route
> > --net
> > --index
> > --housenumbers
> > --x-split-name-index
> > --link-pois-to-ways
> > --drive-on=detect
> >
> > We (the programmers) have to make sure that --no-xyz really disables 
> > these options.
> >
> > These are also candidates, but I think we can leave them optional:
> > --make-opposite-cycleways
> > --process-destination
> > --process-exits
> >
> > Did I find a good selection?
> >
> > @Steve:
> > I tried to implement this but found that some unit tests fail, e.g.
> > TdbTest fails when I just add --net to the default options.
> > Can you have a look at this, please?
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Options

2015-04-05 Thread A. Carlos
Gerd

 beyond, it would be possible to do this also for a city search?
 I have many cities with similar names and many have up to 4 names, thus 
following this logic, I typing any name he would show me the list

  
 
 
 
 
 
 


C. A. de Souza  
 
  
 
 
 
 
 
 
 


From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sun, 5 Apr 2015 17:39:52 +0200
Subject: Re: [mkgmap-dev] Options




Hi Carlos,

you are probably right. I've added this option to my list
because it helped with the address search when
refs are added to the name, but in fact I've already found a better
solution with r3521 in the housenumber2 branch
This version makes sure that the name that was
used for housenumbers (mkgmap:street) is also used as a label.
If all 4 possible labels are filled with other names, the last one is 
overwritten.

Gerd

> Date: Sun, 5 Apr 2015 17:06:34 +0200
> From: cdavi...@orangecorreo.es
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Options
> 
> In general I agree with your list, but I'm not sure if 
> --x-split-name-index is a good candidate. First, it's still an 
> experimental option, and second, it was said it's not that useful for 
> English and other languages with street type at the end of street name.
> 
> El 05/04/15 a las 16:24, Gerd Petermann escribió:
> > Hi all,
> >
> > I'd like to change some defaults.
> >
> > My understanding so far is that most people want
> > a routable map with address search and housenumber search.
> >
> > So, I think the following options should be on by default:
> > --route
> > --net
> > --index
> > --housenumbers
> > --x-split-name-index
> > --link-pois-to-ways
> > --drive-on=detect
> >
> > We (the programmers) have to make sure that --no-xyz really disables 
> > these options.
> >
> > These are also candidates, but I think we can leave them optional:
> > --make-opposite-cycleways
> > --process-destination
> > --process-exits
> >
> > Did I find a good selection?
> >
> > @Steve:
> > I tried to implement this but found that some unit tests fail, e.g.
> > TdbTest fails when I just add --net to the default options.
> > Can you have a look at this, please?
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Options

2015-04-05 Thread Gerd Petermann
Hi,

I don't know the code that creates the indexes that well. Can't say.

Gerd

From: anorcar...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sun, 5 Apr 2015 12:49:58 -0300
Subject: Re: [mkgmap-dev] Options




Gerd

 beyond, it would be possible to do this also for a city search?
 I have many cities with similar names and many have up to 4 names, thus 
following this logic, I typing any name he would show me the list

  
 
 
 
 
 
 


C. A. de Souza  
 
  
 
 
 
 
 
 
 


From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sun, 5 Apr 2015 17:39:52 +0200
Subject: Re: [mkgmap-dev] Options




Hi Carlos,

you are probably right. I've added this option to my list
because it helped with the address search when
refs are added to the name, but in fact I've already found a better
solution with r3521 in the housenumber2 branch
This version makes sure that the name that was
used for housenumbers (mkgmap:street) is also used as a label.
If all 4 possible labels are filled with other names, the last one is 
overwritten.

Gerd

> Date: Sun, 5 Apr 2015 17:06:34 +0200
> From: cdavi...@orangecorreo.es
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Options
> 
> In general I agree with your list, but I'm not sure if 
> --x-split-name-index is a good candidate. First, it's still an 
> experimental option, and second, it was said it's not that useful for 
> English and other languages with street type at the end of street name.
> 
> El 05/04/15 a las 16:24, Gerd Petermann escribió:
> > Hi all,
> >
> > I'd like to change some defaults.
> >
> > My understanding so far is that most people want
> > a routable map with address search and housenumber search.
> >
> > So, I think the following options should be on by default:
> > --route
> > --net
> > --index
> > --housenumbers
> > --x-split-name-index
> > --link-pois-to-ways
> > --drive-on=detect
> >
> > We (the programmers) have to make sure that --no-xyz really disables 
> > these options.
> >
> > These are also candidates, but I think we can leave them optional:
> > --make-opposite-cycleways
> > --process-destination
> > --process-exits
> >
> > Did I find a good selection?
> >
> > @Steve:
> > I tried to implement this but found that some unit tests fail, e.g.
> > TdbTest fails when I just add --net to the default options.
> > Can you have a look at this, please?
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] addr:place support

2015-04-05 Thread GerdP
Hi Andrzej,

seems I did not see the wood because of the trees :-O
I tried a quick hack to generate a zero-length road for each addr:place node
and it seems to work. 
Only problem: These roads are also added to the NOD file.
The current code always adds all MapRoad instances to the NOD,
I have to find out how to add MapRoads to NET without adding 
them to NOD without messing up the pointers.
This would also be useful when --net is used without --route.

Gerd


popej wrote
> Hi Gerd,
> 
>  > If fear when I add "invisible" and roads and don't add them to the
>  > routing network routing to such an address will not work.
> 
> It works for me. I create routable map with cgpsmapper, where I add 
> objects like this for each city:
> 
> [POLYLINE]
> Type=0x13
> Label=DOBRZEWINO
> CityName=DOBRZEWINO
> RegionName=POMORSKIE
> CountryName=POLSKA TOPO~[0X1D]PL
> Data0=(54.45135,18.37234),(54.45144,18.37242)
> [END]
> 
> This is not a routable road but can be found in address search.
> 
> I also create address map for Poland. Map is compiled with mkgmap but I 
> strip NOD subfile from it. This way it becomes non-routable but contains 
> address search:
> http://www.gmaptool.eu/en/content/poland-addresses-osm
> 
> -- 
> Best regards,
> Andrzej
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/addr-place-support-tp5839721p5839846.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] addr:place support

2015-04-05 Thread Andrzej Popowski

Hi Gerd,

> I have to find out how to add MapRoads to NET without adding
> them to NOD without messing up the pointers.

Maybe you could check if road have defined road_class? My guess is that 
road_class is needed in NOD but not in NET.


--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit: r3522: correct files with mixed unix/windows eol styles

2015-04-05 Thread svn commit

Version mkgmap-r3522 was committed by gerd on Sun, 05 Apr 2015

correct files with mixed unix/windows eol styles
no effect on img output
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] addr:place support

2015-04-05 Thread GerdP
Hi Andrzej,

the problem is that the current code separates 
roads from routable ways at the wrong place.
All MapRoad instances are added to the road network.
I have to find out what parts of the data flow I have to skip
so that the pseudo roads are not added to NOD. 
It is easy to add a flag like skipAddToNOD, but it
is not so easy to find out where to use the flag ;-)
I am sure I can find a solution.

Gerd


popej wrote
> Hi Gerd,
> 
>  > I have to find out how to add MapRoads to NET without adding
>  > them to NOD without messing up the pointers.
> 
> Maybe you could check if road have defined road_class? My guess is that 
> road_class is needed in NOD but not in NET.
> 
> -- 
> Best regards,
> Andrzej
> ___
> mkgmap-dev mailing list

> mkgmap-dev@.org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/addr-place-support-tp5839721p5839851.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r3522: correct files with mixed unix/windows eol styles

2015-04-05 Thread Gerd Petermann
Hi Steve,

maybe you can modify the script  pre-commit-crlf
to check also the doc and help files?
I don't understand the scripts good enough.

Gerd

> From: s...@mkgmap.org.uk
> To: mkgmap-...@lists.mkgmap.org.uk
> Date: Sun, 5 Apr 2015 18:30:33 +0100
> Subject: [mkgmap-dev] Commit: r3522: correct files with mixed unix/windows
> eol styles
> 
> 
> Version mkgmap-r3522 was committed by gerd on Sun, 05 Apr 2015
> 
> correct files with mixed unix/windows eol styles
> no effect on img output
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
  ___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Commit: r3523: Make pre-commit check match mixed CRLF and LF line endings.

2015-04-05 Thread svn commit

Version mkgmap-r3523 was committed by steve on Sun, 05 Apr 2015

Make pre-commit check match mixed CRLF and LF line endings.

Previously the match only worked for files that were completely
in CRLF format.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r3522: correct files with mixed unix/windows eol styles

2015-04-05 Thread Steve Ratcliffe

Hi Gerd


maybe you can modify the script  pre-commit-crlf
to check also the doc and help files?


Seems like it did not work when a file had a mixture of CRLF and LF
line endings.  Hopefully will work now.

..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Options

2015-04-05 Thread Steve Ratcliffe


Hi Gerd


I'd like to change some defaults.

My understanding so far is that most people want
a routable map with address search and housenumber search.

So, I think the following options should be on by default:
--route
--net
--index
--housenumbers
--x-split-name-index
--link-pois-to-ways
--drive-on=detect


Yes, there was a discussion some time ago where we agreed to
change many things.
The document at : 
http://wiki.openstreetmap.org/wiki/Mkgmap/dev/option-review

is not up to date with that discussion but just go ahead and do
anything that you still agree with on that list.

(I can't log in to the wiki at the moment, but --lower-case is
more useful now since modern devices support it, --net is OK to
keep if it works and for some of the options that I was unsure of
why they were needed, people told me that they were useful etc.)


@Steve:
I tried to implement this but found that some unit tests fail, e.g.
TdbTest fails when I just add --net to the default options.
Can you have a look at this, please?


OK I will take a look.

But does it work?  I thought there was a problem that was difficult to
fix for the same reason that you alluded to in another post today
in that some decisions are made in the wrong place.
But that was a long time ago, perhaps things are better now.

..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] error

2015-04-05 Thread Steve Sgalowski
i am now getting lots of erros with java out of memory with gc


i have jave 8 and java 7 installed
as some programs wont work with 8

Stephen
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev