This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build mapnik with -O4 | |
# notes for Ubuntu desktop 11.04 running with 4 GB | |
# as guest within VirtualBox using OSX 10.7 Host | |
$ lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 11.04 | |
Release: 11.04 | |
Codename: natty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## install mapnik 2.x (trunk) from nightlies | |
# be careful with this because these change nightly | |
# and may require you re-compile apps using mapnik | |
# after you run `apt-get upgrade` post installation of mapnik | |
apt-get install python-software-properties | |
apt-add-repository ppa:mapnik/nightly-trunk | |
sudo apt-get update | |
sudo apt-get install libmapnik2 libmapnik2-dev mapnik2-utils python-mapnik2 | |
## install ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for i in $(ls ../benchmarking/wms/2011/data/*.bil); do gdalinfo $i;done | |
Driver: EHdr/ESRI .hdr Labelled | |
Files: ../benchmarking/wms/2011/data/NED_17672037.bil | |
../benchmarking/wms/2011/data/NED_17672037.bil.ovr | |
../benchmarking/wms/2011/data/NED_17672037.blw | |
../benchmarking/wms/2011/data/NED_17672037.bil.aux.xml | |
../benchmarking/wms/2011/data/NED_17672037.hdr | |
../benchmarking/wms/2011/data/NED_17672037.stx | |
../benchmarking/wms/2011/data/NED_17672037.prj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# line symbolizer on 10m-admin-0-countries.shp | |
* linejoin can double line rendering times | |
* approximation scale can mostly avoid, but ideally don't use linejoin unless absolutely necessary | |
## default line symbolizer | |
$ howfast.py world_merc.xml 10 | |
min: 0.2484 | avg: 0.2500 | total: 2.4999 | |
## additional impact of "round" linejoin | |
min: 0.3711 | avg: 0.3736 | total: 3.7358 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/src/mapnik2 | |
make uninstall | |
stop tilemill | |
apt-add-repository ppa:developmentseed/mapbox | |
apt-add-repository ppa:chris-lea/node.js | |
apt-get update -y | |
apt-get install -y tilemill | |
apt-get install -y python-mapnik2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup: | |
sudo opcontrol --reset | |
sudo opcontrol --separate=lib --separate=library | |
sudo opcontrol --start | |
Then after running: | |
sudo opcontrol --stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: plugins/input/sqlite/sqlite_datasource.cpp | |
=================================================================== | |
--- plugins/input/sqlite/sqlite_datasource.cpp (revision 3280) | |
+++ plugins/input/sqlite/sqlite_datasource.cpp (working copy) | |
@@ -632,11 +632,12 @@ | |
Use rtree to limit record id's to a given bbox | |
then a btree to pull the records for those ids. | |
*/ | |
+ | |
std::ostringstream spatial_sql; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: include/mapnik/palette.hpp | |
=================================================================== | |
--- include/mapnik/palette.hpp (revision 3274) | |
+++ include/mapnik/palette.hpp (working copy) | |
@@ -161,8 +161,6 @@ | |
std::vector<unsigned> alpha_pal_; | |
}; | |
-static rgba_palette _rgba_palette; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After updating to svn r139135 from r138729 I'm now seeing: | |
[ 2/17] cxx: src/mapnik_map.cpp -> build/default/src/mapnik_map_1.o | |
clang: warning: argument unused during compilation: '-compatibility_version 1' | |
clang: warning: argument unused during compilation: '-current_version 1' | |
0 clang 0x0000000101283c32 llvm::SmallVectorImpl<llvm_regmatch_t>::resize(unsigned int) + 2498 | |
1 clang 0x0000000101284229 llvm::SmallVectorImpl<llvm_regmatch_t>::resize(unsigned int) + 4025 | |
2 libSystem.B.dylib 0x00007fff8304e1ba _sigtramp + 26 | |
3 libSystem.B.dylib 0x0000000101a8ca00 _sigtramp + 2124671072 | |
4 clang 0x00000001011e09da llvm::StringMapEntry<llvm::MDString*>& llvm::StringMap<llvm::MDString*, llvm::MallocAllocator>::GetOrCreateValue<llvm::MDString*>(llvm::StringRef, llvm::MDString*) + 42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ svn st | |
? mapnik/results/jmeter_summary.txt | |
? qgisms/qgisms-vector-3857-seed-pg.jmx | |
? qgisms/qgisms-vector-3857-pg.jmx | |
A qgisms | |
A + qgisms/servername-vector-3857-seed-pg.jmx | |
A + qgisms/servername-vector-3857-pg.jmx | |
? mapserver/results | |
? mapserver/windows | |
? mapserver/csv |