Open antinodes opened 12 years ago
Only an integer ID is not sufficient since this does not carry any semantics. Would you assume EPSG codes in that case? What about non-EPSG codes? I would opt for storing the entire srs definition rather than just a code as is done in the spatial_ref_sys table of vector spatial databases.
So the options are:
Did I miss an option?
2a is what we did in our tile format. 2b is similar but if you're only using one SRS in the database it felt like overkill. 3 is equivalent to 1 and/or 2b in the EWKT case since you're only storing an SRID code which in the postgis case is a reference to the primary key of the spatial_ref_sys table.
Should the SRID be stored as asimple integer or should it include the Authority Name?