Hi,
I see the type property has been added to StoreInfo (we
already discussed this, and I agreed).
Yet, I cannot find anything setting it?
I wanted to use it to display a proper icon in the store
list page (as opposed to finding the factory given
the datastore parameters, which is still possible but
seems overkill compared to the usage of the type property).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Yup, nothing will be setting it since there was no counterpart to it in the old configuration... so no way to generate them. I guess what we should do is set the type from the data store factory displayName on startup.
Andrea Aime wrote:
Hi,
I see the type property has been added to StoreInfo (we
already discussed this, and I agreed).
Yet, I cannot find anything setting it?
I wanted to use it to display a proper icon in the store
list page (as opposed to finding the factory given
the datastore parameters, which is still possible but
seems overkill compared to the usage of the type property).
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Justin Deoliveira ha scritto:
Yup, nothing will be setting it since there was no counterpart to it in the old configuration... so no way to generate them. I guess what we should do is set the type from the data store factory displayName on startup.
If missing. If already there, hmmm.... maybe not? It's sort of a
derived property at the moment thought.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime wrote:
Justin Deoliveira ha scritto:
Yup, nothing will be setting it since there was no counterpart to it in the old configuration... so no way to generate them. I guess what we should do is set the type from the data store factory displayName on startup.
If missing. If already there, hmmm.... maybe not? It's sort of a
derived property at the moment thought.
Ahh, good point. Yeah I think we should leave alone if it is already set. It will save us a connection to the data on startup. So ideally this will just be something that happens the first time someones imports their old data directory.
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Justin Deoliveira ha scritto:
Andrea Aime wrote:
Justin Deoliveira ha scritto:
Yup, nothing will be setting it since there was no counterpart to it in the old configuration... so no way to generate them. I guess what we should do is set the type from the data store factory displayName on startup.
If missing. If already there, hmmm.... maybe not? It's sort of a
derived property at the moment thought.
Ahh, good point. Yeah I think we should leave alone if it is already set. It will save us a connection to the data on startup. So ideally this will just be something that happens the first time someones imports their old data directory.
Works for me. The might have to be fixed CatalogBuilder as well I believe?
http://jira.codehaus.org/browse/GEOS-2844
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.