[mapserver-users] Re: Invalid SRS given: SRS must be valid for all requested layers. EPSG 23030
Amalia Carolina Canavire
acarolinagc at gmail.com
Tue Aug 30 09:21:42 PDT 2011
hi ,I don't good speak english, but i don't understand you, when you say
"Projection must be in meters which seem to be the unit for the EPSG:23030
units", you can specify in where may correction in this code, please. thank
for you time and helping.
2011/8/30 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>
> Hi,
>
> I do not understand Spanish but it looks like you have something wrong with
> projections.
>
> MAP
> EXTENT -82.65814999999999 29.435378999999998 -82.05008 29.943614
> PROJECTION
> "init=epsg:23030"
> END
>
> Projection must be in meters which seem to be the unit for the EPSG:23030
> units
>
> http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::23030&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=
>
> The same with "wms_extent" "-82.65814999999999 29.435378999999998 -82.05008
> 29.943614"
> use extents in the EPSG:23030 system and units.
>
> -Jukka Rahkonen-
>
>
> ________________________________
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org [
> mapserver-users-bounces at lists.osgeo.org] käyttäjän Amalia Carolina
> Canavire [acarolinagc at gmail.com] puolesta
> Lähetetty: 30. elokuuta 2011 16:55
> Vastaanottaja: Lista de Usuarios de gvSIG; mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] msWMSLoadGetMapParams(): WMS server error. Invalid
> SRS given: SRS must be valid for all requested layers. EPSG 23030
>
> Hola gente, una duda usando gvsig para poder generar una vista desde un
> .shp debo seleccionar una proyección epsg 23030, porque no me reconece epsg
> 4326 (con esta opción mi vista es vacia , a que se debe?
> Estoy usando gvsig 1.1 por la extensión de publicación, sobre ubuntu.
> Debido a ello , por las dudas, respeto esta proyección epsg 23030, cuando
> utilizo vista desde wms, me muestra sin problema, ahora cuando lo hago para
> web, me sale el error de :
> msWMSLoadGetMapParams(): WMS server error. Invalid SRS given: SRS must be
> valid for all requested layers .
>
> Si cambio la proyeccion a 4326, no sale el error pero no me muestra nada.
> Mi codigo es el sgte:
>
>
>
> MAP
> NAME map_generated_by_gvsig
> SIZE 600 400
> EXTENT -82.65814999999999 29.435378999999998 -82.05008 29.943614
> SYMBOLSET "dmwms1.sym"
> FONTSET "fonts.txt"
> LEGEND
> IMAGECOLOR -1 -1 -1
> LABEL
> FONT "vera"
> ANGLE FOLLOW
> COLOR 0 0 0
> ENCODING "UTF-8"
> TYPE truetype
> SIZE 8
> END
> STATUS ON
> TRANSPARENT ON
> END
> WEB
> METADATA
> "wms_encoding" "UTF-8"
> "wms_title" "Mapserver WMS"
> "wms_abstract" ""
> "wms_srs" " EPSG:23030"
> "wms_onlineresource" "
> http://localhost/cgi-bin/mapserv?map=%2Fvar%2Fwww%2FgisParcelsFL%2Fmap%2Fdmwms1.map
> "
> END
> END
> PROJECTION
> "init=epsg:23030"
> END
> LAYER
> NAME "tl_2010_12001_roads.shp"
> STATUS ON
> TYPE LINE
> DATA
> "/var/www/gisParcelsFL/tl_2010_12001_roads/tl_2010_12001_roads.shp"
> MAXSCALE -1.0
> MINSCALE -1.0
> TRANSPARENCY 100
> SIZEUNITS pixels
> LABELITEM "FULLNAME"
> PROJECTION
> "init=epsg:23030"
> END
> CLASS
> STYLE
> COLOR 153 153 153
> WIDTH 1
> END
> NAME "default"
> LABEL
> FONT "vera"
> ANGLE FOLLOW
> COLOR 0 0 0
> TYPE truetype
> SIZE 7.0
> END
> END
> METADATA
> "wms_title" "tl_2010_12001_roads.shp"
> "wms_abstract" "generated by gvSIG"
> "wms_extent" "-82.65814999999999 29.435378999999998 -82.05008
> 29.943614"
> "gml_include_items" "all"
> END
> END # Layer
> END # Map File
>
> --
>
> ************** :) sonrei que te queda lindo :):):):): amy cgc
> **************************
>
>
--
*************** * :) *sonrei que te queda lindo :):):):): **amy **cgc
**************************
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110830/b1b71361/attachment.htm>
More information about the MapServer-users
mailing list