proj4js / wkt-parser

parse all the wkt
Other
20 stars 15 forks source link

add ProjectionDefinition.title from wkt.AUTHORITY #29

Closed ftoromanoff closed 1 month ago

ftoromanoff commented 1 month ago

Following the DefinitelyTyped/types/proj4 (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/72db0783554789ef424e5dc5a207a028c2a0169f/types/proj4/index.d.ts) title in ProjectionDefinition should be mandatory but is nowhere to be found in index.cleanWKT(). I just added the fact that in cas ther is an AUTHORITY defined in the wkt that we use this information as title (parsed as a string).

In case i'm not posting in the right place, or i'm not following the way it should be, fell free to tell me where and what I should do.

Thanks