Skip to content

Instantly share code, notes, and snippets.

View palmerj's full-sized avatar

Jeremy Palmer palmerj

  • Toitū The Whenua Land Information New Zealand
  • Wellington, New Zealand
View GitHub Profile
tippecanoe -P -X -f -o primary_parcels_2.mbtiles --merge-polygons-as-needed --no-polygon-splitting ../nz_primary_parcels.json
For layer 0, using name "nz_primary_parcels"
../nz_primary_parcels.json:331904: Found ] at top level
../nz_primary_parcels.json:276182: Reached EOF without all containers being closed
In JSON object {"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4167"}},"features":[]}
2494590 features, 306984651 bytes of geometry, 8 bytes of separate metadata, 0 bytes of string pool
tile 5/31/20 size is 800930 with detail 12, >500000
Going to try merging the densest 43.82% of the features to make it fit
tile 5/31/19 size is 970782 with detail 12, >500000
Going to try merging the densest 53.65% of the features to make it fit
@palmerj
palmerj / gist:6219582
Last active December 21, 2015 00:19
qgis filegdb bt
#0 0x00007fffeab51502 in FileGDBAPI::Geodatabase::IsSetup() const ()
from /opt/FileGDB_API/lib/libFileGDBAPI.so
#1 0x00007fffeab518c3 in FileGDBAPI::Geodatabase::GetQueryName(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) const
() from /opt/FileGDB_API/lib/libFileGDBAPI.so
#2 0x00007ffff51e6782 in FGdbLayer::Initialize(FGdbDataSource*, FileGDBAPI::Table*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >) () from /usr/local/lib/libgdal.so.1
#3 0x00007ffff51dac6e in FGdbDataSource::OpenFGDBTables(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >
@palmerj
palmerj / gist:3139358
Created July 18, 2012 22:27
qgis master ldd output
ldd ./Dev/qgis/install-master/bin/qgis
linux-vdso.so.1 => (0x00007fff42d01000)
libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x00007fd85d745000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00007fd85d507000)
libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x00007fd85bda4000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007fd85ac90000)
libqgis_core.so.1.9.0 => /home/jpalmer/Dev/qgis/install-master/lib/libqgis_core.so.1.9.0 (0x00007fd85a5ee000)
libqgis_gui.so.1.9.0 => /home/jpalmer/Dev/qgis/install-master/lib/libqgis_gui.so.1.9.0 (0x00007fd85a0be000)
libqgis_analysis.so.1.9.0 => /home/jpalmer/Dev/qgis/install-master/lib/libqgis_analysis.so.1.9.0 (0x00007fd859e21000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007fd859bf5000)