Alex has just invited all face-in-the-book holders to join the newly launched OSGeo group.
Monthly Archives: April 2009
Generic Geometry Library
Two months ago Barend Gehrels announced on the OSGeo Discuss list ongoing Open Source project called Generic Geometry Library, GGL in short.
The Generic Geometry Library provides a generic implementation of geometry algorithms, working with geometry types provided by the library itself as well as user-defined types. The library is implemented in C++ programming language with extensive use of elements of metaprogramming like class (type) templates, static polymorphism and compile-time execution. Consequently, GGL is built upon two of the greatest pieces of C++ code ever written by humanity: C++ Standard Library and Boost C++ Libraries.
In my opinion, this project is valuable and have potential which may interest many of us, FOSS4G users and developers. The OSGeo Foundation agreed to host this mailing list ggl@lists.osgeo.org dedicated to discussions development and use of the Generic Geometry Library.
Make’ing PostGIS database
I’ve extended Sean’s idea of baking PostGIS-enabled databases using GNU Make a little bit and prepared new version of Makefile.postgis.
How to use it:
- Install it to save yourself some typing:
$ ln -s Makefile.postgis Makefile
- Run
maketo get basic usage information:$ make ****** Makefile.postgis usage ****** *** Create new PostGIS database: DBNAME=mydb make -f Makefile.postgis create *** Drop PostGIS database: DBNAME=mydb make -f Makefile.postgis drop *** Check if database exists and PostGIS if enabled with PostGIS: DBNAME=mydb make -f Makefile.postgis check *** Check if database exists: DBNAME=mydb make -f Makefile.postgis check-db *** Check if database is enabled with PostGIS: DBNAME=mydb make -f Makefile.postgis check-postgis
- Check if your database exists:
$ DBNAME=mydb make check-db ****** Makefile.postgis ****** ****** Database 'mydb' not found
- Create your database with PostGIS extension installed:
$ DBNAME=mydb make create ****** Makefile.postgis ****** ****** Creating database 'mydb'... ****** Loading PostGIS into 'mydb'...
- Check what has been created and installed:
$ DBNAME=mydb make check ****** Makefile.postgis ****** ****** Database 'mydb' found ****** Makefile.postgis ****** ****** Database 'mydb' is enabled with PostGIS 1.4 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
- When you don’t need your database anymore, just drop it:
$ DBNAME=mydb make drop
LAS Data Triangulation Tool
Two days ago Martin Isenburg announced new tool added to LASTools package (Martin’s tools where used as an inspiration and foundation to build libLAS package). It’s las2tin program:
A little tool available that triangulates LIDAR in LAS format and stores the result either as a (self-contained) OBJ file or as a list of indexed triangles in ASCII format