GeoNode currently doesn't support uploading styles for layers that already
exist (you can create them but only by editing them in the JavaScript style
editor.)  It's a pretty straightforward feature to implement and if you're
interested in doing it I could provide some details about it. It would be
mostly Python/Django work, depending on how comfortable you are in
JavaScript and how nicely you want it to integrate with the map viewer,
there could be a significant JavaScript component as well.

However, GeoNode currently does nothing special with styles - that is to
say, there isn't any special extra metadata in the Django database that
GeoServer doesn't know about. So it should work well to add styles through
the GeoServer web admin or REST configuration API; GeoNode should properly
pick up on those and list them on the layer detail page etc.

Hope that helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Jul 14, 2011 at 2:41 PM, Jeffrey Johnson <[email protected]>wrote:

> Mauricio,
>
> I'm not sure there is a good way to upload and assign a new SLD to an
> existing layer, at least I dont know of one directly in geonode, but
> you can create the SLD by hand, and then upload the new layer on the
> upload page and include the .sld file at that time. This functionality
> is available in more recent versions of GeoNode (1.1 I believe)
>
> Let us know if that works for you,
>
> Jeff
>
> On Thu, Jul 14, 2011 at 11:37 AM, Mauricio Miranda
> <[email protected]> wrote:
> > Hi there,
> >
> > I just wanna know if I can upload a SLD file and assign the style to some
> layer. Is that possible?
> >
> > If I create the style directly in Geoserver, can I use it in a new map in
> Geonode?
> >
> > Basically, I need to create a style by hand with some features that are
> not yet supported for Styler and I want to use it in a Geonode map.
> >
> > Any idea?
> >
> > --
> > Mauricio Miranda
> > Chief Development Officer
> > http://www.xoomcode.com
> >
> >
>

Reply via email to