One more thing for shapefile ... http://jira.codehaus.org/browse/GEOT-1385

This is the first release in which indexed shapefile support is being 
provided as part of a core plugin( Previously it was in an optional 
extention). When writing up documentation for this beast:
- http://docs.codehaus.org/display/GEOTDOC/Shapefile+Plugin

I have run into a problem; namely the Maps used for parameters are not 
set up correctly. We really would like to use a Map.put("url", 
file.toURI().toURL() ) in both cases ... and have the factories figure 
out what is best to do.

There are two ways to proceed ...

Either:
- changed IndexedShapefileDataStoreFactory.URLP to be "url"
- update IndexedShapefileDataStoreFactory and ShapefileDataStoreFactory 
to create the correct thing depending on the pretense of an index (or 
create index being true)

Or:
- Update ShapefileDataStoreFactory to create the correct thing depending 
on the pretense of an index (or create index being true)
- Change IndexedShapefileDataStoreFactory to extend 
ShapefileDataStoreFactory, but only register one of them with the 
plug-in system

I am going to create a critical bug for this as it represents an API 
change that should be addressed before 2.4.0 hits the street, it is 
messing up documentation examples already.

Cheers,
Jody
PS. I know I merged this code as part of 2.4 getting started, I simply 
missed this in my code review at the time (documentation apparently 
catches usability errors).
> Jesse I have two lined up for you to confirm or deny:
> - http://jira.codehaus.org/browse/GEOT-532 
> ShapefileDataStore.getFeatureSource( ) doesn't work
> I think thise may be a simple WONT FIX
> - http://jira.codehaus.org/browse/GEOT-1048 GeoTools Factory lookup for 
> OSGi Envorinment
> If you can get your wiki page with a code example into the user guide 
> then we can close this one
> - http://jira.codehaus.org/browse/GEOT-1294 Shapefile datastore still 
> using the low accuracy JTS.transform(Envelope,...) method
> You could move this off to the next release.
>
> Please note that Gabriel is waiting on you for a question related to:
> - http://jira.codehaus.org/browse/GEOT-1192
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to