Re: [Geoserver-users] EXT :Re: GeoServer X.509 authentication

2012-08-27 Thread Guntu, Ashok (IS) (Contr)
Andrea,
 Does it mean that we cannot configure 2.1.4 version to work with 
certificates or just the fact that it is not documented?

Thanks
Ashok

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Saturday, August 25, 2012 6:27 AM
To: christian.muel...@nvoe.at
Cc: Guntu, Ashok (IS) (Contr); geoserver-users@lists.sourceforge.net
Subject: EXT :Re: [Geoserver-users] GeoServer  X.509 authentication

On Sat, Aug 25, 2012 at 10:38 AM, 
christian.muel...@nvoe.atmailto:christian.muel...@nvoe.at wrote:
Hi Ashok

The geoserver X.509 authentication is based on the spring security
X.509 authentication described here

http://static.springsource.org/spring-security/site/docs/3.0.x/reference/x509.html

You need a client certificate and a SSL setup. The user name is
extracted from the CN as described in the above link.

Is this what you want ?

A quick observation, what Christian is talking about is related to the 
GeoServer 2.2.x
series, not to GeoServer 2.1.4

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] EXT :Re: geoserver Security Question

2012-08-27 Thread Guntu, Ashok (IS) (Contr)
Andrea,
   Is this solution for 2.2.x and higher or can we implement this with 2.1.4 as 
well.

Thanks
Ashok

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Sunday, August 26, 2012 2:48 AM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: EXT :Re: geoserver Security Question

On Thu, Aug 23, 2012 at 5:47 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:
Andrea,
  I don't think this is what I am looking for.  I am trying to manage my 
authorization to various layers.  Currently it is all file based system in 
geoserver...I want it to modify to look at a database instead.

Then you have to implement the org.geoserver.security.ResourceAccessManager, and
then declare it as a bean in the applicationContext.xml file of your module.
Plug the jar into GeoServer and it will use your authorization subsystem 
instead of the
default one

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] GeoServer X.509 authentication

2012-08-24 Thread Guntu, Ashok (IS) (Contr)
All,
   I am using Geoserver 2.1.4.  I want to use the X.509 authentication instead 
of using the current ACL based security.  What needs to be done.  Is it more of 
a configuration issue or do I need to do something more that.  If anyone has 
done this before, input is appreciated.

Thanks
Ashok
--
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] Rest API Question

2012-08-21 Thread Guntu, Ashok (IS) (Contr)
Hello

I have been able to create layer/SLD/add sld to layer/delete layer/delete 
feature type all by using the rest api provided by geoserver.  I am doing this 
using the java code.  However, I have come across a few things.


1)  When a new layer is created, I get an info in my logs

2012-08-21 14:55:19,933 WARN  [org.geoserver.catalog.rest] (http-8443-1) Unable 
to fill in metadata from underlying feature source
java.io.IOException: Schema 'http://www.opengeospatial.net/gcssRest:xyz' does 
not exist.
at 
org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:588)
at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:383)
at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:350)
at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:644)
at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:103)
at 
org.geoserver.catalog.rest.FeatureTypeResource.handleObjectPost(FeatureTypeResource.java:151)
at 
org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:120).

gcssRest is the name of the workspace and xyz is the name of the layer.  
However, the layer gets created and it works fine.



2)  When I try to create a layer, if value specified fort nativeName is 
different from the name, I get another error, but the layer gets created fine

3)  When I have to delete a layer, I have to deleteLayer and then delete 
the featureType.  If I don't delete the featureType, I can see the features in 
the wfs call.  Is this how this is supposed to work.

Thanks
Ashok
--
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] GeoServer Manager Documentation.

2012-08-14 Thread Guntu, Ashok (IS) (Contr)
Hello,
  I am trying to use Geoserver Manager's rest API to create a layer.  I have 
been noticing that there is hardly any documentation available describing all 
the parameters in different calls.  Can somebody point me to documentation if 
available.

Also, just taking a brief look at the API, it appeared that there is no way to 
create a parameterized layer using the rest-api.  Can somebody confirm that.

Thanks
Ashok
--
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] EXT :Re: Zoom bases feature filtering.

2012-08-06 Thread Guntu, Ashok (IS) (Contr)
Thanks Andrea...works like a charm.

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Saturday, August 04, 2012 2:03 AM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: EXT :Re: [Geoserver-users] Zoom bases feature filtering.

On Sat, Aug 4, 2012 at 5:03 AM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:
Andrea,

With SLD min/max scale denominators I can specify what kind of styling to apply 
for feature at a certain zoom level, but what if when you are zoomed out you 
only want to show specific features?

You add a Filter alongside the min/max scale denominator. This is the very 
basics of doing zoom dependent styles,
when zoomed out you often only want to show only a portion of the data

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] Zoom bases feature filtering.

2012-08-03 Thread Guntu, Ashok (IS) (Contr)
Hello,

I need to select which features to display based on the zoom level.  When I a 
creating a parameterized layer, I have access to the bounding box but not the 
zoom.  Is there an easy solution here?

Thanks
Ashok
--
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] EXT :Re: Zoom bases feature filtering.

2012-08-03 Thread Guntu, Ashok (IS) (Contr)
Andrea,

With SLD min/max scale denominators I can specify what kind of styling to apply 
for feature at a certain zoom level, but what if when you are zoomed out you 
only want to show specific features?

For example..i am displaying a list of cities.  When I am zoomed out, I only 
want to display cities of population greater than 1 mil and when I zoom in I 
want to show all the cities.  How would I do this in SLD?

Thanks
Ashok

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Friday, August 03, 2012 4:51 PM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: EXT :Re: [Geoserver-users] Zoom bases feature filtering.

On Fri, Aug 3, 2012 at 9:56 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:
Hello,

I need to select which features to display based on the zoom level.  When I a 
creating a parameterized layer, I have access to the bounding box but not the 
zoom.  Is there an easy solution here?

Can't you work using sld min and max scale denominators?

Cheers
Andrea


--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] ExternalGraphics not working!

2012-08-02 Thread Guntu, Ashok (IS) (Contr)
I am trying to access an external graphics from SLD.  The code is provided 
below, however, I don't get the image in my response.  I have tried to cut and 
paste the url in the browser, and I see the image.


PointSymbolizer
Graphic
ExternalGraphic
OnlineResource xlink:type=simple 
xlink:href=http://geo.ifip.tuwien.ac.at/imak/2009/stack_workshop/data/styles/bus.png/
Formatimage/png/Format
/ExternalGraphic
Size32/Size
/Graphic
/PointSymbolizer

However, when I try to access an image from my styles directory, It works fine. 
 Any help will be appreciated.

Thanks
Ashok
--
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] Symbol Server

2012-08-01 Thread Guntu, Ashok (IS) (Contr)
Hello,
  I need to use a symbol server for my icons.  In my SLD I call the symbol 
server with appropriate parameters shown below:

ExternalGraphic
OnlineResource xlink:type=simple 
xlink:href=http%3A%2F%2Flocalhost%3A8080%2FgcssMap%2Fservice.do%3Frequest%3DGet2525b%26image2525b%3DSFGPIBA---H/
Formatimage/png/Format
/ExternalGraphic

The url has been encocded.  The decodes version would look like : 
https://localhost:8443/gcssMap/service.do?request=Get2525bimage2525b=SFGPIBA---H

However, I get the following error when I try to access the layer ShapePainter 
has been asked to paint a null style!

Any clues how I should be working around this.

Thanks
Ashok
--
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] EXT :Re: Question on Dynamic symbolizers

2012-07-30 Thread Guntu, Ashok (IS) (Contr)
Andrea,
I have tried the approach you have suggested but it still fails to produce 
KML with the exact same error.  Could it be that the ticket GEOS-4608 fixed it 
and is in release 2.1.5.  I am using 2.1.4 currently.

Thanks
Ashok

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Sunday, July 29, 2012 4:37 AM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: EXT :Re: [Geoserver-users] Question on Dynamic symbolizers

On Thu, Jul 26, 2012 at 8:38 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:
Hi

I have the need to display different images for different features in my layer. 
 Dynamic symbolizers seems like a perfect solution.  So I had to create a style 
sheet which looks like the one below. ${image_name}  is the column in the table 
which contains the image to be displayed. This works perfectly for the png 
image that is produced.  Each feature gets its own image.  However, this errors 
out in the KML.  The error in the kml is shown below.  Any clues what I 
should be doing here.

It is a well known limitation that you cannot have the full URL to be a 
variable,
as the parser and the in memory data structures will reject it for not being a 
valid
URL.

Please have at least http://${image_name} in your url

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] Question on Dynamic symbolizers

2012-07-26 Thread Guntu, Ashok (IS) (Contr)
Hi

I have the need to display different images for different features in my layer. 
 Dynamic symbolizers seems like a perfect solution.  So I had to create a style 
sheet which looks like the one below. ${image_name}  is the column in the table 
which contains the image to be displayed. This works perfectly for the png 
image that is produced.  Each feature gets its own image.  However, this errors 
out in the KML.  The error in the kml is shown below.  Any clues what I 
should be doing here.

Thanks
Ashok

Lines from the SLD
PointSymbolizer
Graphic
ExternalGraphic
OnlineResource xlink:type=simple 
xlink:href=${image_name}/
Formatimage/png/Format
/ExternalGraphic
Size32/Size
/Graphic
/PointSymbolizer


Error when generating the KML

2012-07-26 14:28:25,063 ERROR [org.geoserver.kml] (http-8443-1) Could not parse 
cql expressions out of https://localhost:8443/geoserver/styles/$%7Bimage_name%7D
java.lang.IllegalArgumentException: Unescaped $ at position 41
at 
org.geotools.renderer.style.ExpressionExtractor.splitCqlExpressions(ExpressionExtractor.java:97)
at 
org.geotools.renderer.style.ExpressionExtractor.extractCqlExpressions(ExpressionExtractor.java:162)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.evaluateDynamicSymbolizer(KMLMapTransformer.java:748)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePointStyle(KMLMapTransformer.java:722)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodeStyle(KMLMapTransformer.java:467)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodeStyle(KMLMapTransformer.java:356)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:954)
at 
org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:878)
at 
org.geoserver.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:206)
at 
org.geoserver.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:148)
at 
org.geoserver.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:208)
at 
org.geoserver.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:131)
at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:939)
--
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] CSS Question

2012-07-24 Thread Guntu, Ashok (IS) (Contr)
Hi,
  I am including a css in my description.ftl .  I apply certain styles to a 
td.  I notice in my placemark that the styles does not get applied.  However, 
in the preview on the left (in TOC) under the title I see that the styles work 
correctly.  Was wondering if anybody has come across this before.

Aslo, is there a way for me to switch off the preview of the placemark in the 
TOC.

Thanks
Ashok
--
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] Geoserver - Jboss logging issue.

2012-07-20 Thread Guntu, Ashok (IS) (Contr)
Hi

I am using geoserver 2.1.4 with Jboss 5.2.  Out of the box all my WMS calls 
were working but the WFS calls were causing class loading errors. To get around 
this based on Andrea's and a suggestion from a previous post 
(http://geo-solutions.blogspot.com/2009/07/deploying-geoserver-on-jboss-as-5x.html),
 I created
jboss-classloading.xml and dropped it into the geoserver.war/WEB-INF directory. 
 The contents of the file are below

classloading xmlns=urn:jboss:classloading:1.0
name=geoserver.war
domain=GeoServerDomain
export-all=NON_EMPTY
import-all=true
/classloading


After this, the WFS and the WMS calls went through fine, no issues.  However, 
once jboss loads geoserver.war, it stops the logging process.  I don't get how 
the class loader is affecting the jboss logging.  Is there any settings that 
need to be changed somewhere.  Any help is appreciated.

Thanks in Advance
Ashok
--
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] Geoserver - Jboss logging issue.

2012-07-20 Thread Guntu, Ashok (IS) (Contr)
The answer for the below question is at

http://docs.geoserver.org/stable/en/user/advanced/logging.html


I added  the below lines to geoserver.war/WEB-INF/web.xml .  Doing this lets 
jboss retain control of the logs.  The link also contains information to create 
a different log for each cluster. This might be required because currently, the 
log file is created in the data directory and the data directory might have to 
be shared among the clusters.

context-param
   param-nameRELINQUISH_LOG4J_CONTROL/param-name
param-valuetrue/param-value
  /context-param


Looks like I am asking questions first ...reading afterwards.

Thanks
Ashok



From: Guntu, Ashok (IS) (Contr)
Sent: Friday, July 20, 2012 8:37 AM
To: geoserver-users@lists.sourceforge.net
Subject: Geoserver - Jboss logging issue.

Hi

I am using geoserver 2.1.4 with Jboss 5.2.  Out of the box all my WMS calls 
were working but the WFS calls were causing class loading errors. To get around 
this based on Andrea's and a suggestion from a previous post 
(http://geo-solutions.blogspot.com/2009/07/deploying-geoserver-on-jboss-as-5x.html),
 I created
jboss-classloading.xml and dropped it into the geoserver.war/WEB-INF directory. 
 The contents of the file are below

classloading xmlns=urn:jboss:classloading:1.0
name=geoserver.war
domain=GeoServerDomain
export-all=NON_EMPTY
import-all=true
/classloading


After this, the WFS and the WMS calls went through fine, no issues.  However, 
once jboss loads geoserver.war, it stops the logging process.  I don't get how 
the class loader is affecting the jboss logging.  Is there any settings that 
need to be changed somewhere.  Any help is appreciated.

Thanks in Advance
Ashok
--
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] EXT :Re: PostgreSQL JNDI Issue

2012-07-19 Thread Guntu, Ashok (IS) (Contr)
Thanks Andrea

.for now since it is only a prototype, I will not fiddle with it.i will 
use the second JNDI data source which works fine.  If it prototype gets 
approved, then I will look into it deeper.

Are you aware of any kind documentation for KML placemark templates apart from 
what they have in the 
docs(http://docs.geoserver.org/latest/en/user/googleearth/tutorials/kmlplacemark/index.html).
  I need to do more complex stuff.  I have some attributes which contain a 
string of XML.  I need to be able to parse that in description.ftl.  Is that a 
possibility.

Thanks in advance
Ashok

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Thursday, July 19, 2012 3:33 AM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: EXT :Re: [Geoserver-users] PostgreSQL JNDI Issue

On Wed, Jul 18, 2012 at 9:19 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:
Hello,
This sounds bizarre and pictures me crazy - when I configure JNDI datasource, 
it does not connect and errors out because of a driver.  However, when I look 
in my jboss console, I can see that connection has been setup correctly.  I 
tried to create another JNDI datasource, this time the second one connects 
correctly, however the first one does not.

So I delete both and create another one, and it fails to connect.  I create a 
second one and it works fine.  I have no explanation for this phenomenon.  I 
have not looked into the code, but if anybody does know about can you share it.

There is nothing special with the code, it's the same one used against the 
standard DBCP connection
pool that GeoServer ships with, the only difference is that instead of building 
the DataSource manually
we get it from JNDI.

A few things that might help:
- remove the jdbc driver from the GeoServer classpath and leave it only in the
  container
- make sure the connections can be unwrapped by the caller if you are using 
Oracle
- make sure you have connection validation enabled

Cheers
Andrea


--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

--
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] KML Styling - Solved

2012-07-18 Thread Guntu, Ashok (IS) (Contr)
I was able to solve the below issue.  Basically, the name of folder (the layer 
folder) and the name of the layer specified in the featureType.xml has to be 
the same.  I find it bizarre because, with the name different, the rest of 
application seems to work fine.

Thanks
Ashok





Hello,
  I am trying to customize my placemark and even though I add a title.ftl 
 and description.ftl with a desired style, I don't see that changes in my 
 Goggle Earth Placemark.  Is there anything else I should be doing.

I went into the states layer (which comes with Geoserver), and  make a 
change to title and the change was reflected.

Thanks in advance.
Ashok


--
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] PostgreSQL JNDI Issue

2012-07-18 Thread Guntu, Ashok (IS) (Contr)
Hello,
This sounds bizarre and pictures me crazy - when I configure JNDI datasource, 
it does not connect and errors out because of a driver.  However, when I look 
in my jboss console, I can see that connection has been setup correctly.  I 
tried to create another JNDI datasource, this time the second one connects 
correctly, however the first one does not.

So I delete both and create another one, and it fails to connect.  I create a 
second one and it works fine.  I have no explanation for this phenomenon.  I 
have not looked into the code, but if anybody does know about can you share it.

Thanks
Ashok
--
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] KML Styling

2012-07-17 Thread Guntu, Ashok (IS) (Contr)
Hello,
  I am trying to customize my placemark and even though I add a title.ftl and 
description.ftl with a desired style, I don't see that changes in my Goggle 
Earth Placemark.  Is there anything else I should be doing.

I went into the states layer (which comes with Geoserver), and  make a change 
to title and the change was reflected.

Thanks in advance.
Ashok
--
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] WFS Issues on Geoserver

2012-07-16 Thread Guntu, Ashok (IS) (Contr)
Hello,
  I am making a WFS (getFeatures) and get the below error.  Is there some 
something I should be doing?  Any help is appreciated.

Thanks
Ashok








java.lang.LinkageError: loader constraint violation: when resolving overridden 
method 
org.eclipse.emf.ecore.xml.type.internal.XMLCalendar.getXMLSchemaType()Ljavax/xml/namespace/QName;
 the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) 
of the current class, org/eclipse/emf/ecore/xml/type/internal/XMLCalendar, and 
its superclass loader (instance of bootloader), have different Class objects 
for the type javax/xml/namespace/QName used in the signature
--
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] GeoServer - Permanent Layers.

2012-07-10 Thread Guntu, Ashok (IS) (Contr)
Hello

We are in the process of evaluation of GeoServer for our project needs.  We 
currently have a home built WMS which relies on the database to create layers.  
So all the properties of the layer are stored in the DB, which the WMS reads 
before creating a layer.  After the end of each release all we deliver to the 
client is a war file and some db scripts. The client has their own set of 
system admins who deploy the application on production systems.

With GeoServer, seems like we have two ways of creating a permanent layer -

1)  Using the admin interface

2)  Using rest service


So if I have to create permanent layers on a production system, you have to 
wait till the client deploys the delivered code and bring the system online and 
then go through one of the above two methods to create a layer.  This is not an 
option for us.


I have noticed that when I created a permanent layer via the admin interface 
(from data in PostGis db), the following files got created.

1)  Datastore.xml (containing the connection details)

2)  Layer.xml (containing the layer information)

3)  FeatureType.xml  (containing more details about the layer and linking 
the layer with the correct data store)


Creating these files (for each layer) upfront and packaging them as a part of 
the delivery will be an ideal solution for us .  However I don't see anywhere 
in the documentation as to how to create these files manually.

I would appreciate it if anybody could point me to the correct direction and 
provide more details if available.

Thanks
Ashok
--
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] Dynamic Layers

2012-07-10 Thread Guntu, Ashok (IS) (Contr)
Hello,
  I have created a layer using a table in my PostGis database.  When the layer 
is published the first time, all the rows in the table show up as features in 
the png/kml.  However, when I add a new row in the database, and try to get the 
layer again, I don't see the new feature.  I tries using sql views as well and 
don't see the features on my map as I add them in the database.  Am I missing 
some kind of a setting?

Thanks
Ashok
--
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] Dynamic Layers

2012-07-10 Thread Guntu, Ashok (IS) (Contr)
I have figured this one out.  When I created a layer out of a postgis table, 
the native bounding box was filled in using the Compute from Data link.  When 
I added a new feature outside the bounding box, I was unable to see the new 
features.  However, when I changed the bounding box to include the whole world, 
I could see the new features as I added them.

Thanks
Ashok
--
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] Rest Examples

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Hello

We need to programmatically be able to create layers in geoserver.  Based on 
the documentation, looks like Geoserver offers rest services to do that.  There 
are no examples as to how this works in Java.  If anybody can provide some 
insight into this, that will be great.

Thanks
Ashok
--
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] Geoserver 2.1.3 and Jboss 5.2

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Hello

Trying to install geoserver 2.1.3/2.1.4 on Jboss 5.2 and get the below error.  
When I installed Geoserver 2.1.3 on Jboss 4.x version a few months back, 
geoserver admin interface worked like a charm.   Now I am getting the below 
error.

I have tried deleting the following jars from geoserver/WEB-INF/lib based on 
another blog but still does not resolve the issue

servlet-api-2.4.jar
stax-api-1.0.1.jar
xalan-2.7.0.jar
xercesImpl-2.6.2.jar
xml-apis-1.3.04.jar
xml-apis-xerces-2.7.1.jar


Any help will be appreciated.

Thanks
Ashok



2012-07-05 11:45:24,249 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/geoserver]] 
(main) Exception sending context initialized event to listener instance of 
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-geoserver-context.xml]:
 Cannot resolve reference to bean 'DiskQuotaStore' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'DiskQuotaStore' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-diskquota-context.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ExceptionInInitializerError
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

Re: [Geoserver-users] Geoserver 2.1.3 and Jboss 5.2

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Was able to solve this problem using the information provided here.  However, 
still wondering how to utilize the webCache functionality if we have to?

From: Guntu, Ashok (IS) (Contr)
Sent: Thursday, July 05, 2012 11:58 AM
To: geoserver-users@lists.sourceforge.net
Subject: Geoserver 2.1.3 and Jboss 5.2

Hello

Trying to install geoserver 2.1.3/2.1.4 on Jboss 5.2 and get the below error.  
When I installed Geoserver 2.1.3 on Jboss 4.x version a few months back, 
geoserver admin interface worked like a charm.   Now I am getting the below 
error.

I have tried deleting the following jars from geoserver/WEB-INF/lib based on 
another blog but still does not resolve the issue

servlet-api-2.4.jar
stax-api-1.0.1.jar
xalan-2.7.0.jar
xercesImpl-2.6.2.jar
xml-apis-1.3.04.jar
xml-apis-xerces-2.7.1.jar


Any help will be appreciated.

Thanks
Ashok



2012-07-05 11:45:24,249 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/geoserver]] 
(main) Exception sending context initialized event to listener instance of 
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-geoserver-context.xml]:
 Cannot resolve reference to bean 'DiskQuotaStore' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'DiskQuotaStore' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-diskquota-context.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ExceptionInInitializerError
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4389

[Geoserver-users] (no subject)

2012-03-22 Thread Guntu, Ashok (IS) (Contr)
Hello
  I have a question about GeoServer.  Can a user create a layer for that 
session and a permanent layer in GeoServer without going through the admin 
interface.  If so where can we find more info about it.

Thanks in advance
Ashok

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Creating a Layer without using admin interface

2012-03-22 Thread Guntu, Ashok (IS) (Contr)

Hello
  I have a question about GeoServer.  Can a user create a layer for that 
session or a permanent layer in GeoServer without going through the admin 
interface.  If so where can we find more info about it.

Thanks in advance
Ashok

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] EXT :Re: Creating a Layer without using admin interface

2012-03-22 Thread Guntu, Ashok (IS) (Contr)
Thanks.  Also if someone can provide me links to the following documentation 
that would be great.



  *   Is there any Support for  Level-of-Detail and layer partitioning/regions:

  *   Does GeoServer supports TOC Hierarchy:

Thanks
Ashok


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Thursday, March 22, 2012 9:20 AM
To: Guntu, Ashok (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: EXT :Re: [Geoserver-users] Creating a Layer without using admin 
interface

On Thu, Mar 22, 2012 at 1:28 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.commailto:ashok.gu...@ngc.com wrote:

Hello
  I have a question about GeoServer.  Can a user create a layer for that 
session or a permanent layer in GeoServer without going through the admin 
interface.  If so where can we find more info about it.

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

Cheers
Andrea

--
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer with oracle (not spatial)

2012-03-08 Thread Guntu, Ashok (IS) (Contr)
Hi,
  I am new to GeoServer and am trying to create a layer using the data I have 
in oracle 10g database.  I am able to connect to my database and see all my 
tables.  I am also able to create a view.  But anywhere in the documentation, I 
was unable to find what kind of view/table is required to create a layer out of 
it.  I have used a table with columns like latitude and longitude and tried to 
create a layer but was not successful.  Is there any documentation which tells 
me what the data model should be.

Any help is appreciated.  Thanks in advance.

Ashok

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer with oracle (not spatial)

2012-03-08 Thread Guntu, Ashok (IS) (Contr)
Rahkonen,
  Thanks for the response.  But I believe SDO_GEOMETRY is not a type in oracle 
10g.  That is probably supported in Spatial.  Am i right?

Thanks
Ashok


From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi]
Sent: Thursday, March 08, 2012 10:25 AM
To: Guntu, Ashok (IS) (Contr); 'geoserver-users@lists.sourceforge.net'
Subject: EXT :Re: GeoServer with oracle (not spatial)

Hi,

You must have geometries in a column of type SDO_GEOMETRY.  You can alter your 
existing table and populate the sdo_geometry field from your x and y columns 
with a SQL query. But if you have never heard about sdo_geometry before I would 
recommend to use a few days by reading Oracle Spatial documents.

-Jukka Rahkonen-


Lähettäjä: Guntu, Ashok (IS) (Contr) [mailto:ashok.gu...@ngc.com]
Lähetetty: 8. maaliskuuta 2012 17:14
Vastaanottaja: Guntu, Ashok (IS) (Contr); geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] GeoServer with oracle (not spatial)
Hi,
  I am new to GeoServer and am trying to create a layer using the data I have 
in oracle 10g database.  I am able to connect to my database and see all my 
tables.  I am also able to create a view.  But anywhere in the documentation, I 
was unable to find what kind of view/table is required to create a layer out of 
it.  I have used a table with columns like latitude and longitude and tried to 
create a layer but was not successful.  Is there any documentation which tells 
me what the data model should be.

Any help is appreciated.  Thanks in advance.

Ashok

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users