[OpenLayers-Users] Using shp-files dynamically

Lehtonen, Mika mika at digikartta.net
Thu Nov 20 08:49:19 EST 2008


Hi Simone,

actually it would be nice to get familiar with the GeoServer REST 
interface. I was just wondering whether it'd be "safe" to upload your 
personal shp-data onto a server residing in the internet. Of course the 
same problem exists for example with the FeatuteServer, which as I  have 
understood, could also do the job.

Without knowing Geoserver REST, can I use GeoServer security module with 
layers created by REST? Sorry if this is a stupid question, but I really 
have no idea of that REST interface.

I guess Ivan's suggestion won't help with the "registration" of the 
datastore. Even if the user gets his/her data into PostGIS table, 
Geoserver has no idea of its existence. But thanks anyway!

- mika -

Simone Giannecchini kirjoitti:
> Notice that it is possible to upload shapefiles to the geoserver
> directly via the experimental REST interface. It might be worth
> exploring that route.
>
> Simone.
> -------------------------------------------------------
> Eng. Simone Giannecchini
> GeoSolutions S.A.S.
> Owner - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 20, 2008 at 1:01 PM, Ivan Grcic <ivan.grcic at geofoto.hr> wrote:
>   
>> Hi,
>>
>> maybe after user uploads the file, you just run shp2pgsql that uploads
>> it into PostGis and u displays it inside OL with little bit of
>> filtering (for en example CQL_FILTER=shpfilename=name That is one of
>> the simpliest solutions i could come up in 1 minute...
>>
>> Regards,
>> Ivan
>>
>> On Thu, Nov 20, 2008 at 12:36 PM, Lehtonen, Mika <mika at digikartta.net> wrote:
>>     
>>> I would be glad if I could get someone's opinion on the following matter:
>>>
>>> This is also business related, which I guess is a little unusual in this
>>> list. I won't be carrying on these questions, forgive me this. The
>>> innermost is still technical.
>>>
>>> My client has a light WebGIS system which has been carried out with
>>> Openlayers, GeoServer and PostGIS as a backend. Now he would want me to
>>> build an extension to his system where end-users could upload their own
>>> shp-files into it. Just upload and start to use them, that simple. I
>>> guess the shps' are mainly points, and quite simple. The end-users are
>>> ordinary PC-users, so no complicated phases can be accepted.
>>>
>>> We are having a huge gorge between our thoughts of how much this would
>>> take hours to implement. My client claims that this is a matter of
>>> adding a simple layer into their system and that's why it couldn't
>>> possibly take more than a day or two at most. And in that case, it's
>>> better be perfect. I said, on the other hand,  that I could build
>>> something in a week, that would fulfil the most of the demand, but that
>>> I'm not sure yet if this is something that is feasible.
>>>
>>> So, what do you think? Any ideas what would be the best approach in
>>> order to carry out this?
>>>
>>>
>>> - mika -
>>> _______________________________________________
>>> Users mailing list
>>> Users at openlayers.org
>>> http://openlayers.org/mailman/listinfo/users
>>>
>>>       
>>
>> --
>> Ivan Grcic
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>>     



More information about the Users mailing list