Mapserver WMS client and Geoserver WMS
Eijnden, Bart van den (AGI)
b.vdeijnden at AGI.RWS.MINVENW.NL
Fri Sep 29 02:06:40 PDT 2006
Hi list,
when using Mapserver's WMS client through PHP/Mapscript against Geoserver WMS, there is a problem.
The number of SRS's that Geoserver advertizes, is apparently too long for Mapserver to handle:
"wms_srs" "EPSG:100001 EPSG:100002 EPSG:104000 EPSG:104101 EPSG:104102 EPSG:104103 EPSG:104104 EPSG:104105 EPSG:104106 EPSG:104107 EPSG:104108 EPSG:104261 EPSG:104304 EPSG:104305 EPSG:18001 EPSG:2000 EPSG:20004 EPSG:20005 EPSG:20006 EPSG:20007 EPSG:20008 EPSG:20009 EPSG:2001 EPSG:20010 EPSG:20011 EPSG:20012 EPSG:20013 EPSG:20014 EPSG:20015 EPSG:20016 EPSG:20017 EPSG:20018 EPSG:20019 EPSG:2002 EPSG:20020 EPSG:20021 EPSG:20022 EPSG:20023 EPSG:20024 EPSG:20025 EPSG:20026 EPSG:20027 EPSG:20028 EPSG:20029 EPSG:2003 EPSG:20030 EPSG:20031 EPSG:20032 EPSG:2004 EPSG:2005 EPSG:2006 EPSG:20064 EPSG:20065 EPSG:20066 EPSG:20067 EPSG:20068 EPSG:20069 EPSG:2007 EPSG:20070 EPSG:20071 EPSG:20072 EPSG:20073 EPSG:20074 EPSG:20075 EPSG:20076 EPSG:20077 EPSG:20078 EPSG:20079 EPSG:2008 EPSG:20080 EPSG:20081 EPSG:20082 EPSG:20083 EPSG:20084 EPSG:20085 EPSG:20086 EPSG:20087 EPSG:20088 EPSG:20089 EPSG:2009 EPSG:20090 EPSG:20091 EPSG:20092 EPSG:2010 EPSG:2011 EPSG:2012 EPSG:2013 EPSG:20135 EPSG:20136 EPSG:20137 EPSG:20138 EPSG:2014 EPSG:2015 EPSG:2016 EPSG:2017 EPSG:2018 EPSG:2019 EPSG:2020 EPSG:2021 EPSG:2022 EPSG:2023 EPSG:2024 EPSG:20248 EPSG:20249 EPSG:2025 EPSG:20250 EPSG:20251 EPSG:20252 EPSG:20253 EPSG:20254 EPSG:20255 EPSG:20256 EPSG:20257 EPSG:20258 EPSG:2026 EPSG:2027 EPSG:2028 EPSG:2029 EPSG:2030 EPSG:2031 EPSG:2032 EPSG:2033 EPSG:2034 EPSG:20348 EPSG:20349 EPSG:2035 EPSG:20350 EPSG:20351 EPSG:20352 EPSG:20353 EPSG:20354 EPSG:20355 EPSG:20356 EPSG:20357 EPSG:20358 EPSG:2036 EPSG:2037 EPSG:2038 EPSG:2039 EPSG:2040 EPSG:2041 EPSG:2042 EPSG:2043 EPSG:20437 EPSG:20438 EPSG:20439 EPSG:2044 EPSG:2045 EPSG:2046 EPSG:2047 EPSG:2048 EPSG:2049 EPSG:20499 EPSG:2050 EPSG:2051 EPSG:2052 EPSG:2053 EPSG:20538 EPSG:20539 EPSG:2054 EPSG:2055 EPSG:2056 EPSG:2057 EPSG:2058 EPSG:2059 EPSG:2060 EPSG:2061 EPSG:2062 EPSG:2063 EPSG:2064 EPSG:2065 EPSG:2066 EPSG:2067 EPSG:2068 EPSG:2069 EPSG:2070 EPSG:2071 EPSG:2072 EPSG:2073 EPSG:2074 EPSG:2075 EPSG:2076 EPSG:2077 EPSG:2078 EPSG:2079 EPSG:20790 EPSG:20791 EPSG:2080 EPSG:2081 EPSG:2082 EPSG:20822 EPSG:20823 EPSG:20824 EPSG:2083 EPSG:2084 EPSG:2085 EPSG:2086 EPSG:2087 EPSG:2088 EPSG:2089 EPSG:2090 EPSG:2091 EPSG:2092 EPSG:2093 EPSG:20934 EPSG:20935 EPSG:20936 EPSG:2094 EPSG:2095 EPSG:2096 EPSG:2097 EPSG:2098 EPSG:2099 EPSG:2100 EPSG:2101 EPSG:2102 EPSG:2103 EPSG:21035 EPSG:21036 EPSG:21037 EPSG:2104 EPSG:2105 EPSG:2106 EPSG:2107 EPSG:2108 EPSG:2109 EPSG:21095 EPSG:21096 EPSG:21097 EPSG:2110 EPSG:21100 EPSG:2111 EPSG:2112 EPSG:2113 EPSG:2114 EPSG:21148 EPSG:21149 EPSG:2115 EPSG:21150 EPSG:2116 EPSG:2117 EPSG:2118 EPSG:2119 EPSG:2120 EPSG:2121 EPSG:2122 EPSG:2123 EPSG:2124 EPSG:2125 EPSG:2126 EPSG:2127 EPSG:2128 EPSG:2129 EPSG:21291 EPSG:21292 EPSG:2130 EPSG:2131 EPSG:2132 EPSG:2133 EPSG:2134 EPSG:2135 EPSG:2136 EPSG:2137 EPSG:2138 EPSG:2139 EPSG:2140 EPSG:2141 EPSG:21413 EPSG:21414 EPSG:21415 EPSG:21416 EPSG:21417 EPSG:21418 EPSG:21419 EPSG:2142 EPSG:21420 EPSG:21421 EPSG:21422 EPSG:21423 EPSG:2143 EPSG:2144 EPSG:2145 EPSG:21453 EPSG:21454 EPSG:21455 EPSG:21456 EPSG:21457 EPSG:21458 EPSG:21459 EPSG:2146 EPSG:21460 EPSG:21461 EPSG:21462 EPSG:21463 EPSG:2147 EPSG:21473 EPSG:21474 EPSG:21475 EPSG:21476 EPSG:21477 EPSG:21478 EPSG:21479 EPSG:2148 EPSG:21480 EPSG:21481 EPSG:21482 EPSG:21483 EPSG:2149 EPSG:2150 EPSG:21500 EPSG:2151 EPSG:2152 EPSG:2153 EPSG:2154 EPSG:2155 EPSG:2156 EPSG:2157 EPSG:2158 EPSG:2159 EPSG:2160 EPSG:2161 EPSG:2162 EPSG:2163 EPSG:2164 EPSG:2165 EPSG:2166 EPSG:2167 EPSG:2168 EPSG:2169 EPSG:2170 EPSG:2171 EPSG:2172 EPSG:2173 EPSG:2174 EPSG:2175 EPSG:2176 EPSG:2177 EPSG:2178 EPSG:21780 EPSG:21781 EPSG:2179 EPSG:2180 EPSG:21817 EPSG:21818 EPSG:2188 EPSG:2189 EPSG:21891 EPSG:21892 EPSG:21893 EPSG:21894 EPSG:2190 EPSG:2191 EPSG:2192 EPSG:2193 EPSG:2194 EPSG:2195 EPSG:2196 EPSG:2197 EPSG:2198 EPSG:2199 EPSG:2200 EPSG:2201 EPSG:2202 EPSG:2203 EPSG:22032 EPSG:22033 EPSG:2204 EPSG:2205 EPSG:2206 EPSG:2207 EPSG:2208 EPSG:2209 EPSG:22091 EPSG:22092 EPSG:2210 EPSG:2211 EPSG:2212 EPSG:2213 EPSG:2214 EPSG:2215 EPSG:2216 EPSG:2217 EPSG:2219 EPSG:22191 EPSG:22192 EPSG:22193 EPSG:22194 EPSG:22195 EPSG:22196 EPSG:22197 EPS"
The one projection we need EPSG:28992, is not (yet) in this list, which results in the problem:
[bart at hades sess_451cdb2dae0d6]$ sudo shp2img -m 1159519033-2460.map -o test.png
msProcessProjection(): Projection library error. no options found in 'init' file <br>
Best regards,
Bart van den Eijnden
=================================
drs. A.J. van den Eijnden
adviseur
Productteam Applicaties Geo-Informatie
Rijkswaterstaat Adviesdienst Geo-informatie en ICT
Postbus 5023, 2600 GA Delft
Derde Werelddreef 1, 2622 HA Delft
Telefoon: (015) 275 75 75
E-mail b.vdeijnden at agi.rws.minvenw.nl
=================================
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list