|
Welcome to the GeoAPI home page. GeoAPI provides a set of interfaces from OpenGISĀ® specifications. |
DownloadGeoAPI 2.0 Release |
NewsYou can Add News at the top of this page, or visit past news entries using Browse Space.
Last changed Jul 28, 2008 18:33 by jgarnett
The GeoAPI 2.2-M1 milestone release has been deployed to our maven repository. This tag contains some interesting work:
Thanks to everyone who helped out and provided feedback.
Last changed Sep 13, 2007 13:24 by jgarnett
2.1-M9 has been released into our maven repository. This release includes the results of a review of our "General Feature Model". These interfaces are a compromise between GeoAPI 2.0 and ISO19109. For GeoAPI 2.0 users:
And now over to Justin: Hi all, Time for round2 with geoapi. Based on andreas initial feedback and the thread that resulted I have taken a crack at simplifying the model. Here is a summary of what I have done. JavaDocsJavaDocs are now to the point, and no longer a brain dump from Jody. They should be much more approachable from the normal java programmer point of view, and less in terms of Rob A (sorry Rob Attribute methods pushed up to PropertyAll the "meat" is now on the Property interface. This makes it more much more possible to write code against Property directly, and not have to worry about if its actually an Attribute or an Association. For this reason, there is not longer a real need for the "view" methods. When I say "view method" what i mean is:
Added useful methods to ComplexFeatureBefore, the only access to the properties of a ComplexFeautre were through:
This is a pain, because more often then not you know that you have only Property getProperty( Name ); The javadocs on these methods clearly state that the first property CRS only available on GeometryTypeBefore a CRS was available from the following:
That has been changed so that it is only available on GeometryType and FeatureType. The javadoc for FeatureType.getCRS() clearly states that the crs is derived from the default GeometryType. I found this useful to get out of writing code like this (like i have so many times): CRS crs = ... if ( featureType.getDefaultGeomtry() != null ) { crs = featureType.getDefaultGeometry().getCRS(); } Killed FeatureCollectionOK I did not kill it... but I killed it from the factories. Basically FeatureCollection in geoapi should be ignored. Java Bean ConventionsAll methods follow java bean naming conventions UserDataInstead of rolling our own interface which looks like a half baked
SimpleFeatureI changed the following methods:
to:
(and the corresponding setter methods). Also changed:
to:
Now things get a bit interesting here. Note that these methods return the attribute value, and not the attribute itself. This might be a bit confusing in terms of naming conventions, but it has a few key advantages:
Talking with Jody on this one we are a bit torn. It would be great to have more feedback on this one. And that is it. Let me know what you all think. Let the second round of review begin. -Justin – Justin Deoliveira The Open Planning Project http://topp.openplans.org |
Quick Links |