Here's another idea. Load the datasets into PostGIS tables, then use a SQL
View based on a SELECT statement with the name of the table to read from
being a parameter. You can then supply the parameter on a per-request
basis.
As Andrea pointed out, for this to work the tables will need to have
identical schemas.
On Wed, Jun 20, 2012 at 3:54 AM, André Matos <[email protected]> wrote:
> Hi everyone,
>
> I am new to geoserver and I need some orientation from you.
>
> I need to develop a dynamic store providing features to geoserver and
> represent generated images on a map. To achieve this I will use
> geotools to develop the store and the store will be installed on
> geoserver. I already have an approach to do this, but I don't know if
> it is the best approach to take...
>
> The store is dynamic because I don't know which layers will exist. The
> layers and the data, for each layer, will be uploaded by a user. For
> example, a user will upload a shapefile, and then will be able to
> visualize the information on a map, without configure anything on
> geoserver. I would like to receive somewhere as a parameter the
> shapefile name to open, for example.
>
> As far as I know geoserver, the layer to display must be defined
> statically, i. e. the geotools store returns which shapefiles exists,
> and in geoserver world the feature source will be mapped to a layer.
> But, this mapping must be defined administratively, choosing the store
> and the layer in geoserver.
>
> To achieve this, I find out that I can develop a data store that
> returns a single feature source, publish it as a layer in geoserver
> and then select the shapefile using the cql_filter parameter along
> with the filters for data...
>
> I know that geoserver works a little different and that's why need
> your orientation.
> Do you have any sugestions?
>
> Thank you in advance,
> Best Regards,
> André Matos
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users