[Freegis-list] PCL 0.9.1 source release, yet another Python projection package

Sean Gillies sgillies at frii.com
Sun Nov 20 17:09:15 CET 2005


Hi all,

I made a source release of PCL yesterday, and it is available from

   http://www.gispython.org/downloads/gispy/

 From now on, all releases will be from that URL. 0.9.0 was the last  
sourceforge release. Changes in this version:

0.9.1: 19 November 2005
-----------------------
- Fixed typo in PostGIS LineString type, patch by jdenisgiguere  
(issue 81).
- Auto label angle is now the default for text symbolizers (issue 83).
- Default TextSymbolizers now should exhibit the "best" placement  
possible
   using collision avoidance and automatic label rotation. Distance  
between
   duplicate labels, and padding between labels can also now be  
controlled
   (issue 90).
- New cartography.referencing module can be installed and used  
independently
   of the rest of PCL. It depends *only* on the PROJ.4 library  
(ticket:20).

It's the last of these that inspired me to cut a release. If you've  
got PROJ.4 on your system, you can build, install, and use  
cartography.referencing independently of the rest of the Python  
Cartographic Library. This work is a by-product of my recent work on  
Nuxeo's CPSGeo product.

Notes about the development and testing of the module at

   http://trac.gispython.org/projects/PCL/wiki/ReferencingTransform

and usage documentation at

   http://trac.gispython.org/projects/PCL/wiki/HowToTransformCoordinates

Why cartography.referencing? I've been itching for something between  
OGR's osr.py (too complex) and PyProjection (forward/inverse only).  
cartography.referencing uses pj_transform() from PROJ.4 and so is  
roughly equivalent to the cs2cs utility function. For best  
performance, transform coordinates en masse rather than one at a time.

cheers,
Sean

---
Sean Gillies
sgillies at frii dot com
http://zcologia.com/news






More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)