GeoTools

Geometry Converter Interface

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 2.1.M3
  • Fix Version/s: None
  • Component/s: data, jdbc-oracle plugin
  • Labels:
    None

Description

Kris Nuttycomb has submitted a new GeometryConverter interface. They based it off of the oracle GeometryConverter, as they found it useful, but wanted the interface so they could do Informix Spatial stuff as well. It makes sense for us to have it as an interface. So we need to review the interface, and also the fixes for the oracle interface. This will open the way for an Informix implementation, which will make possible an Informix DataStore, which would be nice to have.

We do need to figure out where the interface should live, probably in main, perhaps in jdbc, perhaps even more central. One route worth investigating is to adapt it even more generically. I'm not quite sure what would be involved in that, but it seems like other current datastores might be able to use it as well.

I'm marking this as 2.1.M3, though the patch is written against 2.0.0. This reflects the fact that I don't have much time, and feel it's more important to get on the future geotools stuff, and we should be stable on 2.1 in two months. If anyone is interested in getting it on 2.0 then they can go for it.

  1. ConversionException.java
    01/Feb/05 6:13 PM
    2 kB
    Chris Holmes
  2. GeometryConverter.java
    01/Feb/05 6:12 PM
    2 kB
    Chris Holmes
  3. GeometryConverter.patch
    01/Feb/05 6:13 PM
    4 kB
    Chris Holmes
  4. geotools-informix.tgz
    01/Feb/05 6:11 PM
    3 kB
    Chris Holmes

Activity

Hide
Chris Holmes added a comment -
Could you look into this? Or pass it off to Jody? It's a nice improvement, and could be the start of an informix datastore, if we have a nice common api to access geometry converters.
Show
Chris Holmes added a comment - Could you look into this? Or pass it off to Jody? It's a nice improvement, and could be the start of an informix datastore, if we have a nice common api to access geometry converters.
Hide
Anonymous added a comment -
What ever happened to this? I was just browsing the 2.1 source and realized that these patches never made it in to the release. Would it be possible to add it for 2.2, or at least get them into the trunk for whatever the next release is?

Thanks,

Kris Nuttycombe
Show
Anonymous added a comment - What ever happened to this? I was just browsing the 2.1 source and realized that these patches never made it in to the release. Would it be possible to add it for 2.2, or at least get them into the trunk for whatever the next release is? Thanks, Kris Nuttycombe
Hide
Chris Holmes added a comment -
Sorry about this, I forgot about it, and don't have oracle access which I wanted to use to test it. I will get it in, probably just put the converter in main...

Someone is also asking about an informix datastore, so this will be a good start, and will give us someone to maintain it.
Show
Chris Holmes added a comment - Sorry about this, I forgot about it, and don't have oracle access which I wanted to use to test it. I will get it in, probably just put the converter in main... Someone is also asking about an informix datastore, so this will be a good start, and will give us someone to maintain it.
Hide
Jody Garnett added a comment -
So let me get this straight, there is a new GeometryConverter interface? Is it a general solution? aka plug one of these into a geometry less datastore and you are done? Or is based on sdo jar like Marc wants to look into ...
Show
Jody Garnett added a comment - So let me get this straight, there is a new GeometryConverter interface? Is it a general solution? aka plug one of these into a geometry less datastore and you are done? Or is based on sdo jar like Marc wants to look into ...
Hide
Andrea Aime added a comment -
Chris, what's this?
Show
Andrea Aime added a comment - Chris, what's this?
Hide
Chris Holmes added a comment -
Some guys leveraged some geotools code for Informix. They liked how Oracle converted between Oracle and JTS, so they took the class and made an interface out of it. If anyone wants to start an informix datastore this is probably a good place to start. Barring that I think we can just leave this be.
Show
Chris Holmes added a comment - Some guys leveraged some geotools code for Informix. They liked how Oracle converted between Oracle and JTS, so they took the class and made an interface out of it. If anyone wants to start an informix datastore this is probably a good place to start. Barring that I think we can just leave this be.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: