Mathis Logemann
|
d5a873e81c
|
format utils
|
2022-01-27 00:12:12 +01:00 |
|
Mathis Logemann
|
e626ba2688
|
replace _WINDOWS with _WIN32
|
2021-10-21 18:22:53 +02:00 |
|
Artem Pavlenko
|
bd961c4da2
|
update copyright year [skip ci]
|
2021-01-05 14:39:07 +00:00 |
|
Mathis Logemann
|
64054fade4
|
compiler independent warning ignore
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
|
2020-11-19 17:25:10 +01:00 |
|
Mathieu Champlon
|
22d0cb72fd
|
Handle unicode file path on windows
|
2018-01-20 22:24:05 +01:00 |
|
artemp
|
40c51c469c
|
shape.input/shapeindex - update to use bounding box per item *.index format.
|
2017-08-21 11:02:34 +01:00 |
|
artemp
|
d81a7610d3
|
shapeindex - make index node 32-bytes (uint64_t, int32_t, int32_t)
|
2017-08-18 16:58:20 +01:00 |
|
artemp
|
82a7d07b7f
|
return error code when no feature can be read from shapefile + update unit test.
|
2017-06-01 15:44:25 +02:00 |
|
artemp
|
333ef9fde1
|
update copyright year
|
2017-05-05 13:02:01 +02:00 |
|
artemp
|
8ff24d1193
|
Only log warning in --verbose mode.
|
2017-04-25 14:03:18 +02:00 |
|
artemp
|
3eabd3141a
|
sync mapnik-index and shapeindex versions with mapnik via MAPNIK_VERSION_STRING
|
2017-02-27 13:22:55 +01:00 |
|
artemp
|
8ce7a1c43d
|
refactor souce code files with the following rule: the physical filesytem path matches namespace structure
e.g `mapnik::geometry::centroid()` -> `$(MAPNIK_SOURCE)/include/mapnik/geometry/centroid.hpp`
|
2016-10-11 18:01:29 +02:00 |
|
artemp
|
ff9cceeb9f
|
use platform specific macros as return codes (EXIT_SUCCESS/EXIT_FAILURE) + check if extent read from shapefile is valid and has valid width and heoght before creating an index.
|
2016-03-07 13:52:58 +01:00 |
|
artemp
|
b7dd8331df
|
use std::ofstream (ref 3300)
|
2016-02-18 12:54:17 +01:00 |
|
artemp
|
2b725dd257
|
shapeindex - skip 'null' shapes (ref #3288)
|
2016-02-08 15:51:13 +01:00 |
|
artemp
|
412fa20eb8
|
shapeindex: indicate default behaviour in -h(--help)
|
2016-01-04 13:23:50 +00:00 |
|
artemp
|
4c6632cf93
|
shapeindex : remove duplicate node defs + add default ctor
|
2016-01-04 13:19:16 +00:00 |
|
artemp
|
a2b3130d4b
|
rebase to master (remove spirit-x3 changes)
|
2016-01-04 11:43:27 +00:00 |
|
artemp
|
3139dad5cd
|
don't bother iterating over geometries if shape_type is shape_null in header
|
2015-12-14 14:11:38 +00:00 |
|
artemp
|
ec074752cc
|
fix mistype => should be while (shx.is_good() && pos <= file_length - 4)
|
2015-11-23 10:32:14 +00:00 |
|
artemp
|
c32166c71f
|
move loop terminatiion condition to the top and avoid potential infinite loop when if (content_length != shp.read_xdr_integer()) + Track empty shapes and don't create *.index when there is no non-empty geometries
(#3184)
|
2015-11-23 09:58:27 +00:00 |
|
Dane Springmeyer
|
7608040906
|
centralize warning suppression
|
2015-11-07 17:53:09 -08:00 |
|
artemp
|
3368b6d1de
|
shapeindex - re-factor to read offset and record length from *.shx (allows reading erroneous shapefiles from NE)
|
2015-10-13 13:34:21 +01:00 |
|
artemp
|
bcb1cc6053
|
format
|
2015-10-05 15:23:20 +01:00 |
|
artemp
|
9c292595b4
|
use mapnik::quad_tree<T>
|
2015-09-29 12:21:02 +01:00 |
|
artemp
|
c1d9bc909e
|
csvindex - initial commit (work-in-progress)
|
2015-09-15 10:55:59 +01:00 |
|
artemp
|
8c6bf0eef6
|
update copyright notice
|
2015-06-16 12:49:16 +02:00 |
|
artemp
|
2565dc0975
|
remove unused boost::tokenizer headers from mapnik/utils
|
2015-05-15 16:55:30 +01:00 |
|
artemp
|
5678e55abf
|
shapeindex - use range based for loop
|
2015-02-19 11:04:13 +01:00 |
|
Dane Springmeyer
|
5424c350cd
|
avoid inf loop on empty point3d shapefile
|
2015-02-13 00:04:09 -08:00 |
|
artemp
|
884de5a044
|
fix condition for skipping M (measure) in PointZ
|
2015-02-12 22:18:00 +01:00 |
|
artemp
|
333965b588
|
update copyright year
|
2014-11-20 15:25:50 +01:00 |
|
Dane Springmeyer
|
83588937b9
|
silence boost warnings
|
2014-10-21 16:37:27 -07:00 |
|
Dane Springmeyer
|
57c9aee63d
|
shapeindex: more consistent error output
|
2014-05-11 12:41:08 -07:00 |
|
Dane Springmeyer
|
404e221c25
|
fix #2239
|
2014-05-11 12:40:24 -07:00 |
|
Dane Springmeyer
|
2e6de5cc97
|
remove unused variables
|
2014-03-18 14:09:44 -07:00 |
|
Dane Springmeyer
|
0365d3e081
|
start centralizing filesystem operations in mapnik::util::fs - refs #1177
|
2013-06-02 19:28:24 -07:00 |
|
Dane Springmeyer
|
bdc262d711
|
remove old versioning strings
|
2013-03-13 13:06:10 -07:00 |
|
Matt Amos
|
38e7b7cce0
|
Still need to increment pos counter in shapeindex even when the geometry is null, otherwise reads are possible beyond the end of file.
|
2012-02-10 15:21:02 +00:00 |
|
Dane Springmeyer
|
39d199aa49
|
code formatting
|
2011-11-13 19:54:32 -08:00 |
|
Artem Pavlenko
|
3436fe0f05
|
+ handle null shapes
|
2011-08-12 16:43:12 +00:00 |
|
Artem Pavlenko
|
0e0b7a578c
|
+ implement memory mapping using boost::interprocess
+ cache mapped memory regions for re-use
|
2011-04-06 13:02:31 +00:00 |
|
Lucio Asnaghi
|
e53b490167
|
- added verbose option to shapeindex
|
2010-11-10 11:55:22 +00:00 |
|
Dane Springmeyer
|
26e4fedfde
|
be careful with output streams
|
2010-07-22 01:16:48 +00:00 |
|
Dane Springmeyer
|
200e9096e9
|
strip the file extention of '.shp', if provided, as the shapefile driver does not expect the ext. This allows a directory of shapefiles to be indexed like:
|
2010-07-16 23:28:53 +00:00 |
|
Artem Pavlenko
|
246731874b
|
+ apply 'mapnik-format' to *.cpp *.hpp
|
2010-06-02 11:03:30 +00:00 |
|
Dane Springmeyer
|
c30ceb1be4
|
improve shapeindex support for pointz
|
2010-01-30 01:02:04 +00:00 |
|
Artem Pavlenko
|
47dc1e197b
|
+ merge mapnik2 to trunk
|
2009-12-16 20:02:06 +00:00 |
|
Lucio Asnaghi
|
58132598f9
|
+ shapeindex: gracefully exit when a shape file doesn't exists (closing #321)
|
2009-04-28 19:54:34 +00:00 |
|
Artem Pavlenko
|
24c605e807
|
added missing std namespace
|
2008-02-20 09:57:37 +00:00 |
|