Geometries for Python
Update: http://sgillies.net/blog/429/geometries-for-python-update/
The next release of PCL will include two new components: PCL-Spatial, and PCL-Data, industrial-strength geometries and an agile feature model for Python programmers. I'm going to write about geometries today, and about the feature model in a day or two.
PCL-Spatial is a Python package that wraps and extends GEOS. The Geometry Engine - Open Source is a C++ port of Vivid Solutions' Java Topology Suite, and is the open source C/C++ library for spatial predicates and geometric operations. It's used in GDAL, MapServer, and MapGuide Open Source, to name a few applications, and Safe Software and Autodesk are funding work that will eventually produce a GEOS 3.0 release.
Why not use one of the existing Python geometry modules? Good question. The short answer is that none of them are quite good enough. Everything out there right now comes up a bit short in capability, usability, or portability.
Comments
Re: Geospatial on NPR
Author: Mark Whitney
"and how little use it is to someone driving a squad car or ambulance on network of streets" What is this part of Sean's statement based upon? Given the lack of implementation, how would anyone know? Given it's very valuable use to many thousands responding to disaster areas, and at least one percent of USA fire departments pre-911 for everyday use (same FD frequency as individual versions lat/long).... Similar system in Great Britain widespread..., is it "how little use" or is it "the extreme lack of leadership in USA government regarding a universal map reference has thus far kept it's usefulness from being fully realized, therefore recognized or even remotely known"?Re: Geospatial on NPR
Author: Sean
In a automobile, you are pretty much constrained to one dimension, and people still think in terms of "turn right on sycamore, left on oak, ..." because it really works. I'm not saying the national grid isn't useful, just that it doesn't help automobile navigation.Re: Geospatial on NPR
Author: Mark Whitney
Just saw my first TV commercial where the nav system in the vehicle was voice controlled. I'm driving down the road non-disaster/non-emergency, all street signs are present and accounted for, a friend calls me to invite me to a picnic using “0044 9732” (and just to be high-tech a few years from now..., nav system automatically computes for nearest grid/prompts for 100k id if different, then routes...), just repeating that simple 10 meter geoaddress..., with no worries re. street number and accuracy of geocodes, especially in rural areas, nor street names, multiple same city…, avenue, way, circle, route, hwy.... Of course, my friend could include a place name, street address... in voice or other commo should needs be, but with grid first communications, the future of location service devices, this would become a valuable advisory….. Mark "In a automobile, you are pretty much constrained to one dimension, and people still think in terms of "turn right on sycamore, left on oak, ..." because it really works. I'm not saying the national grid isn't useful, just that it doesn't help automobile navigation."