Commit: r2654: Improve matching of street names for housenumber assignment

Version 2654 was committed by wanmil on Sun, 30 Jun 2013 Improve matching of street names for housenumber assignment The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref.

Could there be an additional way of doing this - that is not visible in output, by adding some special characters? My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Please feel free to make a proposal!
Could there be an additional way of doing this - that is not visible in output, by adding some special characters?
My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

well I dunno which characters are free. We already use all important ones. Maybe a combination like: @{ ...} instead or in addition to (). Because all brackets are already in use. So best a special symbol followed by a bracket IMHO (if noone has a better idea). On 10.07.2013 20:09, WanMil wrote:
Please feel free to make a proposal!
Could there be an additional way of doing this - that is not visible in output, by adding some special characters?
My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Hi WanMil, take care, this proposal might be to big ;) Maybe it would be better first solve the part with name-handling and then continue with housenumber-matching. For example: migrate name and ref handling in style-file and use only mkgmap:name and mkgmap:ref for name and ref-fields. Then there could be another tag, eg. mkgmap:streetname, which contains only name for matching with addr:street & co. I think this would be a quite easy-to-understand way and also very flexible in usage. I don't know if it's necessary to have a seperate pre-defined style-file names (lines, points, polygons,...) because I hae in mind, that some mkgmap-functions are handling name-tags befor style is read. But I'm not really sure. Henning Am 10.07.2013 20:09, schrieb WanMil:
Please feel free to make a proposal!
Could there be an additional way of doing this - that is not visible in output, by adding some special characters?
My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Wed, Jul 10, WanMil wrote:
Please feel free to make a proposal!
I would introduce a "mkgmap:streetname" or something similar. Then you can use one variable in your style to set the correct streetname, and the "name" to set what should be displayed, and adjust both in your style file. Thorsten
Could there be an additional way of doing this - that is not visible in output, by adding some special characters?
My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

could either the mkgmap:streetname or the @{ } be introduced? For me either solution would be fine... The current solution stripping inside brackets () is not very usable... Felix On 11.07.2013 07:22, Thorsten Kukuk wrote:
On Wed, Jul 10, WanMil wrote:
Please feel free to make a proposal! I would introduce a "mkgmap:streetname" or something similar. Then you can use one variable in your style to set the correct streetname, and the "name" to set what should be displayed, and adjust both in your style file.
Thorsten
Could there be an additional way of doing this - that is not visible in output, by adding some special characters?
My problem is - in my style I add quite a lot of stuff to the name, and that is via multiple commands (route names, refs, difficulty, and so on). If I use brackets - that will end up with lots of brackets in some cases. If we could agree on (additionally) some special characters to use - that would be stripped, I could use the benefits of this too... On 30.06.2013 13:19, svn commit wrote:
Version 2654 was committed by wanmil on Sun, 30 Jun 2013
Improve matching of street names for housenumber assignment
The housenumber handling uses the style sheet generated name of streets and matches that to the addr:street tag of housenumbers. The style sheet name is now stripped by the shield information (usually a ref) and text within brackets (also usually the ref name). This increases the match rate of housenumbers especially for streets with a ref. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Hi, how do you turn on this feature? I can't find any house numbers for streets on my maps. In HousenubmersGenerator.java there is condition like: numbersEnabled=props.containsKey("housenumbers"); But "housenumbers" is not a valid mkgmap option. Am I missing something? -- Best regards, Andrzej

mkgmap has some inofficial parameters which are not documented. You can use these parameters by starting them with --x-<parameter>. So --x-housenumbers does the trick. Update: housenumbers is now "official" since r2659 so you don't need the --x- any more. WanMil
Hi,
how do you turn on this feature? I can't find any house numbers for streets on my maps.
In HousenubmersGenerator.java there is condition like:
numbersEnabled=props.containsKey("housenumbers");
But "housenumbers" is not a valid mkgmap option. Am I missing something?
participants (6)
-
Andrzej Popowski
-
Felix Hartmann
-
Henning Scholland
-
svn commit
-
Thorsten Kukuk
-
WanMil