OK, I've been researching how to do this, and cannot figure it out. I
did try this site: http://edac.unm.edu/cgi-bin/wms2kml.kml  The EDAC
WMS 2 KML converter, but I could not get it to work for me. Perhaps it
was formatting issue in the URL encode, I used:

http%3A%2F%2FSDMDataAccess.nrcs.usda.gov%2FSpatial%2FSDM.wms%3FSERVICE
%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetMap%26LAYERS%3DSurveyAreaPoly
%2CMapunitPoly%26STYLES%3D%26SRS%3DEPSG%3A4326%26FORMAT%3Dimage%2Fgif

If you have any ideas, I would appreciate hearing them.

Thanks!
Lara


On Apr 21, 11:36 am, Lara <[email protected]> wrote:
> Hi Lance,
>
> As you can see I've come a long way on my app. since we last emailed.
> Thanks to your help!
>
> No I didn't remember that GeoXML could do tiled WMS, but that sounds
> familar now that you mention it. Can you explain exactly what you mean
> to me by make a KML from the WMS? I do not have Google Earth available
> to me at work.
>
> Lara
>
> On Apr 21, 11:22 am, Garthan <[email protected]> wrote:
>
>
>
> > I suppose you dont know that the GeoXml class you are using has
> > support for doing tiled wms handling?
> > make a kml...
> > formatted similar to this one...(it could be made with Google Earth
> > even)http://www.dyasdesigns.com/geoxml/australia.kml
> > and load it with GeoXml... ought to work like a charm.
>
> > On Apr 21, 12:01 pm, Lara <[email protected]> wrote:
>
> > > Hi all, could someone take a look at my code and let me know why I am
> > > not able to view the soils data on my Google Map. Full site is 
> > > here:http://www.tchdgis.org/googlemaps/EHservicenplcycle.html
>
> > > The relevant code is:
> > > // Soils
> > > tileSoil = new GTileLayer(new GCopyrightCollection(""),1,17);
> > > tileSoil.myBaseURL = "http://SDMDataAccess.nrcs.usda.gov/Spatial/
> > > SDM.wms?ServiceName=USDA_NRCS_WMS&";
> > > tileSoil.getTileUrl=CustomGetTileUrl;
> > > tileSoil.myFormat = "image/jpeg";
> > > tileSoil.myVersion = "1.1.1"
> > > tileSoil.myLayers = "MapunitPoly";
> > > tileSoil.epsg = "EPSG:4326";
> > > var Soil_layer=[tileSoil];
> > > SOIL_MAP = new GMapType(Soil_layer, G_SATELLITE_MAP.getProjection(),
> > > "Soils");
>
> > > map.addMapType(SOIL_MAP);
>
> > > I am using the wms236.js script, and the capabilities, which include
> > > EPSG 4326 are 
> > > here:http://sdmdataaccess.nrcs.usda.gov/Spatial/SDM.wms?request=GetCapabil...
>
> > > I have tried zooming in and don't see the soils, but I can get them
> > > like 
> > > this:http://SDMDataAccess.nrcs.usda.gov/Spatial/SDM.wms?SERVICE=WMS&VERSIO...
> > > &FORMAT=image/gif&EXCEPTIONS=Application/VND.OGC.SE_XML
>
> > > Thanks!
> > > Lara- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to