There are a range of commercial support providers; but basically asking for a
complete program is a bit beyond what you can expect from a community user list
:-)
You are welcome to share your code and collaborate with those on the list to
work towards a solution; I do my best to capture as many examples as I can for
the user docs.
Still what you are asking about sounds just like "how do I read a value out of
a coverage"? I think you can do that with "evaulate":
GridCoverage2D coverage = reader.read(null); // direct access DirectPosition
position = new DirectPosition2D( crs, x, y); double[] sample = (double[])
coverage.evaluate( position ); // assume double // resample with the same array
sample = coverage.evaluate( position, sample );
Docs here:
- http://docs.geotools.org/latest/userguide/library/coverage/grid.html
>From there outputting a csv file using system.out you should be able to handle
>on your own?
--
Jody Garnett
On Tuesday, 21 June 2011 at 4:23 PM, pieter louw wrote:
> I have a query relating to this thread:
> http://osgeo-org.1803224.n2.nabble.com/Reading-ASTER-DEM-Data-td3728702.html
>
> The geotools code posted on there is incomplete and I'm struggling to get the
> right dependencies, repositories, import statements, etc set up for it to
> work.
>
> Is it possible for you to zip a small example netbeans project (Entire
> Project, including the pom.xml file), to read in an Aster DEM (GeoTiff
> Format) using a JFileDataStoreChooser, and then output a simple CSV file
> listing the Latitude, Longitude and Elevation for each pixel in the Tiff per
> line in the CSV File (i.e. each Point in the DEM)?
>
> I need this so I can feed it to an external transformation program (To get it
> to UTM or similar), and then I want to open it in point cloud friendly CAD
> software like PoinTools to run various algorithms on the point cloud.
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users