I can definitely write a Python script to do that, but I didn't think that a style was automatically associated with a layer just by having the file present in the style dir. And if I understand the suggestion correctly, this would take care (potentially) of the SLD's, but what about getting Geoserver to "read" the new PostGIS layers? I'd love to have a config file that defines the layers that should be available, and the location of the SLD that should be applied. Edit the file, restart Tomcat and "Bam!" - new layers read in by Geoserver.
--
-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: Monday, March 17, 2008 12:43 PM
To: Andre, Roger/SEA
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Batch loader option?
Ouch :). Unfortunately no... your best option would be to whip up some sort of script that would create the files and all the directories automatically.
Roger.Andre@anonymised.com wrote:
So.... I'm adding around 200 layers to GeoServer, and applying styles
to each of them. Any chance there is some sort of batch-loading option?
--
Roger André
GIS Developer/Analyst
Enterprise Management Solutions
CH2M HILL
1100 112th Avenue NE
Suite 400
Bellevue, WA 98004
Direct 425.233.3042
roger.andre@anonymised.com <mailto:roger.andre@anonymised.com>
Developing People through Challenging Projects
!DSPAM:4007,47dec8bb241172090977483!
----------------------------------------------------------------------
--
----------------------------------------------------------------------
--- This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
!DSPAM:4007,47dec8bb241172090977483!
----------------------------------------------------------------------
--
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,47dec8bb241172090977483!
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com