[Qgis-developer] Custom SRS in qGis2

Marica Landini bulma at ferrara.linux.it
Mon Nov 25 13:00:02 PST 2013


dear developers,
we need to add our custom SRS in qGis2, in order to build the right call to
our WMS with the correct EPSG,
for example:
http://servizigis.regione.emilia-romagna.it/wms/ctr5?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=760705.00661945529282093,931095.61931572866160423,761403.97892956342548132,931660.17387389298528433&CRS=EPSG:202003&WIDTH=988&HEIGHT=798&LAYERS=Ctr5&STYLES=&FORMAT=image/png&DPI=98&MAP_RESOLUTION=98&FORMAT_OPTIONS=dpi:98
until the version 1.8 we added manually in qGis our EPSG:202003
specifications accessing directly to the apps/qgis/resources/srs.db:

-- EPSG:202003
insert into tbl_srs ( srs_id, description,  projection_acronym,
ellipsoid_acronym,  parameters,  srid,  auth_name,  auth_id,  is_geo,
deprecated)
values( 10271, 'Monte Mario / UTMRER - ESRI', 'tmerc', 'intl',
'+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=500053.0 +y_0=-3999820.0
+ellps=intl +units=m +no_defs',  202003, 'EPSG', '202003', 0, 0);

we have done the same in qGis2 but still our EPSG:202003 it is not visible
in the list of available SRS in qGis2.

the question is?
-          how the list of available SRS is created when qGis starts?
-          is it possible to access to that list adding a “custom” EPSG
specifications ? (note that the qGis “Custom SR” functionality is not
enough for us, because then the call to WMS would be done with the value of
the parameter CRS=USER:100001 (for example) that it is not accepted by our
WMS server)

of course would be nice that the call to the WMS with a “Custom SR” with
the “name” (field “description” or  fields “auth_name”+”:”+“auth_id”) of
the SR and not with the “USER:”+auth_id, as actually is. this would solve
our problem of adding manually our SR in the srs.db.

thanks in advance,
Marica

-- 
Ti prego di cercare di non inviarmi files .doc, .xls, .ppt, .dwg
Preferisco formati liberi.
Please try to avoid to send me .doc, .xls, .ppt, .dwg files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format

Marica Landini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131125/831349ba/attachment.html>


More information about the Qgis-developer mailing list