Opened 16 years ago

Closed 16 years ago

#14 closed enhancement (fixed)

Add a tool for converting PROJ.4 catalogues into defs entries

Reported by: dgrichard Owned by: madair
Priority: major Milestone: 1.0.0
Component: core Version:
Keywords: Cc:

Description

Instead of maintaining defs Javascript files by hand for well-known coordinate reference systems, it would be interesting to convert existing catalogues like EPSG found in PROJ.4 into Javascript files for defs directory.

Attached are two Python scripts for doing such a task.
A catalogues directory should be added into lib directory.
I have also attached IGN France catalogue and CRS (OGC WMS) catalogues.
A subset of EPSG catalogue (covering French territories) is also attached.

Attachments (5)

mkpjcat.py (458 bytes ) - added by dgrichard 16 years ago.
catalogue converter (Python) - build directory
pjjs.py (3.0 KB ) - added by dgrichard 16 years ago.
proj.4 to javascript converter (Python) - tool directory
CRS (121 bytes ) - added by dgrichard 16 years ago.
CRS catalogue - catalogues directory
IGNF (26.7 KB ) - added by dgrichard 16 years ago.
IGNF catalogue - catalogues directory
EPSG (16.4 KB ) - added by dgrichard 16 years ago.
EPSG catalogue (subset) - catalogues directory

Download all attachments as: .zip

Change History (7)

by dgrichard, 16 years ago

Attachment: mkpjcat.py added

catalogue converter (Python) - build directory

by dgrichard, 16 years ago

Attachment: pjjs.py added

proj.4 to javascript converter (Python) - tool directory

by dgrichard, 16 years ago

Attachment: CRS added

CRS catalogue - catalogues directory

by dgrichard, 16 years ago

Attachment: IGNF added

IGNF catalogue - catalogues directory

by dgrichard, 16 years ago

Attachment: EPSG added

EPSG catalogue (subset) - catalogues directory

comment:1 by madair, 16 years ago

Status: newassigned

comment:2 by madair, 16 years ago

Resolution: fixed
Status: assignedclosed

I don't think that Proj4js should be maintaining a database of CS definitions, however I can see that these tools will be useful so I've added them, with slightly different directory structure.

Thanks for the contribution(s).

Note: See TracTickets for help on using tickets.