[Geoserver-users] A button for the refresh of FeatureStores

Folks,

it may be just me, but whenever I change something in a database (adding/dropping a table, etc.) I have to restart GeoServer to actually see those changes in the admin interface.

I understand the refresh of every FeatureStore is timec-onsuming, but what about a "refresh FeatureStores" button ?

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Have you tried hitting 'load'?

That usually refreshes most things, from the last changed state.

Chris

Luca Morandini wrote:

Folks,

it may be just me, but whenever I change something in a database (adding/dropping a table, etc.) I have to restart GeoServer to actually see those changes in the admin interface.

I understand the refresh of every FeatureStore is timec-onsuming, but what about a "refresh FeatureStores" button ?

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,4523549717191665516417!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

Chris Holmes wrote:

Have you tried hitting 'load'?

That usually refreshes most things, from the last changed state.

Apparently, it doesn't refreshes the datastore (my configuration: DB2 8.2 with Spatial Extenter, JDK 1.5.0, WebLogic 9.2, GeoServer WCS branch).

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Hi Luca:

Hitting "Load" will refresh the catalog. However, if you delete Oracle
tables that you configured as FeatureTypes in geoserver, you will also
need to delete their configuration (info.xml) in geoserver, and then
reload the catalog.

Alex

On 10/4/06, Luca Morandini <lmorandini@anonymised.com> wrote:

Chris Holmes wrote:
> Have you tried hitting 'load'?
>
> That usually refreshes most things, from the last changed state.

Apparently, it doesn't refreshes the datastore (my configuration: DB2
8.2 with Spatial Extenter, JDK 1.5.0, WebLogic 9.2, GeoServer WCS branch).

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Alexander Petkov wrote:

Hi Luca:

Hitting "Load" will refresh the catalog. However, if you delete Oracle
tables that you configured as FeatureTypes in geoserver, you will also
need to delete their configuration (info.xml) in geoserver, and then
reload the catalog.

Alex, I meant something different: say you add a new spatial-enabled table to your DBMS: I'd like to see that table in the list of available DataStore.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Are your spatially-enabled tables added/deleted in some sort of automated way?

Alex

On 10/4/06, Luca Morandini <lmorandini@anonymised.com> wrote:

Alexander Petkov wrote:
> Hi Luca:
>
> Hitting "Load" will refresh the catalog. However, if you delete Oracle
> tables that you configured as FeatureTypes in geoserver, you will also
> need to delete their configuration (info.xml) in geoserver, and then
> reload the catalog.

Alex, I meant something different: say you add a new spatial-enabled
table to your DBMS: I'd like to see that table in the list of available
DataStore.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Alexander Petkov wrote:

Are your spatially-enabled tables added/deleted in some sort of automated way?

No, it's a DB2 command, akin to shp2sdo in Oracle.

Reagrds,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Luca Morandini ha scritto:

Alexander Petkov wrote:
  

Are your spatially-enabled tables added/deleted in some sort of automated way?
    
No, it's a DB2 command, akin to shp2sdo in Oracle.
  

Luca, adding feature types is a manual operation in the UI. What you're proposing is a special case
of ingestion engine afaik, that is, a tool that periodically looks up files and dbms and imports automatically
new feature types... we don't have one at the moment, yet I understand it may be interesting for people
that have lots of data sources, eventually daily or hourly created from other sources.

For the moment I guess you'll have to write some code for your own scheduled taks that adds the new
feature types to the configuration...

Cheers
Andrea

aaime@anonymised.com wrote:

Luca Morandini ha scritto:

Alexander Petkov wrote:
  

Are your spatially-enabled tables added/deleted in some sort of automated way?
    

No, it's a DB2 command, akin to shp2sdo in Oracle.
  

Luca, adding feature types is a manual operation in the UI. What you're proposing is a special case
of ingestion engine afaik, that is, a tool that periodically looks up files and dbms and imports automatically

No, no, I didn't mean that.

I'd just want GeoServer to refresh the list of tables shown in the "Create New FeatureType" page at the press of a button.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

No, no, I didn't mean that.

I'd just want GeoServer to refresh the list of tables shown in the
"Create New FeatureType" page at the press of a button.

Luca:

I thought Geoserver does that, at least with a Postgis datastore.
Alex