Opened 15 years ago

Closed 15 years ago

#340 closed enhancement (fixed)

configure EPSG-List in mod_changeEPSG.php

Reported by: frankjaeger Owned by: mapbender_dev@…
Priority: minor Milestone: 2.6 release
Component: administration Version: 2.5
Keywords: mod_changeEPSG.php, EPSG Cc:

Description

The available SRSs (EPSG) are hard-coded in the option-list at the bottom of mod_changeEPSG.php. They have to be configured for each Mapbender-Installation. The configuration starts again after each update, because it's overwritten with a new version of mod_changeEPSG.php.

It's a good idea first to split configuration from other PHP-code. This will work even after updating mapbender.

May be it's a better idea to make EPSG-Codes individual for each GUI (element-vars?). Some guis show big areas with need for EPSG:4326. Other guis uses 'setScaleHint' wich not really likes EPSG:4326.

Change History (1)

comment:1 by astrid_emde, 15 years ago

Resolution: fixed
Status: newclosed

The available SRSs (EPSG) are hard-coded in the option-list at the bottom of mod_changeEPSG.php

  • this changed in Version 2.6. You define the options in the element-definition in column e_content like this
<option value="">undefined</option>
<option value="EPSG:4326">EPSG:4326</option>
<option value="EPSG:31466">EPSG:31466</option>
<option value="EPSG:31467">EPSG:31467</option>

I will close this ticket now. If you have any comments or think it is not fixed, feel free to open it again

Note: See TracTickets for help on using tickets.