GML Geometry
Jump to navigation
Jump to search
Both deegree and GeoTools are running geometry constructs based on GML (or ISO19107 which GML builds on). These ideas go far beyond what is offered by the SFSQL implementation offered by JTS.
We have had a couple of IRC meetings and a Code Sprint in order to start grabbing things together.
Direction
Discussions on java-collab email list have led to the following decisions.
- GML rather then ISO19107
- OSGEO to hold the resulting code; will create a "Lab" when we have code base and an agreed framework for collaboration
- LGPL
- Interface/Factory rather then Class
Planning
Some subset of Markus Schneider's proposal:
- DONE - Remove all topological and spatial analysis methods in the interfaces from the SVN for now, so we can focus on sanitising the model.
- Add factories. I would like to add two factories similar to the ones in the deegree 3 SVN:
- SFS geometries:
- ISO 19107/GML 3
- In deegree 3, these factories are bound to a JTS-based implementation. As we only have interfaces for the geometry types in the osgeom repository for now (and no implementations), I would create interfaces from the factories.
- Add a basic implementation that is just a bean representation without operations. We could finally start to add JUnit tests then.
- Add GML parsers/exporters. I understood that one may want to keep this aspect out of the repository, but I don't see how we could test the difficulties in representing GML geometries (e.g external xlinks) without this. It also would make setting up geometries for testing much easier. Maybe we could keep the GML parsing/exporting isolated from the rest of the code.
- Of course we would take on the operations subject again, when we find consensus here.