Commit graph

  • 1215e011f1 Regrouped some countries, added missing Russia Alex Zolotarev 2011-01-29 19:35:19 +02:00
  • b8832247ae [Country list] Fixed Vatican, Arab Emirates and Venezuela Alex Zolotarev 2011-01-29 17:13:28 +02:00
  • ec88c9bc0e Add maxPoint to the geometry coding routines. Yury Melnichek 2011-01-29 16:57:48 +01:00
  • 908b4ab8d7 Add placeholders for geometry coding functions. Yury Melnichek 2011-01-29 16:44:34 +01:00
  • 15a14203c4 Add ReadVarUint64Array. Yury Melnichek 2011-01-29 01:18:40 +01:00
  • aba28f101e refactored textRect to work with fixed font. crash at startup fixed. rachytski 2011-01-29 13:31:11 +02:00
  • 22c1d39d23 Correct update file with countries Alex Zolotarev 2011-01-28 21:41:09 +01:00
  • 8ad9488d67 Fixed files with spaces in build script Alex Zolotarev 2011-01-28 21:40:54 +01:00
  • b38b92a5b2 Forgot to commit tesselator header Alex Zolotarev 2011-01-28 22:24:37 +02:00
  • 5e1c1dbc74 [iPhone] Added new countries list Alex Zolotarev 2011-01-28 21:04:01 +02:00
  • 7bf7b8ac91 Moved tesselator from indexer_tool to geometry Alex Zolotarev 2011-01-28 18:51:27 +02:00
  • 0a193f6121 Fixes #89 Downloader works correctly when countries dialog is closed Alex Zolotarev 2011-01-28 01:16:19 +02:00
  • 1a645c5859 Added countries to downloader Alex Zolotarev 2011-01-28 18:12:45 +01:00
  • 9292651e89 Fix initial model rect: if empty, return MercatorBounds. Check for maximum screen scale level (limited by MercatorBounds). vng 2011-01-28 09:50:15 +02:00
  • 9263e8a91c Always drawing masked texts. rachytski 2011-01-28 00:39:44 +02:00
  • cc8a8a947d Restricting GlobalRect to MercatorBounds::max** values. rachytski 2011-01-28 00:19:32 +02:00
  • 051138af68 Setting MaxMercatorRect by default. rachytski 2011-01-27 23:24:47 +02:00
  • f5c67f500f "God's Rainbow" Fixes rachytski 2011-01-27 20:41:33 +02:00
  • dc470b810c Fix contries polygon simplification (last point should be equal with first for simplification). Alex Zolotarev 2011-01-27 23:28:37 +02:00
  • e21fbafe3b Make correct comparison of points and cross product with zero in m2::Region::Contains. Alex Zolotarev 2011-01-27 23:27:20 +02:00
  • e6cf0a8589 - Polygons now are using doubles instead of uints - Added optimization: if feature is included only in one country, it's automatically added to this country Alex Zolotarev 2011-01-27 22:09:37 +02:00
  • 1e2efd7a07 Fix bug in feature -> country polygonizer (equivalent coordinates for search rect and polygon coordinates). Alex Zolotarev 2011-01-27 21:25:01 +02:00
  • 8751a518aa Fix bug in feature -> country polygonizer processing. vng 2011-01-27 19:45:45 +02:00
  • 64f0f25cc8 Fixed Mac OS X image build script Alex Zolotarev 2011-01-27 05:54:00 +02:00
  • ac7721a6ff Closes #93 Send OS/version/unique id in http user agent for each download Alex Zolotarev 2011-01-27 05:49:11 +02:00
  • cdc8e9d229 Build in m4::Tree to feature polygonizer by countries. vng 2011-01-27 02:00:48 +02:00
  • a13b24206a Add m4::Tree::ForEachInRect and some othe functions. vng 2011-01-27 01:59:23 +02:00
  • 87560d46ba Rename Region::Rect() to Region::GetRect(). vng 2011-01-27 01:58:49 +02:00
  • 5dec38415e Fix AlmostEqual. Add more unit tests. vng 2011-01-26 21:25:12 +02:00
  • 58b80c1da5 Fix compilation on gcc. vng 2011-01-26 21:24:39 +02:00
  • b36c5c033f VS2008 compilation fix Alex Zolotarev 2011-01-26 20:42:02 +02:00
  • 81ad4a5a7a Mingw compilation fixes Alex Zolotarev 2011-01-26 16:42:58 +02:00
  • 10bc0b30be New planet update file Alex Zolotarev 2011-01-26 02:13:30 +01:00
  • 784cd98f91 Fixed data path in planet build script Alex Zolotarev 2011-01-26 02:13:06 +01:00
  • d4182c31a2 Trash-Texture on empty model. rachytski 2011-01-26 02:35:12 +02:00
  • 36b7db76d4 [IPHONE] Memory Warning Message. rachytski 2011-01-26 02:12:29 +02:00
  • db268385ee Crash on text texture overflow. rachytski 2011-01-26 02:00:21 +02:00
  • b7c66335bb [IPHONE] Added Test Project rachytski 2011-01-26 01:58:24 +02:00
  • 094fec507c Regenerate minsk-pass. vng 2011-01-26 01:39:47 +02:00
  • 9d5595ca7e Rearrange strip's points for better serialization size. vng 2011-01-26 01:39:36 +02:00
  • d6d8d502a0 Fixed GCC build error Alex Zolotarev 2011-01-25 21:46:33 +02:00
  • ab660b4f68 Region with good calculation-overflow processing. Better Region::Contains code. vng 2011-01-25 20:57:27 +02:00
  • 9520a1cd23 Fix many conversion... - signed-unsigned - possible loss of data ... warnings. vng 2011-01-25 20:56:14 +02:00
  • cce5167a93 Fix compile error vng 2011-01-25 19:34:02 +02:00
  • fbd849a451 m2::Region::Contains optimizations: - remove float divisions - calc cross product once No unsigned regions! vng 2011-01-25 10:24:40 +02:00
  • c126769533 Use our "std" headers instead of native. vng 2011-01-25 10:23:17 +02:00
  • 202788ffe3 Process errors in getting OpenGL function pointers (windows). vng 2011-01-24 22:46:39 +02:00
  • 7335d21664 Fix build order - special for mingw. vng 2011-01-24 22:45:38 +02:00
  • 3da315545b Additional tests for AlmostEqual. vng 2011-01-24 22:42:54 +02:00
  • 4606f80b94 Fix memory_mapped_file to correctly build in mingw (windows). vng 2011-01-24 22:41:40 +02:00
  • 66522077ac Use SimplifyNearOptimal(20) to simplify features. Yury Melnichek 2011-01-24 20:22:01 +01:00
  • a28f400e91 Make SimplifyNearOptimal() work with STL-like interval. Uncomment unit tests. Yury Melnichek 2011-01-24 20:15:21 +01:00
  • 97aea07ccc Fixed warning Alex Zolotarev 2011-01-23 20:58:59 +01:00
  • aa9f121e51 Fixed linux build error Alex Zolotarev 2011-01-23 20:56:37 +01:00
  • ebf907da4f Reverted back build script for square tiles generation Alex Zolotarev 2011-01-23 20:26:41 +01:00
  • 3032c87796 Simplified code to load cell tiles - now only 8 bucketing level is supported Alex Zolotarev 2011-01-22 23:14:32 +02:00
  • 48b2b004c7 Added world file to countries list Alex Zolotarev 2011-01-22 23:14:01 +02:00
  • 0998a6bc3a Moved defines.hpp to the project root Alex Zolotarev 2011-01-22 22:36:31 +02:00
  • fc917c3fe9 Changed "world.mwm" to "World.mwm" and moved to defines.hpp Alex Zolotarev 2011-01-22 22:23:47 +02:00
  • 654fe2e087 Changed polygon groups delimeter to '|' from ',' because country names can contain , Alex Zolotarev 2011-01-22 22:09:47 +02:00
  • dd86845706 Minimum simplified country polygon size was limited to 10 points Alex Zolotarev 2011-01-22 12:52:26 +02:00
  • 3f5ed1cc9b Regenerate minsk-pass. vng 2011-01-21 10:37:19 +02:00
  • ffe9341ceb Use correct SimplifyDP instead of SimplifyNearOptimal. vng 2011-01-21 10:36:28 +02:00
  • 778041a43f - IsPolygonCCW more stable now - IsSegmentInCone processes '3-points in line' correcly now vng 2011-01-21 10:35:45 +02:00
  • 755e0313bb Make better logic in SimplifeDP: - include first and last point - takes STL-like input range - additianal accumulator to filter one line points vng 2011-01-21 10:33:31 +02:00
  • 6775173302 [Region::Contains()] Removed unnecessary divisions Alex Zolotarev 2011-01-20 14:15:32 +02:00
  • 13dc1936c1 Changed default countries file to countries_poly.txt It contains only countries names and regions, without any cellId data Alex Zolotarev 2011-01-20 00:44:28 +02:00
  • 7bb3d5f513 Added countries_poly.txt parsing for simple countries list, without cell tiles Alex Zolotarev 2011-01-20 00:43:49 +02:00
  • 24e8703645 Update generator scans all files which can be updated in data directory Alex Zolotarev 2011-01-20 00:43:00 +02:00
  • 742fa24801 Modified script to split planet by countries polygons Alex Zolotarev 2011-01-19 18:40:27 +01:00
  • c10441aa9b Correct merge for SimplifyPoints Alex Zolotarev 2011-01-19 02:07:56 +02:00
  • 73ce9b6b17 Fixed warning Alex Zolotarev 2011-01-19 02:07:17 +02:00
  • 99e1e6b7a8 [indexer_tool] Added --simplify_countries_level Now country polygons which are enabled by --split_by_polygons parameter can be optionally simplified by giving simplificator level values Alex Zolotarev 2011-01-19 02:01:17 +02:00
  • 770c00d653 Moved feature::SimplifyPoints to header and made it more generic Alex Zolotarev 2011-01-19 01:58:55 +02:00
  • 3aa1625c45 Warning fixes Alex Zolotarev 2011-01-19 01:56:15 +02:00
  • 6292d9f06d Updated distance tests Alex Zolotarev 2011-01-19 01:55:59 +02:00
  • 9473e1fa1e Added static assert in distance for unsigned point types Alex Zolotarev 2011-01-19 01:55:36 +02:00
  • 6cc2831c2d New tests and more debug checks in geometry simplification (stripification). vng 2011-01-18 23:26:43 +02:00
  • 518d2a0747 Regenerate minsk-pass vng 2011-01-18 22:52:59 +02:00
  • 6cc76d9993 Make saved middle point in mwm for optimal storing of geometry's first points. !Note! Changes (HEADER_FILE_TAG) in feature_sorter.cpp can reproduce ugly bug. vng 2011-01-18 21:16:56 +02:00
  • 541b5ec5d8 Additional tests for FilesContainerR(W). vng 2011-01-18 20:05:40 +02:00
  • f67523f3e7 Fix my shell file for maps generation. vng 2011-01-18 20:04:44 +02:00
  • 0b53b59b34 Fix GCC warning. vng 2011-01-17 21:29:50 +02:00
  • 96b2f52fcb Removed last point from kml polygons (it's equal to the first one) Alex Zolotarev 2011-01-18 20:39:10 +02:00
  • b9cbbbfe3e Replaced region.Contains(point) code with working version @TODO: improve speed of this function Alex Zolotarev 2011-01-18 20:38:05 +02:00
  • 79734f99fa Improved region tests with complex polygon Alex Zolotarev 2011-01-18 20:37:01 +02:00
  • 32ec3dbd3b Added borders and intermediate_data to .gitignore Borders should be downloaded separately to use them with --split_by_polygons Alex Zolotarev 2011-01-17 21:50:34 +02:00
  • f9d27b1481 Added m2::Region::ForEachPoint, updated unit tests Alex Zolotarev 2011-01-17 21:49:54 +02:00
  • ab919c8921 [indexer_tool] Added --split-by-polygons for countries Alex Zolotarev 2011-01-16 18:53:05 +02:00
  • ce2e1baa9c Added m2::Region for 2d polygons Alex Zolotarev 2011-01-16 18:51:09 +02:00
  • e5af392fc5 Warning fixes Alex Zolotarev 2011-01-15 16:17:51 +02:00
  • 1123f98f74 [GCC] Fixed base_tests Alex Zolotarev 2011-01-15 16:17:33 +02:00
  • 0527fabb4f bug in getUpdateAreas for two non-intersecting screens. rachytski 2011-01-16 19:06:17 +02:00
  • 0919989bf1 fixed hasRoom for solid line style. rachytski 2011-01-16 18:19:14 +02:00
  • 2dda2005f5 Tune static buffer size in feature's buffer_vector. vng 2011-01-16 18:28:01 +02:00
  • 3763703183 Add strip-test for T-like polygon. Minor statistic-calc fix. vng 2011-01-16 17:41:20 +02:00
  • f69571c354 symbol position as a parameter in drawPoint function. plenty of warnings cleanups. rachytski 2011-01-16 14:51:45 +02:00
  • 58f7807718 Regenerate minsk-pass. vng 2011-01-16 14:26:21 +02:00
  • 037e2a8027 Fix bug with early closed polygon point filtration. We should leave equal first and last point in polygon during simplification. vng 2011-01-16 14:24:42 +02:00
  • bfcb154531 Build in stripified triangles in feature structure. vng 2011-01-16 13:35:25 +02:00