[Mapbender-users] Problem with SRS EPSG:4189
Seven (aka Arnulf)
seven at arnulf.us
Thu Aug 18 05:56:31 EDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Valenty,
in the capabilities document the bounding boxes for the corresponding
SRS are missing. The only one given is for 4326, which is why this is
the only one Mapbender will accept.
<SRS>EPSG:2201</SRS>
<SRS>EPSG:2202</SRS>
<SRS>EPSG:2203</SRS>
<SRS>EPSG:32618</SRS>
<SRS>EPSG:32619</SRS>
<SRS>EPSG:32620</SRS>
<SRS>EPSG:4189</SRS>
<SRS>EPSG:900913</SRS>
<LatLonBoundingBox minx="-73.38" miny="0.644" maxx="-58.177" maxy="12.198"/>
To this block wou will need to add the fo0llowing:
<BoundingBox SRS="EPSG:4189" minx="x lower left" miny="y lower left"
maxx="x upper right" maxy="y upper right"/>
and replace "x lower left", "y lower left" and so on with the correct
coordinates of your country.
Explanation: In order to be able to start the application with your SRS
you will need to give Mapbender the initial coordinates, otherwise it
will not know where to draw the maps.
Later versions of Mapbender have an additional feature that will
calculate bounding boxes for all SRS given in the capabilities on its
own. Mapbender uses PostGIS to calculate the bounding boxes, so it needs
to be activated and working correctly.
If you cannot convince GeoServer to add the corresponding section as a
workaround you can store the Capabilities doc as a file and edit it
manually. Remember that every time you change anything in the
capabilities you will have to manually add the coordinates again.
Just a side note: In the current set up you have the "estados" layer
right on top of all the other ones. I would suggest to turn this around
and draw the "estados" as the base layer (listed first in the
capabilities wiht ID=0), then the others will be displayed on top
automatically.
Hope this helps.
Best regards,
Arnulf
On 17.08.2011 00:25, Valenty Gonzalez wrote:
> Arnulf,
>
> I'm using MB version 2.6.2 on Debian Squeeze (Linux desarrollo
> 2.6.26-2-686). Sorry for not include this information before :-S
>
> URL to Capabilities:
> http://200.75.140.108:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetCapabilities
>
> Regards,
>
> Valenty
>
> El 16/08/2011 05:21 p.m., Arnulf Christl escribió:
>> Valenty,
>> can you send the URL to the Capabilities document, or if it is local
>> just the XML file. And what MB version are you running?
>>
>> Best regards,
>> Arnulf
>>
>> --
>> Seven (aka Arnulf)
>> http://arnulf.us
>>
>> ----- Reply message -----
>> Von: "Valenty Gonzalez" <gvalenty at gmail.com>
>> An: <mapbender_users at lists.osgeo.org>
>> Betreff: [Mapbender-users] Problem with SRS EPSG:4189
>> Datum: Di., Aug. 16, 2011 23:15
>>
>>
>> Hi,
>>
>> I need to offer a Geoportal with SRS EPSG:4189
>> The SRS EPSG: 4189 corresponds to the projection REGVEN,for the Republic
>> of Venezuela.
>>
>> Problem is, that I build a WMS from Geoserver with that projection
>> (4189) and when I go to Mapbender by linking the WMS to a GUI always
>> reads as SRS EPSG: 4326
>> This situation succes even if i don'tdeclare 4326 in the configuration
>> of WMS.
>>
>> So, when i go to the GUI_settings, this option not give me an
>> opportunity to select EPSG: 4189 and SRS for the portal service. Only
>> offer 4326 (by default?)
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Valenty Gonzalez
>> CREATIVA
>> Venezuela
>> Asociación gvSIG
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>>
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
- --
Exploring Space, Time and Mind
http://arnulf.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5M4c8ACgkQXmFKW+BJ1b007gCfbEkan3+HDnYzSg5n3INzPWxV
NYMAn3lp3aOFj4H7H8Aiz3Afeci8iA94
=BMbq
-----END PGP SIGNATURE-----
More information about the Mapbender_users
mailing list