[Mapbender-users] Problem with SRS EPSG:4189
Valenty Gonzalez
gvalenty at gmail.com
Thu Aug 18 06:38:11 EDT 2011
Thanks Armin,
It's a good notice. I will use for a future geoportal with mapbender-2.7.x
Now, I will practice already in my practice enviroment
Regards,
El 18/08/2011 05:58 a.m., Armin Retterath escribió:
> hello,
>
> in the mapbender.conf file there is a constant which can be set to the srs
> which should be handled by the mapbender installation. please uncomment it an
> fill in your srs. for the srs which are supported by your wms and which have
> no bboxes defined in the capabilities doc new bboxes will be calculated by
> postgis as arnulf claimed before.
> the function maybe new and it will only work in mapbender 2.7.x - as far as i
> know.
>
> best regards
> armin
>
> line from mapbender.conf:
> #define("SRS_ARRAY", "4326,31466,31467,31468,25832");
>
> Am Donnerstag, 18. August 2011 11:56:31 schrieb Seven (aka Arnulf):
>> 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&reques
>>> t=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
>>>>
>>>>
>>>> ----- 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
More information about the Mapbender_users
mailing list