Hi all,<br><br> I finally figured out that the examples of code on the website were for 2.7 only and not earlier versions. (unless there is an archive link i missed?). Also i happened to come up on a link of some lab tutorial on how to read a shapefile but it said<br>
that the link was broken because of documentation updates and it gives you 2 links but the links are broken(there was a comment from last year regarding this). <br><br>that link is here: <a href="http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile">http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile</a><br>
<br>Is there currently an up to date tutorial for 2.7 on how to read a shapefile? <br><br><br>Also, I have old code that uses the vividsolutions Geometry & the WKTReader to switch back and forth between this Geometry type and a srtext. <br>
<br>ex.<br><br> com.vividsolutions.jts.geom.Geometry jtsArea = area.getJTSGeometry();<br> CoordinateReferenceSystem originalCRS = area.getGtCRS();<br><br><br>Is there a way to interact or convert this to the org.geotools geometry class or how are those packages different? <br>
<br>I guess my initial goal is to just be able to read a shapefile(possibly casting a datastore to a shapefiledatastore or just using the datastore) and be able to get things like the CRS of the shapefile, the boundaries, etc. I am sure those things are easy once you can actually<br>
connect to the shapefile that you want to read from. <br><br>Thanks for all the help!<br><br>-Chad<br>