[mkgmap-dev] POIs for areas
From Felix Hartmann extremecarver at gmail.com on Mon Feb 28 21:55:42 GMT 2011
BTW here are the changes as patch applied against 1871. I think it would be worthwhile adding it to the trunk. On 19.02.2011 18:30, Torsten Leistikow wrote: > Moin, > > I have taken a look at the add-pois-to-areas function: > The function is implemented in MAPMaker.java (makeAreaPOIs), which means, it is > active, AFTER the processing of the osm-data. So without a greater change this > function can not be modified to be controlled by action rules during the style > controlled osm-data processing. > > So I tried a limited modification, its not perfekt but for me it is an > improvement over the actual implementation. This does not allow to create POIs > for areas without the creation of a polygon (as a workaround a transparent > polygon can be created). But the modification allows to control the POI > generation for each polygon type on its own, i.e. via the style file single > polygon types can be selected for the POI generation. > > My modification disables the add-pois-to-areas command line option, instead the > POI generation is now triggered by a new command "add_poi" in the element type > definition in the polygon style, e.g.: amenity=bank [0x2f06 level 3 add_poi] > > Since I am not really familiar with my java environment, I can not provide my > modification as a patch, instead you will find the modified files attached to > this mail. I have marked my changes with "//TTT-start" and "//TTT-end". > > Gruss > Torsten > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110228/35bfaeef/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: add_pois_to_areas_patch.patch Type: text/x-patch Size: 3519 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110228/35bfaeef/attachment.bin
- Previous message: [mkgmap-dev] POIs for areas
- Next message: [mkgmap-dev] POIs for areas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list