Google Earth
Travis Kirstine
traviskirstine at GMAIL.COM
Fri Dec 7 08:27:18 PST 2007
Hans,
You have to set the projection in the WEB object to let mapserver know
what projections it can "broadcast".
MAP
NAME gearth_wms
SIZE 500 600
STATUS OFF
UNITS METERS
EXTENT 606000 4824000 654000 4860001
SYMBOLSET "/var/www/html/wms/map_symbols/symbols.sym"
IMAGECOLOR 155 203 231
FONTSET "/var/www/html/wms/map_symbols/fonts.txt"
SHAPEPATH "/var/www/ge_data/"
IMAGETYPE JPEG
RESOLUTION 96
PROJECTION
"init=epsg:26917"
END
LEGEND
STATUS ON
END
WEB
IMAGEPATH "/var/www/html/wms/map_images/"
IMAGEURL "http://www.solutions.com/wms/map_images/"
METADATA
"WMS_ONLINERESOURCE" "http://www.solutions.com/cgi-bin/google_wms?"
"WMS_SRS" "EPSG:26917 EPSG:4326 EPSG:900913"
END
END
LAYER
etc .....
n 07/12/2007, Hans Castorp <hanscastorp76 at yahoo.es> wrote:
> Thanks for fast replying,
>
> Do you mean set this metadata in every layer section???
> I made it and had no success.
>
> PS. I have a projection section in this way:
>
> PROJECTION
> "init=epsg:23029"
> END
>
>
> -----Mensaje original-----
> De: Travis Kirstine [mailto:traviskirstine at gmail.com]
> Enviado el: viernes, 07 de diciembre de 2007 14:31
> Para: Hans Castorp
> CC: MAPSERVER-USERS at lists.umn.edu
> Asunto: Re: [UMN_MAPSERVER-USERS] Google Earth
>
> Do you have the correct projection set in your metadata?
>
> METADATA
> "WMS_SRS" "EPSG:4326"
> END
>
>
>
> On 07/12/2007, Hans Castorp <hanscastorp76 at yahoo.es> wrote:
> >
> >
> >
> > Hi to all,
> >
> >
> >
> > It's possible to visualize wms layers from mapserver using Google Earth??
> > I'm trying to do it but I'm always receiving an error saying that the wms
> > server does not have layer that google earth could process. I think this
> > could be something about my map file configuration. Is there any trick??
> >
> >
> >
> > PD: I'm serving GeoTiff and shape layers.
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> >
> >
> >
> > Hans Castorp
> >
> >
> >
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.16.17/1176 - Release Date:
> 06/12/2007
> > 23:15
> >
>
>
> --
> Travis K.
>
> Toronto, Canada
> ------------------------------------------------------------
> "She knows there's no success like failure
> And that failure's no success at all."
> -Bob Dylan-
> ------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.17/1176 - Release Date: 06/12/2007
> 23:15
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.17/1176 - Release Date: 06/12/2007
> 23:15
>
>
>
--
Travis K.
Toronto, Canada
------------------------------------------------------------
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-
------------------------------------------------------------
More information about the MapServer-users
mailing list