Ticket #15 (closed enhancement: fixed)

Opened 2 years ago

Last modified 19 months ago

Add Geographic Attribute(s) to Factlet (req. Geographic Data Type in Domain Model)

Reported by: rgrp Owned by: rgrp
Priority: critical Milestone: v0.3
Component: core Version:
Keywords: Cc:

Description

As A

Developer

I want to

Add geographic (locational) attributes to Factlets.

Details

To implement this will require either:

  • Storing simple strings which are then 'parsed'/manipulated outside of the DOM.
    • Could get away with this if we are pushing straight through the DM to (e.g.) Google Maps.
    • However this has the disadvantage that the geo data is essentially opaque to use at the DM level which makes things like querying difficult ...
  • Use geotypes and then create a specific sqlalchemy type as detailed in  http://blog.bycycle.org/2007/01/29/using-postgis-with-sqlalchemy/

Change History

Changed 20 months ago by rgrp

Looks like we really want to use/integrate with these two parts of PCL:

In particular we need to connect Shapely objects to sqlalchemy. Examples of how to do this (Unfortunately the bycyle.org code no longer seems available with trac link leading to a page saying this website is coming soon).

Changed 19 months ago by rgrp

  • status changed from new to closed
  • resolution set to fixed

See r131.

Note: See TracTickets for help on using tickets.