Re: [gdal-dev] Changing precision of coordinates in Python OGR API

2011-08-16 Thread Roger André
Works brilliantly, thanks again. - Set env var: export OGR_WKT_PRECISION=4 - In Python interpreter: from osgeo import ogr datasource = ogr.Open('World_Admin_2.shp') layer = datasource.GetLayer(0) feat = layer.GetNextFeature() geom = feat.geometry() wkt = geom.ExportToWkt() was: 151.857685024

Re: [gdal-dev] Changing precision of coordinates in Python OGR API

2011-08-16 Thread Roger André
Thanks Chaitanya, I like the look of that second option. If I understand correctly what Even says, I should then be able to call the *ExportToWKT() *method with a precision parameter? Roger -- On Tue, Aug 16, 2011 at 10:36 PM, Chaitanya kumar CH wrote: > Roger, > > OGR doesn't support control

Re: [gdal-dev] Changing precision of coordinates in Python OGR API

2011-08-16 Thread Chaitanya kumar CH
Roger, OGR doesn't support control of coordinate precision. You need to do this yourselves. You can get the WKT of the geometry and and edit the string. If you are willing to recompile GDAL/OGR, you can modify the code that creates the WKT. Even wrote how to do this in this mailing list [1]. [1]:

[gdal-dev] OGR/PROJ with +geoidgrids

2011-08-16 Thread Ben Discoe
It is true that geocentric XYZ coordinates are not very useful, without being able to convert them to coordinate with orthometric ("geoid") ("sea level") height. Frank implemented 'preliminary' support for this, which i am preparing to test now. Before expecting it to work in GDAL/OGR, i thoug

[gdal-dev] Changing precision of coordinates in Python OGR API

2011-08-16 Thread Roger André
Hi All, I have an assignment that requires me to truncate the precision of all my polygon coordinates to 6 decimal places. Is there an easy way to do this while I have the feature opened with OGR and can access its ogr.Geometry directly? If not, can someone recommend a good way to iterate throug

Re: [gdal-dev] Re: Wildfire mapping

2011-08-16 Thread Mark Zaller (AerialFireTech)
Peter & Brent, Thanks. Some of those are new to me & very interesting. I'm currently preparing the proposal to NASA. It's due in a few weeks with phase 1 project planning to be awarded by end of year, and hard development (phase 2) starting next summer. Automating what the current system already

Re: [gdal-dev] Re: Wildfire mapping

2011-08-16 Thread Peter Baumann
Mark, For data management and ad-hoc analytics of (multi-dimensional) raster data let me add rasdaman (www.rasdaman.org) to the list. regards, Peter On 08/16/2011 04:35 PM, Brent Fraser wrote: Mark, There are a few Open Source projects you could look into 3D visualization environmen

Re: [gdal-dev] Re: Wildfire mapping

2011-08-16 Thread Brent Fraser
Mark, There are a few Open Source projects you could look into 3D visualization environment: VTP WorldWind OssimPlanet Orthorectification of Video: OSSIM OMAR? Image Processing / Feature Extraction OTB GRASS And I'm sure there are others. The system you describe wou

Re: [gdal-dev] Re: Wildfire mapping

2011-08-16 Thread Chris 'Xenon' Hanson
On 8/15/2011 10:35 PM, Mark Zaller (AerialFireTech) wrote: > Hello, I'm pursuing a project to automatically map wildfires, and am looking > for people > who could contribute to this. > I volunteer as an Air Attack pilot over wildfires, and have developed an in > cockpit > Augmented Reality system