ngageoint / geopackage-android

GeoPackage Android Library
http://ngageoint.github.io/geopackage-android
MIT License
94 stars 32 forks source link

How to create a custom SpatialReference? #64

Closed anwz0611 closed 3 years ago

anwz0611 commented 3 years ago

How to create a custom SpatialReference? When I try to create a custom SpatialReference. Throw the wrong : mil.nga.sf.util.SFException: Failed to create projection for authority thanks

bosborn commented 3 years ago

I assume you resolved your issue, but just in case.

An example of creating a custom SRS

If you want to use a projection for custom SRS as indicated by the error, you can add custom projections. By default, there is built in authority support for epsg, ogc, and none.