Commit graph

2575 commits

Author SHA1 Message Date
Dane Springmeyer
40df7f57c3 sqlite: add auto-indexing of sqlite files if use_spatial_index=true and a spatial index is missing (which is the case for ogr2ogr -f SQLite created sqlite files) 2011-08-15 20:02:57 +00:00
Dane Springmeyer
94d3210bcd scons: fix handling of LIB_DIR_NAME which broke ubuntu nightlies and condence all path logic further 2011-08-15 07:00:06 +00:00
Dane Springmeyer
23fab382d6 scons: refactor mapnik-config, breaking out --libs, --ldflags, and --dep-libs and offering json output of core config - closes #789 2011-08-13 17:07:05 +00:00
Dane Springmeyer
2922a0db02 scons: don't link agg if runtiming linking is static 2011-08-13 03:25:07 +00:00
Dane Springmeyer
cfe49fcaf6 sqlite: enable dynamic querying of extent as a last fallback for non-spatialite and non-indexed sqlite files 2011-08-13 02:52:46 +00:00
Dane Springmeyer
17d5173678 restore compile with boost 1.42 2011-08-13 01:44:37 +00:00
Dane Springmeyer
8172dd4550 scons: fixup python paths 2011-08-12 21:43:43 +00:00
Dane Springmeyer
3974f333a7 scons: add missing import 2011-08-12 21:36:12 +00:00
Dane Springmeyer
97f6add14e scons: fix a few more scons files 2011-08-12 21:32:16 +00:00
Dane Springmeyer
3e67c1d694 scons: centralize install path info 2011-08-12 21:31:28 +00:00
Dane Springmeyer
c8a4c18ace fix expressions tests 2011-08-12 20:12:11 +00:00
Dane Springmeyer
c4deda8fce scons: copy env setting 2011-08-12 20:01:39 +00:00
Dane Springmeyer
da834706c6 scons: start condensing more global variables and improve support for static linking 2011-08-12 20:01:09 +00:00
Dane Springmeyer
9ae28abe50 scons: copy to avoid duplicate libs 2011-08-12 19:58:49 +00:00
Dane Springmeyer
f2074ae3af fix example code 2011-08-12 19:55:15 +00:00
Dane Springmeyer
0493b5086d formatting 2011-08-12 19:55:04 +00:00
Dane Springmeyer
f1b8f02110 sqlite: fix relative path logic for attachdb - closes #817 2011-08-12 19:26:30 +00:00
Dane Springmeyer
a7e67477a6 since r3091 sqlite.input throws upon empty index as well as missing index, so update the tests to create an index record 2011-08-12 19:14:48 +00:00
Dane Springmeyer
915a77a2f7 scons: use different constructions environment to avoid potential conflict when building libmapnik.a 2011-08-12 17:09:22 +00:00
Artem Pavlenko
4b09f3d750 + skip null shapes 2011-08-12 16:43:28 +00:00
Artem Pavlenko
7a00511a56 + cleanup 2011-08-12 16:43:21 +00:00
Artem Pavlenko
3436fe0f05 + handle null shapes 2011-08-12 16:43:12 +00:00
Dane Springmeyer
a506c7ba29 fix typo 2011-08-12 00:14:34 +00:00
Dane Springmeyer
4072daa34a scons: make potentially relative paths absolute for boost as well 2011-08-12 00:01:04 +00:00
Dane Springmeyer
d5035d0474 remove const from setter 2011-08-11 22:58:53 +00:00
Dane Springmeyer
3b424e3767 allow compile against ICU 4.0 - needed to be able to link against osx provided libicucore.dylib 2011-08-11 21:13:55 +00:00
Dane Springmeyer
af62ad9c27 scons: collect and propogate the libs used to link libmapnik 2011-08-11 21:11:11 +00:00
Dane Springmeyer
82ac99611e add LINKING option to control whether libmapnik is build static or shared and RUNTIME_LINK options to trigger dependency flags to compile against static libs 2011-08-11 19:14:00 +00:00
Dane Springmeyer
17e5fb7302 add PATH_INSERT option to allow pre-appending a PATH variable for finding programs like pkg-config and freetype-config and allow it and PKG_CONFIG_PATH setting to work with relative paths by completing dynamically 2011-08-11 15:49:57 +00:00
Dane Springmeyer
2d258e7bba scons: make speedier SCons startup default enabled 2011-08-11 14:35:02 +00:00
Dane Springmeyer
028f9ded5b scons: place warning modifiers directly after -Wall for clarity 2011-08-11 14:32:45 +00:00
Dane Springmeyer
15fa6f1e60 scons: add a WARNING_CXXFLAGS option which can be passed to place compiler warning modifiers after the default -Wall. This makes life better with the current clang/boost trunk warning - part of #805 2011-08-11 14:31:46 +00:00
Dane Springmeyer
64e2ffe226 scons: improve configure output around icu version checking 2011-08-11 14:17:17 +00:00
Artem Pavlenko
9a49b81318 + check if pos is valid while iterating through
shapes (don't use eof()!)
+ handle null_shapes better (TODO:testing)
2011-08-11 11:04:19 +00:00
Artem Pavlenko
2317efe15f + call update and emit signal after proj calc 2011-08-11 11:04:11 +00:00
Artem Pavlenko
5ddd7052e4 + apply try/catch around the attribute loop
+ code formatting
2011-08-11 11:04:04 +00:00
Dane Springmeyer
00866525fd sqlite: better error checking and reporting around an rtree spatial index that is empty 2011-08-10 23:42:47 +00:00
Dane Springmeyer
4a4ac626ef sqlite: handle a potentially quoted geometry table 2011-08-10 22:48:50 +00:00
Dane Springmeyer
75fef5e72a osx: provide a static libintl.a for libpq client statically linked by postgis.input 2011-08-09 17:19:58 +00:00
Dane Springmeyer
0dff982589 osx: config.py for static compile 2011-08-09 01:24:23 +00:00
Dane Springmeyer
536b627bfb osx: add details about static compile against libpq.a and dynamic compile against libicucore headers 2011-08-09 01:19:58 +00:00
Dane Springmeyer
3e66051ed6 osx: add new build notes for universal and static compile on >= 10.6 2011-08-08 22:00:53 +00:00
Dane Springmeyer
17854e6c4f shape: improve the error message when an invalid attribute is requested 2011-08-05 21:20:21 +00:00
Dane Springmeyer
518444a627 osx: cleanup cairomm details 2011-08-04 22:36:18 +00:00
Dane Springmeyer
8f1d434e0e make mapnik-config executable in place and fix missing cairo flags - a bug that snuck in after r2996 2011-08-04 20:32:40 +00:00
Dane Springmeyer
e8f997e43a add static builds notes 2011-08-04 20:03:55 +00:00
Dane Springmeyer
731bc4e99c fix intialization order warning 2011-08-04 19:05:28 +00:00
Dane Springmeyer
7effd038ba osx: new cairo deps versions, sqlite, and boost 2011-08-04 18:49:51 +00:00
Dane Springmeyer
0e490b1c25 ensure if 'key_field' is requested that the attribute also is available as a proper attribute 2011-07-29 20:08:09 +00:00
Dane Springmeyer
0613439c0d refactor postgis unique id support via 'key_field' keyword moving validation to datasource bind() and fixing attribute count to ensure 'key_field' also shows up in the attributes 2011-07-29 19:57:45 +00:00