Re: [Geoserver-users] Automate publishing

2012-11-25 Thread Smaran Harihar
Got it guys, really simple.

curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' -d
'tablename'
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/table/featuretypes

Thanks,
Smaran

On Sat, Nov 24, 2012 at 6:11 PM, Smaran Harihar wrote:

> Hi Guys,
>
> I have created a PostGIS store in Geoserver and it is able to connect and
> display the layers that I am adding to the database. The only problem is
> that everytime I add a shapefile in PostGIS, I have to manually publish it
> in the Geoserver. Also, I have to click on the 'Compute from native
> bounds', under the Bounding Boxes option, before publishing.
>
> Previously I tried cURL command and in that case the shapefile was
> published automatically but due to large shapefiles, everyone pointed me to
> using PostGIS and then creating store on the Geoserver, to improve
> performance.
>
> Any idea how I can automate this?
>
> --
> Thanks & Regards
> Smaran Harihar
>
>


-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Automate publishing

2012-11-24 Thread Smaran Harihar
Hi Guys,

I have created a PostGIS store in Geoserver and it is able to connect and
display the layers that I am adding to the database. The only problem is
that everytime I add a shapefile in PostGIS, I have to manually publish it
in the Geoserver. Also, I have to click on the 'Compute from native
bounds', under the Bounding Boxes option, before publishing.

Previously I tried cURL command and in that case the shapefile was
published automatically but due to large shapefiles, everyone pointed me to
using PostGIS and then creating store on the Geoserver, to improve
performance.

Any idea how I can automate this?

-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [OpenLayers-Users] Unable to fetch the layers

2012-11-19 Thread Smaran Harihar
Ok it seems there was no problem with the Openlayers, there is something
wrong with the Geoserver. It seems the trouble is not with the
shapefile loading because the USA states in my layer loads fine, which is
the default layer.

But any other shapefile which I added display the following error,

Failed to load attribute list, internal error is: null

I tried to remove the shapefile and then again add them but the error
persists. The shapefile gets published the first time without any problem
but when I try to view it, the browser downloads the wms file. When I go
back to check the layer publishing (titled Edit Layer), I find the error I
shared above.

Not sure what is wrong?

Thanks,
Smaran

On Mon, Nov 19, 2012 at 2:04 PM, Phil Scadden  wrote:

> Look at a GET request in the NET tab of firebug for tile that goes pink.
> Copy location and try it as URL in your browser. It could be that
> geoserver is so overwhelmed that it is too slow. You could try
> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;
> if that is case. I would repeat earlier advice that 8k of shapefiles
> isnt really a great way to manage data. POSTGIS, and indexed selection
> would probably work a whole lot better.
>
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
> ___
> Users mailing list
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Fwd: limit to cURL

2012-11-17 Thread Smaran Harihar
-- Forwarded message --
From: Smaran Harihar 
Date: Sat, Nov 17, 2012 at 10:44 AM
Subject: Re: [Geoserver-users] limit to cURL
To: Andrea Aime 


Thanks for the reply Andrea.

Can you tell me how I can map the indexes to an official EPSG? What do I
need to do for that? Presently the shapefiles are in a folder on the server
and I created the shapefiles and prj file using the following
code<http://code.google.com/p/pyshp/issues/detail?id=3#c1>,
which I converted from the CSV data.

As I said adding and publishing 1636 shapefiles were not a problem but when
the count rises to 33k it is a big problem. And I need to eventually add
way more.

Thanks,
Smaran




> I don't think there is a hard limit, but depending on the .prj file
> attached to your
> shapefiles the time to import them can grow a lot.
> Basically, if the .prj content can be mapped to a official EPSG code using
> indexes you
> can import the data quickly, if not the full scan takes 5 or more seconds
> per lookup,
> which would mean 46 hours of processing for your case.
>
> The code doing the lookup could indeed be optimized to do some caching, so
> that
> repeated lookups against the same code become fast after the first full
> scan
>
> Cheers
> Andrea
>
>



-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] limit to cURL

2012-11-16 Thread Smaran Harihar
Hey Guys,

I waited for almost 30 min and then stopped the command. And now it seems
that the Geoserver has gone down. Is there some way to fix it?

Thanks,
Smaran

On Fri, Nov 16, 2012 at 9:19 PM, Smaran Harihar wrote:

> Hi Guys,
>
> Is there a limit to the number of shapefiles that can be added using cURL?
> I am adding around 33k shapefiles, which are in a directory. Previously I
> have been successful in adding around 1636 shapefiles, which were also in a
> directory, using the cURL command that was really fast (in a snap).
>
> Now as I have executed the cURL command to add the 33k shapefiles it has
> been running for around 15 mins. Is this normal? I also tried to refresh my
> Geoserver but even that is in some state of HOLD. Any idea if this will be
> successful?
>
> --
> Thanks & Regards
> Smaran Harihar
>
>


-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] limit to cURL

2012-11-16 Thread Smaran Harihar
Hi Guys,

Is there a limit to the number of shapefiles that can be added using cURL?
I am adding around 33k shapefiles, which are in a directory. Previously I
have been successful in adding around 1636 shapefiles, which were also in a
directory, using the cURL command that was really fast (in a snap).

Now as I have executed the cURL command to add the 33k shapefiles it has
been running for around 15 mins. Is this normal? I also tried to refresh my
Geoserver but even that is in some state of HOLD. Any idea if this will be
successful?

-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] curl not creating the desired datastore

2012-11-13 Thread Smaran Harihar
Ok guys I am almost there,

curl -u admin:geoserver -v -XPUT -H 'Content-type: application/zip'
--data-binary @/var/www/geo/shapefile/zip/Poa_horridula.zip
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Poa/file.shp

This code finally helped me to get the shapefile in but it seems that the
cURL does not publish it. Is that correct? Do I have to manually publish
the shapefiles?

Thanks,
Smaran
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] curl not creating the desired datastore

2012-11-13 Thread Smaran Harihar
Ok so I changed a bit more of my code,

curl -u admin:geoserver -v -XPUT -H 'Content-type: application/zip'
--data-binary '/var/www/geo/shapefile/zip/Poa_horridula.zip'
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/newtest/file.shp

And now the error is that the file cannot be unzipped.

* About to connect() to localhost port 8080 (#0)
*   Trying ::1... connected
* Server auth using Basic with user 'admin'
> PUT /geoserver/rest/workspaces/acme/datastores/newtest/file.shp HTTP/1.1
> Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: localhost:8080
> Accept: */*
> Content-type: application/zip
> Content-Length: 44
>
* upload completely sent off: 44out of 44 bytes
< HTTP/1.1 500 Internal Server Error
< Server: Apache-Coyote/1.1
< Content-Type: text/plain
< Transfer-Encoding: chunked
< Date: Tue, 13 Nov 2012 23:12:47 GMT
< Connection: close
<
* Closing connection #0
Error occured unzipping file:error in opening zip file

Any idea why it is unable to unzip it?

Thanks,
Smaran

On Tue, Nov 13, 2012 at 3:36 PM, Smaran Harihar wrote:

> Ok cheesy,
>
> I gave up on uploading the individual shapefile and tried to upload a
> zipped shapefile and still I am not able to succeed.
>
> I am implementing the following code to upload a zipped shapefile as per
> the 
> documentation<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#uploading-a-shapefile>
> ,
>
> *curl -u admi PUT 'Content-type: application/zip' --data-binary
> @/var/www/geo/shapefile/zip/Poa_horridula.zip
> http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Poa_horridula/Poa_horridula.zip
> *
>
> But I am getting following error,
>
> > curl: (6) Couldn't resolve host 'Content-type'
> >> No such datastore: acme,Poa_horridula
>
> The document says that the curl code will create the datastore then why am
> I getting this error?
>
> Where am I going wrong?
>
> Thanks,
> Smaran
>
> On Fri, Nov 9, 2012 at 7:26 PM, cheesybiscuits 
> wrote:
>
>> Yes I would expect your new command to work fine but there are a few
>> possible
>> explanations for why it might fail.
>>
>> 1) the target of your new path is different to your original relative
>> path -
>> I assume /var/www/geo/shapefile/csvQshp/ does actually contain shapefiles
>> 2) you might be seeing permissions issues where Tomcat (or whatever your
>> container is) can't read the data. If safe to do so you might want to
>> verify
>> this by opening up privileges, e.g. something like chmod -R 0744
>> /var/www/geo/shapefile/csvQshp
>> 3) as the datastore is created I assume there are no permissions issues
>> with
>> Tomcat / whatever writing to the target directory
>>
>> If you're still having trouble I would test by identifying a single
>> shapefile, rather than the directory
>>
>> curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
>> 'file:///var/www/geo/shapefile/csvQshp/someshape.shp'
>> "
>> http://localhost:8080/geoserver/rest/workspaces/acme/datastores/csvQshp/external.shp?configure=all
>> "
>>
>>
>>


-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] curl not creating the desired datastore

2012-11-13 Thread Smaran Harihar
Ok cheesy,

I gave up on uploading the individual shapefile and tried to upload a
zipped shapefile and still I am not able to succeed.

I am implementing the following code to upload a zipped shapefile as per the
 
documentation
,

*curl -u admi PUT 'Content-type: application/zip' --data-binary
@/var/www/geo/shapefile/zip/Poa_horridula.zip
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Poa_horridula/Poa_horridula.zip
*

But I am getting following error,

> curl: (6) Couldn't resolve host 'Content-type'
>> No such datastore: acme,Poa_horridula

The document says that the curl code will create the datastore then why am
I getting this error?

Where am I going wrong?

Thanks,
Smaran

On Fri, Nov 9, 2012 at 7:26 PM, cheesybiscuits wrote:

> Yes I would expect your new command to work fine but there are a few
> possible
> explanations for why it might fail.
>
> 1) the target of your new path is different to your original relative path
> -
> I assume /var/www/geo/shapefile/csvQshp/ does actually contain shapefiles
> 2) you might be seeing permissions issues where Tomcat (or whatever your
> container is) can't read the data. If safe to do so you might want to
> verify
> this by opening up privileges, e.g. something like chmod -R 0744
> /var/www/geo/shapefile/csvQshp
> 3) as the datastore is created I assume there are no permissions issues
> with
> Tomcat / whatever writing to the target directory
>
> If you're still having trouble I would test by identifying a single
> shapefile, rather than the directory
>
> curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
> 'file:///var/www/geo/shapefile/csvQshp/someshape.shp'
> "
> http://localhost:8080/geoserver/rest/workspaces/acme/datastores/csvQshp/external.shp?configure=all
> "
>
>
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] cURL command not working

2012-11-13 Thread Smaran Harihar
Hi guys,

I am trying the cURL command to upload zipped file but not sure why it is
not working?

I am implementing the following code to upload an existing shapefile as per
the 
documentation<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#uploading-a-shapefile>
,

*curl -u admi PUT 'Content-type: application/zip' --data-binary
@/var/www/geo/shapefile/zip/Poa_horridula.zip
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Poa_horridula/Poa_horridula.zip
*

But I am getting following error,

> curl: (6) Couldn't resolve host 'Content-type'
>> No such datastore: acme,Poa_horridula

The document says that the curl code will create the datastore then why am
I getting this error?

**UPDATE: I changed the code to upload a zip file but I am still not able
to upload any shapefile.**

Where am I going wrong?

-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: creating geotiff in ArcGIS to publish in geoserver

2012-11-09 Thread Smaran Harihar
Hi sac,

sorry about the delay. The data the you exported having the tiff, tfw and
aux is all that is needed to add it to Geoserver. When you login to
Geoserver, Add Store and select Add Geotiff. Give the file path location
and publish it by giving the SRS as EPSG:4326.

That should work fine.

Thanks,
Smaran

On Thu, Jun 7, 2012 at 12:37 AM, sacprasanna  wrote:

> Dear Mr Smaran Harihar,
>
> I all create geotiff in arcGIS and it creates tiff,tfw and aux files.I do
> this using export map option in arcGIS.In that export dialog box I check
> write world file and write geotiff tag .Then what file should I store in
> geoserver.
> What is the write  way?
>
> Thanks for your quick reply and looking forward future help also.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/creating-geotiff-in-ArcGIS-to-publish-in-geoserver-tp4979451p4979652.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> 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
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Total capacity of Geoserver

2012-11-09 Thread Smaran Harihar
Thanks Phil. We are working on the Postgres database and then will add it
to the Geoserver as a Datastore. Our earlier database was MySql and we are
migrating to the Postgres with PostGIS extension.

Till then i need to work the shapefiles as such.

Thanks,
Smaran

On Thu, Nov 8, 2012 at 1:57 PM, Phil Scadden  wrote:

> I am just taking a wild guess here, but if you have one shapefile per
> taxa?? that you are working with, then you might get a lot more
> efficiency if you put them all into one feature class (use POSTGIS not
> shapefile), index on taxa, and then display via filters on the taxa.
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] curl not creating the desired datastore

2012-11-09 Thread Smaran Harihar
Thanks for the reply cheesy.

I executed the following code,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' \ >
-d 'file:///var/www/geo/shapefile/csvQshp/' \ > "
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/csvQshp/externa
l.shp?configure=all"

I am getting this error,
*Error persisting DataStoreInfoImpl[csvQshp] to
/usr/share/opengeo-suite-data/geoserver_data/workspaces/acme/csvQshp/datastore.xml
*
The strange thing is that the datastore is created but the shapefiles are
missing. When you said the absolute path did u mean,

-d 'file:///var/www/geo/shapefile/csvQshp/' \ >

Thanks,
Smaran

On Wed, Nov 7, 2012 at 11:24 PM, cheesybiscuits
wrote:

> Did you try using an absolute path? GeoServer needs to be able to find the
> group of files that make up the Shp, but your path is relative to your pwd
> in the shell.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/curl-not-creating-the-desired-datastore-tp5014713p5014731.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Working with the REST

2012-11-09 Thread Smaran Harihar
Hi Guys,

I am trying to understand how the REST interface works. When we create a
datastore in Geoserver and add a shapefile, does Geoserver create a copy of
the shapefile in xml, as featuretype.xml and layer.xml, in the
/usr/share/opengeo-suite-data/geoserver_data/workspaces/opengeo/Pima/
directory?

-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] using gsconfig.py

2012-11-08 Thread Smaran Harihar
Ok so i did the two things,

First I executed this code,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
'file:///var/www/geo/shapefile/csv_shp/Quercus_inopina.shp'
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/csv_shp/Quercus_inopina.shp

Now I am able to see the newly created datastore with the layer
here<http://128.196.142.55:8080/geoserver/rest/workspaces/acme/datastores/csv_shp.html>,
but I am not able to see the layer in the Geoserver GUI Interface. I can
see that there is a new store, csv_shp that has been created but it's layer
details are empty. The path to shapefile is empty. Am I defining the file
path wrong?

Then I took you advise and tried this code,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' \
> -d 'file:///var/www/geo/shapefile/csv_shp/Quisqualis_indica.shp' \
>
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Quisqualis_indica/external.shp

As you said I changed it to external.shp but I am getting this error,

Error persisting DataStoreInfoImpl[Quisqualis_indica] to
/usr/share/opengeo-suite-data/geoserver_data/workspaces/acme/Quisqualis_indica/datastore.xml

Also I tried to remove the csv_shp store that I created from the GUI but it
is not allowing me to remove the store and giving a big JIRA bug error
report <http://dpaste.de/a8mEi/>, saying *Oops something went wrong*.

Any idea what happened? It seems that I can only create a datastore as per
the name of the directory where the shapefiles reside.

Thanks,
Smaran

On Thu, Nov 8, 2012 at 9:57 AM, David Winslow  wrote:

> That should be 'external.shp' instead of Stemmodontia_reticulata. The
> "filename" in this request indicates to GeoServer whether the data is:
>
>1. In the request (file.shp)
>2. Already on the server (external.shp)
>3. Somewhere on the web, to be fetched by GeoServer (url.shp)
>
> Since you are posting a file path you want case 2.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> On Thu, Nov 8, 2012 at 12:15 PM, Smaran Harihar 
> wrote:
>
>> Thanks for the reply David. I went through the documentation but is there
>> no way of adding the layer to the Geoserver?
>>
>> I am trying to use the curl command for the existing shapefile,
>>
>> curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
>> 'file:./shapefile/csv_shp/Stemmodontia_reticulata.shp'
>> http://localhost:8080/geoserver/rest/workspaces/opengeo/datastores/Stemmodontia_reticulata/Stemmodontia_reticulata.shp
>>
>> But I keep getting this error,
>>
>> *No such datastore: opengeo,Stemmodontia_reticulata*
>>
>> I have the opengeo workspace but the 
>> document<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#adding-an-existing-shapefile>
>>  says
>> that the curll command will add a new datastore to the Geoserver, then why
>> am I getting no such datastore error?
>>
>> Thanks,
>> Smaran
>>
>>
>> On Thu, Nov 8, 2012 at 6:33 AM, David Winslow wrote:
>>
>>> GSConfig is used extensively by GeoNode (http://geonode.org/) and I
>>> believe has some casual users as well.  I (the original developer of this
>>> library) have definitely uploaded shapefiles with it.
>>>
>>> http://dwins.github.com/gsconfig.py/ has some more info and examples.
>>>
>>> --
>>> David Winslow
>>> OpenGeo - http://opengeo.org/
>>>
>>> On Wed, Nov 7, 2012 at 11:32 PM, Smaran Harihar <
>>> smaran.hari...@gmail.com> wrote:
>>>
>>>> Has anybody used gsconfig.py<https://github.com/dwins/gsconfig.py/wiki>to 
>>>> connect with the Geoserver and upload shapefiles?
>>>>
>>>> --
>>>> Thanks & Regards
>>>> Smaran Harihar
>>>>
>>>>
>>>>
>>>> ------
>>>> Everyone hates slow websites. So do we.
>>>> Make your web apps faster with AppDynamics
>>>> Download AppDynamics Lite for free today:
>>>> http://p.sf.net/sfu/appdyn_d2d_nov
>>>> ___
>>>> Geoserver-users mailing list
>>>> Geoserver-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>>
>>>
>>
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>


-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] using gsconfig.py

2012-11-08 Thread Smaran Harihar
Thanks for the reply David. I went through the documentation but is there
no way of adding the layer to the Geoserver?

I am trying to use the curl command for the existing shapefile,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
'file:./shapefile/csv_shp/Stemmodontia_reticulata.shp'
http://localhost:8080/geoserver/rest/workspaces/opengeo/datastores/Stemmodontia_reticulata/Stemmodontia_reticulata.shp

But I keep getting this error,

*No such datastore: opengeo,Stemmodontia_reticulata*

I have the opengeo workspace but the
document<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#adding-an-existing-shapefile>
says
that the curll command will add a new datastore to the Geoserver, then why
am I getting no such datastore error?

Thanks,
Smaran

On Thu, Nov 8, 2012 at 6:33 AM, David Winslow  wrote:

> GSConfig is used extensively by GeoNode (http://geonode.org/) and I
> believe has some casual users as well.  I (the original developer of this
> library) have definitely uploaded shapefiles with it.
>
> http://dwins.github.com/gsconfig.py/ has some more info and examples.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Wed, Nov 7, 2012 at 11:32 PM, Smaran Harihar 
> wrote:
>
>> Has anybody used gsconfig.py <https://github.com/dwins/gsconfig.py/wiki>to 
>> connect with the Geoserver and upload shapefiles?
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_nov
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>


-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] using gsconfig.py

2012-11-07 Thread Smaran Harihar
Has anybody used gsconfig.py <https://github.com/dwins/gsconfig.py/wiki> to
connect with the Geoserver and upload shapefiles?

-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] curl not creating the desired datastore

2012-11-07 Thread Smaran Harihar
Hi guys,

I am implementing the following code to upload an existing shapefile as per
the 
documentation<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#adding-an-existing-shapefile>
,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
'file:./shapefile/csv_shp/Stemmodontia_reticulata.shp'
http://localhost:8080/geoserver/rest/workspaces/opengeo/datastores/Stemmodontia_reticulata/Stemmodontia_reticulata.shp

But I am getting following error,

No such datastore: opengeo,Stemmodontia_reticulata

The document says that the curl code will create the datastore then why am
I getting this error?

-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Total capacity of Geoserver

2012-11-07 Thread Smaran Harihar
Hi guys,

I wanted to know the scalability that Geoserver has. I am asking this
because I need to upload 88000 or more shapefiles to Geoserver and later on
Geotiff as well. Is there a batch upload process that I can use, which will
help me upload these features to the geoserver?

-- 
Thanks & Regards
Smaran Harihar
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Communication between Geoservers

2012-07-03 Thread Smaran Harihar
Hi Guys,

I wanted to know if it was possible to communicate between one or more
Geoservers? I know there is Geonetwork which helps in communicating between
Geoservers, but can Geoservers communicate directly?

My communicate I mean, is it possible for another Geoserver to connect to a
Geoserver and pull that particular spatial data or shapefile? If it is
possible, how is it done?

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Fwd: creating geotiff in ArcGIS to publish in geoserver

2012-06-06 Thread Smaran Harihar
-- Forwarded message --
From: Smaran Harihar 
Date: Wed, Jun 6, 2012 at 9:41 AM
Subject: Re: [Geoserver-users] creating geotiff in ArcGIS to publish in
geoserver
To: sacprasanna 


Hi sacprasanna,

I created my GeoTIFF using ArcMap and it worked pretty well. To load it
into Geoserver you will need to Store and select GeoTIFF and that should do
the trick.

-Smaran


On Wed, Jun 6, 2012 at 2:50 AM, sacprasanna  wrote:

> Hi all,
> Pls give me some help
>
> Short question
>
> How create geotiff image to publish using Geoserver?
>
> Bit more information
>
> I want to publish geo-reference image in geoserver.Then i chose image
> format
> as geotiff and create using arcGIS 9.3.It create tiff,tfw and aux
> files.But
> when publish using geoserver it gives this message,
>
> "Could not list layers for this store, an error occurred retrieving them:
> Unable to acquire a reader for this coverage with format: GeoTIFF"
>
> What is the error,I think this is not the correct method to create
> geotiff(to using GS).True? If answer is yes What is the correct method?
>
> Thanks for your time
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/creating-geotiff-in-ArcGIS-to-publish-in-geoserver-tp4979451.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> 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
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Thanks & Regards
Smaran Harihar




-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] cross-origin in geoserver

2012-06-04 Thread Smaran Harihar
Hi,

I am trying to enable cross-origin-resource sharing in Geoserver and I
wanted to know is this feature available in Geoserver?

I know that I can do it with apache, which is my local webserver and I want
it to communicate with the Geoserver in loading XMLHttpRequest, since the
proxy.cgi is failing to load it in OpenLayers.

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Unable to access geoserver

2012-05-31 Thread Smaran Harihar
On Thu, May 31, 2012 at 12:23 PM, Smaran Harihar
wrote:

> Yes the server is started and I am accessing it over the network. Previous
> version of geoserver that was installed was working fine. I have now
> installed the latest version and since then i am not able to access it.
>
> dpkg -s opengeo-geoserver
> Package: opengeo-geoserver
> Status: install ok installed
> Priority: extra
> Section: science
> Installed-Size: 97048
> Maintainer: OpenGeo 
> Architecture: amd64
> Version: 2.5
> Depends: debconf, sun-java6-jre | openjdk-6-jre, tomcat6, opengeo-jai,
> opengeo-suite-data (>= 2.5), unzip, libgdal, debconf (>= 0.5) | debconf-2.0
> Description: High performance, standards-compliant map and geospatial data
> server.
>  GeoServer is an open source software server written in Java that allows
> users to share
>  and edit geospatial data. Designed for interoperability, it publishes
> data from any
>  major spatial data source using open standards such as Web Features
> Server (WFS), Web
>  Map Server (WMS), and Web Coverage Server (WCS).  This version of
> GeoServer is enhanced
>  and designed for use with the OpenGeo Suite.
> Homepage: http://opengeo.org
>
> On Thu, May 31, 2012 at 11:18 AM, Russell Hore wrote:
>
>> Are you trying to browse to it from the local machine or over the network?
>>
>> Have you started the server?
>>
>> Russ
>>
>> On 31 May 2012, at 19:08, Smaran Harihar wrote:
>>
>> > Hi,
>> >
>> > I installed geoserver on ubuntu 11.04 and everything was installed fine
>> but I am still not able to access Geoserver using the 8080 port.
>> >
>> > I type in the url for the server with 8080/geoserver/web and only
>> output I am getting is Page not found.
>> >
>> > --
>> > Thanks & Regards
>> > Smaran Harihar
>> >
>> >
>> --
>> > 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
>> > Geoserver-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> Thanks & Regards
> Smaran Harihar
>
>


-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Unable to access geoserver

2012-05-31 Thread Smaran Harihar
Hi,

I installed geoserver on ubuntu 11.04 and everything was installed fine but
I am still not able to access Geoserver using the 8080 port.

I type in the url for the server with 8080/geoserver/web and only output I
am getting is Page not found.

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Unable to obtain Demo requests

2012-05-25 Thread Smaran Harihar
Hi,

I am going through the demo request
docs<http://docs.geoserver.org/stable/en/developer/release-testing-checklist/index.html#demos>
and
I first went to the

Request: WFS_getCapabilities-1.0.xml
URL: http://localhost:8080/geoserver/wfs

And it gave me the following output in the Body,



http://www.opengis.net/wfs";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd"/>

Then as the XML states (the one in bold),

I changed my selection as follows,

Request: WFS_describeFeatureType-1.0.xml
URL: http://localhost:8080/geoserver/wfs

And it gave me the following output,





http://www.opengis.net/wfs";
  xmlns:usa="http://usa.opengeo.org";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd";>

usa:states



When I enter the Username and Password and click submit, a white box
appears which is totally blank.
According to the demo the box is suppose to contain the details as
described in bold above.

Is there something wrong?

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Install Geoserver

2012-05-25 Thread Smaran Harihar
Just one more question,

3. Is it better to install the complete opengeo suite or should I install
the geoserver, Postgres with PostGIS 2.4 extension separately?

-- Forwarded message --
From: Smaran Harihar 
Date: Fri, May 25, 2012 at 9:19 AM
Subject: Re: [Geoserver-users] Install Geoserver
To: Imran Rajjad , geoserver-users <
geoserver-users@lists.sourceforge.net>


No Imran, I do not wish to add a PostGIS table. I am installing the
complete Geoserver Open Suite again but last time I installed Open GeoSuite
I had issues with the PostGres PostGIS extension. So i will now be
installing the complete Postgres with PostGIS using the following
wiki<http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204>
on
Ubuntu 12.04.

So this what I need,

1. Wiki which documents the installation process of OpenGeo Suite with
Postgres having PostGIS 2.4 extension for Ubuntu 12.04.
2. If there is no wiki for (1) then wiki which documents installation
process without Postgres and how can I separetly add the installed Postgres
with PostGIS 2.4 extension to Geoserver on Ubuntu 12.04


On Fri, May 25, 2012 at 9:12 AM, Imran Rajjad  wrote:

> Hi,
>
>
> http://docs.geoserver.org/stable/en/user/gettingstarted/postgis-quickstart/index.html
>
>
> follow the above link
>
>
> regards,
> Imran
>
> On Fri, May 25, 2012 at 8:52 PM, Smaran Harihar 
> wrote:
>
>> Hi,
>>
>> Is there a wiki to provide step wise installing process of Geoerver? I
>> will be installing Postgres with PostGIS extension using the following
>> wiki <http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204>.
>> So I need to install Geoserver and then connect to this Postgres.
>>
>> The reason I am separately installing Postgres is because I am not able
>> to access the PostGIS 2.4 extension. If I can Install both together, I
>> would appreciate if you could provide that link.
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>>
>> --
>> 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
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> I.R
>



-- 
Thanks & Regards
Smaran Harihar




-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Install Geoserver

2012-05-25 Thread Smaran Harihar
No Imran, I do not wish to add a PostGIS table. I am installing the
complete Geoserver Open Suite again but last time I installed Open GeoSuite
I had issues with the PostGres PostGIS extension. So i will now be
installing the complete Postgres with PostGIS using the following
wiki<http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204>
on
Ubuntu 12.04.

So this what I need,

1. Wiki which documents the installation process of OpenGeo Suite with
Postgres having PostGIS 2.4 extension for Ubuntu 12.04.
2. If there is no wiki for (1) then wiki which documents installation
process without Postgres and how can I separetly add the installed Postgres
with PostGIS 2.4 extension to Geoserver on Ubuntu 12.04

On Fri, May 25, 2012 at 9:12 AM, Imran Rajjad  wrote:

> Hi,
>
>
> http://docs.geoserver.org/stable/en/user/gettingstarted/postgis-quickstart/index.html
>
>
> follow the above link
>
>
> regards,
> Imran
>
> On Fri, May 25, 2012 at 8:52 PM, Smaran Harihar 
> wrote:
>
>> Hi,
>>
>> Is there a wiki to provide step wise installing process of Geoerver? I
>> will be installing Postgres with PostGIS extension using the following
>> wiki <http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204>.
>> So I need to install Geoserver and then connect to this Postgres.
>>
>> The reason I am separately installing Postgres is because I am not able
>> to access the PostGIS 2.4 extension. If I can Install both together, I
>> would appreciate if you could provide that link.
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>>
>> --
>> 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
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> I.R
>



-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Install Geoserver

2012-05-25 Thread Smaran Harihar
Hi,

Is there a wiki to provide step wise installing process of Geoerver? I will
be installing Postgres with PostGIS extension using the following
wiki<http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204>.
So I need to install Geoserver and then connect to this Postgres.

The reason I am separately installing Postgres is because I am not able to
access the PostGIS 2.4 extension. If I can Install both together, I would
appreciate if you could provide that link.

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Access Jetty Config file in Geoserver

2012-05-24 Thread Smaran Harihar
Hi Justin,

I was able to goto the /etc and locate a list of config files but I am not
sure which is the one that I should modify?

Also could you also tell how to add the response header? I mean where
should I insert it?

Thanks & Regards,
Smaran Harihar


On Thu, May 24, 2012 at 11:13 AM, Justin Deoliveira wrote:

>
>
> On Thu, May 24, 2012 at 10:59 AM, Smaran Harihar  > wrote:
>
>> Hi,
>>
>> I need to add to the Jetty config file in Geoserver, the response header
>> *Access-Control-Allow-Origin: **, to avoid the error XMLHttpRequest
>> cannot load
>> *
>> *
>> So I wanted to know,
>>
>> 1. Where is the Jetty config file located in the Geoserver?
>> 2. Which is the jetty config file?
>> 3. What is the tags in which I should wrap the response header?
>>
>> I was able to locate the file jetty.xml in /opt/opengeo/suite/etc. Is
>> this the right location?
>>
>
> Yes, this is where the jetty configuration file lives, but this is
> referring to geoserver in the opengeo suite. If you are talking straight
> geoserver it is located in a similar location, in an "etc" directory under
> the root.
>
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>>
>> --
>> 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
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>


-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Access Jetty Config file in Geoserver

2012-05-24 Thread Smaran Harihar
Hi,

I need to add to the Jetty config file in Geoserver, the response
header *Access-Control-Allow-Origin:
**, to avoid the error XMLHttpRequest cannot load
*
*
So I wanted to know,

1. Where is the Jetty config file located in the Geoserver?
2. Which is the jetty config file?
3. What is the tags in which I should wrap the response header?

I was able to locate the file jetty.xml in /opt/opengeo/suite/etc. Is this
the right location?

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Need access to jetty

2012-05-22 Thread Smaran Harihar
Hi,

I am trying to create a WFS Open Layer Application and it I wish to add to
the Jetty Configuration header the following line,

Access-Control-Allow-Origin:
*

Could you tell How do I reach the config file?

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Adding new Shapefiles to pgadmin3

2012-05-22 Thread Smaran Harihar
Hi,

I have created a PostGIS Database on pgadmin3 and added a shapefile. Then i
went to the geoserver and published that shapefile. After that I added
another shapefile to the same database using the pgShapeLoader and I was
able to successfully add it.

Now I went back again to the Geoserver admin page and tried to find the
newly added shapefile there but I was not able to locate it in the PostGIS
Store that I created. Any clue how I can access the newly added shapefile
in the database on Geoserver? OR once the shapefile is published in the
PostGIS database in the Geoserver, can we not publish new shapefiles that
we have added using pgShapeLoader?

-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Import data using PostGIS connection

2012-05-16 Thread Smaran Harihar
Hi Alex,

Ok so I created the Postgres user and password. Now I need to load the
shapefiles into the newly created db. I have a script that creates the
shapefiles and I wanted those shapefiles to be directly imported into the
Geoserver. The best way I found after some amount googling was that I
create a PostGIS connection in the Geoserver and when I add the shapefiles
into the PostGIS it should automatically update in Geoserver from where I
will be able to retrieve the data.

The issue is how can I directly connect to Postgres db that I have created
and make that a PostGIS, and then add the shapefile to it.

Also I am not sure why but why pgShapeLoader is coming greyed out like in
this image here. <http://i.stack.imgur.com/GsO1R.png> I am using Ubuntu
12.04 and the synaptic package Manager shows that I have installed the
opengeo-postgis-shapeloader <http://i.stack.imgur.com/eYWxW.png>.

Thanks & Regards,
Smaran Harihar

On Wed, May 16, 2012 at 7:59 AM, Alex Borrell  wrote:

> You should post to postgis/postgresql lists.
>
> When you installed postgis, postgresql should have been installed. So you
> need the
> password for postgresl, not postgis. Usually, postgresql creates a user
> postgres as
> administrator.
>
> On Mon, May 14, 2012 at 2:59 PM, Smaran Harihar 
> wrote:
>
>> Hi,
>>
>> I am trying to import the shapefiles into GeoServer using the PostGIS
>> connection. I am not able to do it, since I do not know what the
>> username and the password is for my PostGIS database.
>>
>> I am using Ubuntu 12.04 and I installed Geoserver using the Synaptic
>> Package Manager.
>>
>> How can I know the username and password of the PostGIS connection?
>> Please help.
>>
>> --
>> Thanks & Regards
>> Smaran Harihar
>>
>>
>> --
>>
>> 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
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>


-- 
Thanks & Regards
Smaran Harihar
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Import data using PostGIS connection

2012-05-14 Thread Smaran Harihar
Hi,

I am trying to import the shapefiles into GeoServer using the PostGIS
connection. I am not able to do it, since I do not know what the
username and the password is for my PostGIS database.

I am using Ubuntu 12.04 and I installed Geoserver using the Synaptic
Package Manager.

How can I know the username and password of the PostGIS connection? Please help.

-- 
Thanks & Regards
Smaran Harihar

--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users