Re: [Geotools-devel] Shapefile Plugin documentation page outdated

2015-04-22 Thread Jody Garnett
Have a look at http://docs.geotools.org/latest/userguide/library/data/shape.html In the future you can edit docs directly from github, it shows up as a pull request for me to review. The geoserver project provides the best instructions on how: http://docs.geoserver.org/latest/en/docguide/quickfix

Re: [Geotools-devel] Shapefile Plugin documentation page outdated

2015-04-21 Thread Jody Garnett
Thanks for the feedback, I think we should be able to use the try-with-resources to take care of your iterator. -- Jody Garnett On 21 April 2015 at 12:27, Stefan Krausler wrote: > Maven artifactId should be update from gt-shape to gt-shapefile. > > The code sample for accessing is not working.

[Geotools-devel] Shapefile Plugin documentation page outdated

2015-04-21 Thread Stefan Krausler
Maven artifactId should be update from gt-shape to gt-shapefile. The code sample for accessing is not working. Updated working Version without any filter: File file = new File("example.shp"); Map map = new HashMap(); map.put("url", file.toURL()); DataStore dataSto