Hi,

Perhaps needs also some considerations about whatever files and security, 
because the target directory is obviously something that can be accessed from 
the web?

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: Andrea Aime [mailto:[email protected]]
Lähetetty: la 11.9.2010 9:53
Vastaanottaja: David Winslow
Kopio: kfogiel; [email protected]
Aihe: Re: [Geoserver-users] Upload SLD style with png file
 
Thinking out loud, and assuming that whoever needs this functionality
gets down on the keyboard and writes a patch, what about having the
REST api accept a "bundle", a zip file containing both the sld and
whatever other file (images, fonts) necessary to display it? The file
would be unzipped directly in the styles directory, the .sld file in
it configured as a style. Maybe with a flag to overwrite potential
existing same named resources.

Cheers
Andrea

On Fri, Sep 10, 2010 at 8:07 PM, David Winslow <[email protected]> wrote:
> REST doesn't handle this.  I am not sure, but the FTP community module may
> allow you to upload pngs to the styles/ directory; otherwise I think you
> will need to set up some file transfer of your own to allow PNG uploads.
>  You can download a nightly build of the FTP module from
> http://gridlock.opengeo.org/geoserver/2.0.x/community-latest/ but as far as
> I know there is no written documentation of the module yet.
> Hope this helps.
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> On Mon, Sep 6, 2010 at 10:52 AM, kfogiel <[email protected]> wrote:
>>
>> I have managed to upload SLD style file with REST's api. How can I
>> attached png file used in style?
>>
>>
>> ------------------------------------------------------------------------------
>> Automate Storage Tiering Simply
>> Optimize IT performance and efficiency through flexible, powerful,
>> automated storage tiering capabilities. View this brief to learn how
>> you can reduce costs and improve performance.
>> http://p.sf.net/sfu/dell-sfdev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to