[mkgmap-dev] [patch] clean up point in polygon code
From Ben Konrath ben at bagu.org on Thu Jul 16 21:06:24 BST 2009
Hi I've made a few changes and fixes to the point in polygon code. Here are the changes included in the attached patch: * Add copyright statements * Correctly assign lat and long to x and y values in MapShape.contains(List<Coord>, Coord, boolean) - This doesn't change the results since the values were used consistently but it's still nice to have it correct. * Clarify comments in MapShape.contains(List<Coord>, Coord, boolean) * Fix comment in MapMaker.makeAreaPOIs(CommandArgs, LoadableMapDataSource) * Add unit test for unclosed shape to ensure all code is exercised. Thanks, Ben -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mkgmap-poi-area-cleanup.patch Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090716/04f5b858/attachment.pl
- Previous message: [mkgmap-dev] More on Routing
- Next message: [mkgmap-dev] [patch] change bus_stop to Transit Service category and add name / operator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list