Ariel ,
 mmm... I'm not sure that this can be easily implemented also due to  
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/substitution.html. Let's
 wait for other opinions.
The improvements I proposed is specific for rasters.
Carlo


----------------------------------------
> Subject: Re: [Geoserver-users] KML reflector not reuse styles
> From: [email protected]
> Date: Sat, 13 Oct 2012 18:21:24 -0300
> CC: [email protected]
> To: [email protected]
>
> Hi Carlo,
>
> Sorry for the delay… im using Vector data to export has KML take a look a 
> sample, will be great to reflector use an intelligent mechanism to unify the 
> same styles …
>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://www.opengis.net/kml/2.2"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://www.opengis.net/kml/2.2 
> http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd";>
> <Document xmlns:atom="http://purl.org/atom/ns#";>
> <name>skycop:Referencias Vectorial</name>
> <Placemark id="Referencias Vectorial.fid-24eb30d4_13a562b4d20_-306c">
> <name><![CDATA[4D ]]></name>
> <description/>
> <LookAt>
> <longitude>-57.57650208</longitude>
> <latitude>-25.293430979999997</latitude>
> <heading>10.0</heading>
> <tilt>10.0</tilt>
> <range>700</range>
> </LookAt>
> <Style>
> <IconStyle>
> <color>99ff0000</color>
> <colorMode>normal</colorMode>
> <Icon>
> <href>http://maps.google.com/mapfiles/kml/pal4/icon25.png</href>
> </Icon>
> </IconStyle>
> <LabelStyle>
> <color>00ffffff</color>
> </LabelStyle>
> </Style>
> <Point>
> <coordinates>-57.57650208,-25.293430979999997</coordinates>
> </Point>
> </Placemark>
> <Placemark id="Referencias Vectorial.fid-24eb30d4_13a562b4d20_-306b">
> <name><![CDATA[A.J VIERCI ]]></name>
> <description/>
> <LookAt>
> <longitude>-57.37785912</longitude>
> <latitude>-25.380798029999998</latitude>
> <heading>10.0</heading>
> <tilt>10.0</tilt>
> <range>700</range>
> </LookAt>
> <Style>
> <IconStyle>
> <color>99ff0000</color>
> <colorMode>normal</colorMode>
> <Icon>
> <href>http://maps.google.com/mapfiles/kml/pal4/icon25.png</href>
> </Icon>
> </IconStyle>
> <LabelStyle>
> <color>00ffffff</color>
> </LabelStyle>
> </Style>
> <Point>
> <coordinates>-57.37785912,-25.380798029999998</coordinates>
> </Point>
> </Placemark>
> </Document>
> </kml>
>
> thks !
>
> --
> Ariel Falduto
> [email protected]
>
>
> On Oct 8, 2012, at 2:27 PM, Carlo Cancellieri <[email protected]> 
> wrote:
>
> >
> > Hi Ariel,
> >
> > > From: [email protected]
> > > Date: Fri, 5 Oct 2012 18:43:19 -0300
> > > To: [email protected]
> > > Subject: [Geoserver-users] KML reflector not reuse styles
> > >
> > > Hi Guys,
> > >
> > > Anyone knows why KML reflector not reuse the styles in KML output usign 
> > > "<styleUrl>" way ??
> >
> > Which kind of data are you handling? vectorials or rasters? On which 
> > geoserver version?
> > In the case of raster data I think it's because geoserver tries to resolve 
> > a stile to renderer the image (to understand how it is performed take a 
> > look here 
> > http://geo-solutions.blogspot.it/2012/04/dynamic-wms-styling-with-geoserver-sld.html).
> >
> > I recently propose a patch to be able to add the sld=URL (and other vendors 
> > parametershttp://docs.geoserver.org/stable/en/user/services/wms/vendor.html)
> >  to the getMap request into kml file.
> > If you are interested follow it here: 
> > https://jira.codehaus.org/browse/GEOS-5332
> >
> > Cheers,
> > Carlo Cancellieri - GeoSolutions
> >
> >
> > >
> > > im using reflector with "download" mode and the size of generated file 
> > > will be reduced a lot if use the new way ...
> > >
> > > thks !
> > >
> > > --
> > > Ariel Falduto
> > > [email protected]
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > Don't let slow site performance ruin your business. Deploy New Relic APM
> > > Deploy New Relic app performance management and know exactly
> > > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> > > http://p.sf.net/sfu/newrelic-dev2dev
> > > _______________________________________________
> > > Geoserver-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
                                          
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to