Did you read the doc about REST interface?

http://docs.geoserver.org/stable/en/user/restconfig/index.html

Using REST operation you can add a shapefile and publish it as a layer
with the desired style.
You should be able to use RESt operation in your app, you just have to
make http requests.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas


2013/1/8 krunal <[email protected]>:
> Thanks for answering,
>
> Your idea is very much helpful.
> But I want to add function of 'Add data' in my application.
> Using this functionality, user can add shape file from his/ her local system
> to my application for the analysis.
> So, style, publish required at a time.
>
> Regards,
> Krunal
>
>
>
> On Tue, Jan 8, 2013 at 12:08 PM, cmaul [via OSGeo.org] <[hidden email]>
> wrote:
>>
>> Krunal,
>>
>> no need to:
>>
>> Add new store ---> Shape file
>>
>> Give it a name:
>> XXXX
>> Enter or browse for the shape file location:
>> file://U:\raetest\TR_FERRY_ROUTE.shp for example
>>
>> Save. And never turn the remote computer off.
>> For that reason rather copy your data to your Geoserver data directory.
>> where the shape file location would look something like that:
>> file:data/shapefiles/states.shp
>>
>>
>> Style, publish and you are done.
>>
>> Cheers
>>
>> Christian
>> ____________________________
>>
>> Dr Christian Maul
>> Project Manager
>>
>> Information Services Branch
>> Department of Sustainability and Environment
>> Level13, Marland House, 570 Bourke Street
>> Melbourne 3000
>>
>> PO Box 500, East Melbourne Vic 3002
>>
>>
>> Telephone:        +61-3-8636 2325
>> Telefax:              +61-3-8636 2813
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://osgeo-org.1560.n6.nabble.com/How-to-upload-a-shape-file-in-geoserver-tp5026060p5026067.html
>> To unsubscribe from How to upload a shape file in geoserver, click here.
>> NAML
>
>
>
> ________________________________
> View this message in context: Re: How to upload a shape file in geoserver
>
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to