I've been set a challenge which is a bit out of my comfort zone. I'm an esri developer trying to break into the open source world.

I've been asked to automate the update of some oracle SDO datasets. I have a boundaries dataset (X) that needs to match topologically with OS Mastermap data. At the moment, the Mastermap update is a manual process (disk in the post!). If a boundary in the OS data is updated e.g a field is reduced as a result of a new road, the same field in dataset X needs to be updated accordingly. At first, I'm expected to flag up any changes that will need to be made to dataset X. Eventually, dataset X will be updated automatically. I also need to store the changes made for audit purposes. I've been challenged to achive the above with an open source stack.

My initial thoughts are that a workflow could look like – download update -> import dataset -> select all new and updated toids in OS dataset -> some kind of spatial query to identify effected features in dataset x-> export selected features to archive -> edit selected to snap to new OS boundaries.

Has anyone attempted something similar? What tooling would the community recommend?

  • 1
    Do you want to keep using oracle spatial or not (a bit unclear whether storing the data is part of the "open source stack")?
    – johanvdw
    Jan 14, 2012 at 1:02
  • Hi johanvdw.Yes I do need to keep all data in SDO and georaster formats...any suggestions?
    – geo_james
    Jan 18, 2012 at 15:41

1 Answer 1


Have you looked at using the TOID in OS MASTERMAP with the Date fields of MASTERMAP to link the objects.

We have TOIDS from MASTERMAP assigned to other datasets so that the geometry is always taken from MASTERMAP until the TOID is ended in MASTERMAP and then the data is flagged in an audit table to say that there is no longer any data for this and we need to look at it.

We either update the SDO_GEOMETRY column in the dataset with that from MASTERMAP when we receive the MASTERMAP update, or depending on the dataset size create a view linked using the toid and dates.

This can then be added to a procedure along with the import of MASTERMAP data depending on how you receive it (ours is change only via FTP).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.