<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-signature">Hi everyone. I have finally found the
answer:<br>
To work with EPSG: 25830, I added the projection to the files
common_metadata.map, I modified the geomoose_globals.map and the
app.js.<br>
The solution:<br>
<br>
common_metadata.map<br>
# Useful global metadata settings,<br>
# enabled all WxS requests, sets common projections,<br>
# and defaults to JSON for default wms_feature_info<br>
#<br>
<br>
'ows_enable_request' '*'<br>
'ows_srs' 'EPSG: 25830 EPSG: 4326 EPSG: 3857'<br>
'wfs_srs' 'EPSG: 25830 EPSG: 4326 EPSG: 3857'<br>
'wms_feature_info_mime_type' 'application / json'<br>
<br>
geomoose_globlas.map<br>
# A convienent place to setup a bunch of defaults for MapServer<br>
# so they don't need to be set in every mapfile.<br>
PROJECTION<br>
;"init = epsg: 25830"<br>
END<br>
EXTENT 746000 4304950 758100 4314500<br>
<br>
app.js:<br>
app.loadMapbook({url: 'mapbook.xml'}).then(function() {<br>
// set the default view.<br>
app.setView({<br>
center: [ -<font color="#ff0000">10682 , 4708000 </font>],<br>
zoom:13<br>
});<br>
</div>
<div class="moz-signature"><br>
app.addProjection({<br>
ref: 'EPSG:25830',<br>
def: '+proj=utm +zone=30 +ellps=GRS80 +datum=NAD83
+units=m +no_defs'<br>
});</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">app.registerAction('fullextent',
ZoomToAction, {<br>
extent: [-<font color="#ff0000">18500,4702000,-3000,4715000</font>]<br>
});</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">var point_projections = [<br>
{<br>
label: 'UTM ETRS 89',<br>
ref: 'EPSG:25830'<br>
},<br>
{<br>
label: 'X Y: ',<br>
ref: 'xy'<br>
},<br>
{<br>
label: 'Lat,Lon',<br>
ref: 'latlon'<br>
}<br>
];<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">app.add(gm3.components.JumpToExtent,
'jump-to-extent', {<br>
locations: [<br>
{<br>
label: 'Termino Municipal',<br>
extent: [-<font color="#ff0000">18500,4702000,-3000,4715000</font>]<br>
},<br>
{<br>
label: 'Casco Urbano',<br>
extent: [<font color="#ff0000">-14600,4708500,-11690,4711200</font>]<br>
},<br>
{<br>
label: 'Playas',<br>
extent: [<font color="#ff0000">-12900,4708190,-6912,4713700]</font><br>
}<br>
]<br>
});<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Notaci that coordinates for the view are
in X,Y, not in UTMETRS89....<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Now I would like to know how to change
the scalebar units ... still in miles ...<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">-- <br>
<table style="width: 100%; height: 119px; border-bottom-color:
#FF9900; border-bottom-style: solid; border-bottom-width: thin;
border-top-color: #FF9900; border-top-style: solid;
border-top-width: medium;" width="50%">
<tbody>
<tr>
<td width="305" height="163"><a href="http://oliva.es/es/">
<img
src="http://oliva.es/wp-content/uploads/2017/01/AJUNTAMENT_O-1.jpg"
alt="" class="auto-style1" width="305" height="159"></a></td>
<td width="925">
<div><strong>Cap del Departament de Cartografia i
Topografia</strong></div>
<div>Lara Perez Bessone</div>
<div>Enginyera Tecnica Topografa Municipal</div>
<div class="auto-style4">email: <a class="moz-txt-link-abbreviated" href="mailto:topografia@oliva.es">topografia@oliva.es</a> Tel.
mòvil: 647 835 086 ext. 521</div>
<br class="auto-style1">
<div class="auto-style4"><strong class="auto-style2">Ajuntament
d'Oliva - València</strong></div>
<div class="auto-style4">Plaça del Ajuntament 1, 46780
Oliva</div>
<div class="auto-style4">Tel. 962850250 Fax 962855165
<a class="moz-txt-link-abbreviated" href="http://www.oliva.es">www.oliva.es</a></div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>