Re: [Geoserver-users] SLD 1.0 has no type attribute for ColorMap

2011-03-03 Thread Andrea Aime
On Wed, Mar 2, 2011 at 9:21 PM, Chris Dobell cdob...@meteostar.com wrote:

 Hi all,

 The official Geoserver SLD examples do not validate against the official
 SLD xsd because no attributes are allowed in the ColorMap element.

 For example, this element will not validate against the official SLD
 schema:

 ColorMap type=ramp extended=true

 but this will

 ColorMap

 Installing GeoServer puts a different (extended) StyleLayerDescriptor.xsd
 file here:

 http://localhost:8080/geoserver/schemas/sld/StyledLayerDescriptor.xsd

 which DOES define type and extended attributes for the ColorMap element.

 In other words,

 http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd

 !=

 http://localhost:8080/geoserver/schemas/sld/StyledLayerDescriptor.xsd

 This should be clearly stated in the example documentation.


GeoServer has a large number of extensions compared to the base SLD 1.0
functionality,
so it differs from it in a number of ways. All deviations are there to
provide some functionality
that is missing from the basic SLD, so if you need them there's normally no
way out.
Standard SLD 1.0 allows you to do basic maps,

Our guide shows how to use the full set of capabilities GeoServer offsers,
it's not a
standard SLD primer.

If you want to be sure you're writing simple interoperable SLD please refer
to the SLD 1.0
specification itself, it is publicly available on the OGC site.

If anybody has time to hunt down the differences (a diff between the two
schemas should highlight them all) and feels it's very important to have
them marked
down in the docs, it's possible, and not hard, provide a patch for the
documentation
adding warnings about the extensions.
The documentation itself resides in svn:
http://svn.codehaus.org/geoserver/trunk/doc/en/user/
and you can get up to speed with it using the following guide:
http://docs.geoserver.org/latest/en/docguide/

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Help with reprojection

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 2:04 AM, alex_bar...@qat.com wrote:

 I would appreciate any help with the following…

 I have a postgres/postgis database that has a table with points using srid
 = 2163. If I do:Â

 SELECT ST_AsEWKT(ST_Transform((select spatial_location from vw_maps where
 id=1),900913));Â

 I get  SRID=900913;POINT(-13672282.345767 5705158.43996816), which is
 the right reprojection for my point.Â

 If I define a layer in GeoServer pointing to that same table (which means
 it will be assume 2163) and use OpenLayers (or uDig) to request a 900913
 layer,
 that same point now comes back as -13672358.78089 573596.56157 Notice the
 shift on the second value… All my values are shifted up  !Â

 I tried everything, even comparing the definitions of 900913 in Postgis,
 Geoserver and uDig, and they are all the same…Â

 PROJCS[WGS84 / Google Mercator,              Â
   GEOGCS[WGS
 84,                              Â
 DATUM[World Geodetic System
 1984,                                    
 Â Â Â Â Â Â Â Â Â Â Â
 SPHEROID[WGS 84, 6378137.0, 298.257223563,
 AUTHORITY[EPSG,7030]],Â

 AUTHORITY[EPSG,6326]],                          
 Â Â Â Â Â
   PRIMEM[Greenwich, 0.0,
 AUTHORITY[EPSG,8901]],                          
 Â Â Â Â Â
   UNIT[degree,
 0.017453292519943295],                            
 Â Â Â
   AXIS[Longitude,
 EAST],                              Â
   AXIS[Latitude,
 NORTH],                              Â
   AUTHORITY[EPSG,4326]],              Â
   PROJECTION[Mercator_1SP],              Â
   PARAMETER[semi_minor, 6378137.0],              Â
   PARAMETER[latitude_of_origin, 0.0],              Â
   PARAMETER[central_meridian, 0.0],              Â
   PARAMETER[scale_factor, 1.0],              Â
   PARAMETER[false_easting, 0.0],              Â
   PARAMETER[false_northing, 0.0],              Â
   UNIT[m, 1.0],              Â
   AXIS[x, EAST],              Â
   AXIS[y, NORTH],              Â
   AUTHORITY[EPSG,900913]]Â

 Can someone give me a hint here? Thanks,Alex


This was discussed some time ago on the mailing list. 900913 does have the
same WKT definition
in various systems, but the WKT definition misses some important details
that make the
definition be interpreted in different ways by different systems.

If you want an interoperable one use EPSG:3785 instead, that has a proper
definition
that should be interpreted in a uniform way by different systems:
http://demo1.geo-solutions.it/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.SRSDescriptionPagecode=EPSG:3785

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Overriding newWebRequest

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 8:56 AM, Martin Zeller tor...@torres.at wrote:


 Hi,

 in order to create a wicket file upload with use of the ajax progress bar I
 have to override  the newWebRequest method of the application to return a
 new UploadWebRequest(servletRequest);

 Now, how can I do this in my GeoServer extension (a page like

 http://docs.geoserver.org/stable/en/developer/programming-guide/wicket-pages/index.html
 )
 ?


If you had to override the application itself I think there is no way to do
it.
GeoServer GUI pages are pluggable, but all you need must be done in the page
itself

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Specifying z-index of overlapping PointSymbolizer within ExternalGraphic.

2011-03-03 Thread Andrea Aime
On Wed, Mar 2, 2011 at 4:29 PM, velDiablo kpetry...@gmail.com wrote:


 Hello!

 I have following problem: I have a layer with points. Each point has an
 image (ExternalGraphic) attached.

 If the points are very close, then their images overlap.

 Is it possible, in GeoServer (in SLD styles?), to specify the order in
 which
 points with images are shown one on top of another?


If you can determine in advance a small set of priorities you can use
multiple feature type style elements (each with a rule selecting only the
points that should be at that level).

There is another option (abusing text symbolizer ability to prioritize label
to
lay down your points) but I don't have time to explain how that works
right now

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Coordinate system problem.

2011-03-03 Thread Robert Buckley
Hi,

I created an image pyramid which was in EPSG:4326 ie wgs84 using gdal_retile

When I loaded it into geoserver it was accepted and displayed without a 
problem. 
however, the coordinates are not in lat/lon they are..(see bbox)

geoserver/wms?service=WMS
version=1.1.0
request=GetMap
layers=zgb:tk50
styles=
bbox=976647.122,6686234.936,1369814.506,6934459.818
width=522height=330
srs=EPSG:4326
format=application/openlayers

Geoserver reports the native coords as EPSG:4326 but this can´t be correct, can 
it?

When I look at the original Geotiff on my desktop it is displayed in lat/lon.

This is obviously a missunderstanding on my part, but what is going on? 


thanks for the tips,

Robert

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Coordinate system problem.

2011-03-03 Thread Robert Buckley
hi,

I'll answer the question  mayself.I changed projection: epsg900913 to 
projection: epsg4326 and it was displayed ok.

Does this mean that I can´t display my own epsg: base maps together with google 
maps?

thanks,

RObert






Von: Robert Buckley robertdbuck...@yahoo.com
An: geoserver-users@lists.sourceforge.net
Gesendet: Donnerstag, den 3. März 2011, 10:31:41 Uhr
Betreff: [Geoserver-users] Coordinate system problem.


Hi,

I created an image pyramid which was in EPSG:4326 ie wgs84 using gdal_retile

When I loaded it into geoserver it was accepted and displayed without a 
problem. 
however, the coordinates are not in lat/lon they are..(see bbox)

geoserver/wms?service=WMS
version=1.1.0
request=GetMap
layers=zgb:tk50
styles=
bbox=976647.122,6686234.936,1369814.506,6934459.818
width=522height=330
srs=EPSG:4326
format=application/openlayers

Geoserver reports the native coords as EPSG:4326 but this can´t be correct, can 
it?

When I look at the original Geotiff on my desktop it is displayed in lat/lon.

This is obviously a missunderstanding on my part, but what is going on? 


thanks for the  tips,

Robert

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Map Scale Denominator Issue

2011-03-03 Thread Steve Way
Another thing - I can't tell if this is happening with Raster data as it does 
not print in the logs, but for vector data it definitely does print in the logs.

From: Steve Way [mailto:steve@infotech-enterprises.com]
Sent: 03 March 2011 09:58
To: Andrea Aime
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Map Scale Denominator Issue

Hi Andrea,

Thanks for your reply.

I am unfortunately unable to share the data, but I can share that the data is 
stored in an Oracle Spatial DB.

Kind Regards,
Steve

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 02 March 2011 20:23
To: Steve Way
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Map Scale Denominator Issue

On Wed, Mar 2, 2011 at 8:36 PM, Andrea Aime 
andrea.a...@geo-solutions.itmailto:andrea.a...@geo-solutions.it wrote:
On Wed, Mar 2, 2011 at 4:17 PM, Steve Way
steve@infotech-enterprises.commailto:steve@infotech-enterprises.com 
wrote:
 Hi All,



 I am currently testing  GS-RC1 - we will be updating to RC2 soon in
 preparation for the final release.

Ok, then this is new to me. Do you have sample data and styles to reproduce it?
If so attach them to a bug report on 
jira.codehaus.orghttp://jira.codehaus.org and then let's
wait for a developer
to have enough spare time to look at it.
If you cannot share the data we'll have to wait for someone that can,
or for a developer
to stumble into the same issue.

Ah sorry, forget about this comment, I thought this was a response to the 
polygon with 3 points, A-B-A thread.
The rest of my response about scale denominator computation is still valid 
though

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 333 8128928

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

---


DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech or 
mail.ad...@infotech-enterprises.commailto:mail.ad...@infotech-enterprises.com 
and delete the original message.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Map Scale Denominator Issue

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 10:58 AM, Steve Way 
steve@infotech-enterprises.com wrote:

  Hi Andrea,



 Thanks for your reply.



 I am unfortunately unable to share the data, but I can share that the data
 is stored in an Oracle Spatial DB.


Scale computation is independent of the data, only the bbox and widht and
height are used.
Sorry I misled you with the first comment, I thought I was answering to
another thread.

Anyways, the comments about how the OGC compliant scale is computed are
still valid.
I suspect ArcGis is using a proper ground scale instead, which is indeed
different from the OGC one,
and it's probably also using a different target DPI.

There is nothing that can be done about that, you just have to accept the
scale dependencies will not work
exactly like you want on all client systems (or else modify GeoServer to
target the way a specific client system
computes the scale and break standard compliance)

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Map Scale Denominator Issue

2011-03-03 Thread Steve Way
Hi Andrea,

Thanks very much - this is exactly the answer I was looking for.

Cheers,
Steve

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 03 March 2011 10:17
To: Steve Way
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Map Scale Denominator Issue

On Thu, Mar 3, 2011 at 10:58 AM, Steve Way 
steve@infotech-enterprises.commailto:steve@infotech-enterprises.com 
wrote:
Hi Andrea,

Thanks for your reply.

I am unfortunately unable to share the data, but I can share that the data is 
stored in an Oracle Spatial DB.

Scale computation is independent of the data, only the bbox and widht and 
height are used.
Sorry I misled you with the first comment, I thought I was answering to another 
thread.

Anyways, the comments about how the OGC compliant scale is computed are still 
valid.
I suspect ArcGis is using a proper ground scale instead, which is indeed 
different from the OGC one,
and it's probably also using a different target DPI.

There is nothing that can be done about that, you just have to accept the scale 
dependencies will not work
exactly like you want on all client systems (or else modify GeoServer to target 
the way a specific client system
computes the scale and break standard compliance)

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 333 8128928

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

---


DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech or 
mail.ad...@infotech-enterprises.com and delete the original message.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining

2011-03-03 Thread Ben Caradoc-Davies
Please resend your email to the users list so that everyone can see it. 
Others may be able to assist.

On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
Thanks for the quick response.  I realised that might make some difference 
 so I changed my database schema to be all lower case - which brought me to 
 some new errors - I've attached my config files which were in my complex 
 data store.  I've been trying to use the web GUI to configure these but it 
 seems that maybe manually is safer.

When I have this configuration in place my mapserver will no longer 
 startup.  I don't see anything in the logs though so I'm going to look into 
 increasing the logging level.

I don't suppose you could point me in the direction of a really simple 
 example using PostGIS as a datasource to create a simple app schema?   Once 
 I can get a basic one working I'm sure I can extend it easily enough

 Thanks again

 Shaw


-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] error with wfs 1.1.0 after huge number of requests

2011-03-03 Thread Wouter Schaubroeck
The bugreport seems indeed similar. I'll test it out, and keep you informed.

thx, wouter
--
Wouter
http://blog.giswhat.be


On 2 March 2011 21:52, Andrea Aime andrea.a...@geo-solutions.it wrote:

 On Wed, Mar 2, 2011 at 12:00 PM, Wouter Schaubroeck wou...@giswhat.bewrote:

 Hi list,

 We have several instances of GeoServer running in production, and all of
 them encounter the same issue (or problem):

 after a large number (+1000) of WFS requests ( version 1.1.0 to be
 precise), the server only replies with nullpointerexceptions. This happens
 on all the datasets that the server hosts. I've analysed the logfiles, and
 the problem seems to occur always in the method that checks for the WFS XSD
 Schema. I've gone through the known bugs of GeoServer, but found nothing
 that could help, does anyone has the same kind of issue?
 In attach, there's an extract of the logfiles. The version of GeoServer
 used is 2.0.2.


 This looks very much like this one:
 http://jira.codehaus.org/browse/GEOS-4329

 As far as I remember the concurrent modification exceptions were the first
 simptom, eventually followed by
 NPE solid for all subsequent requests, and the only way to get back a
 working GeoServer was to
 restart it.

 It should be fixed now, you should try out GeoServer 2.1 RC2

 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 333 8128928

 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

 ---

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver and layers security

2011-03-03 Thread marwa El-said

Hello all,
 
 
I mean that I wann to add a key to my map to prevent any one from streaming my 
maps and using it for any other purpose
How can I add key to my maps on geoserver like google maps API key or something 
similar to this.

  Regards,


Marwa Elsaid


 



Date: Wed, 2 Mar 2011 14:11:58 -0500
Subject: Re: [Geoserver-users] geoserver and layers security
From: ijtur...@gmail.com
To: melsaid2...@hotmail.com
CC: geoserver-users@lists.sourceforge.net




2011/3/2 marwa El-said melsaid2...@hotmail.com


Hello all,
 
 
I wanna to ask how can I add a security key or any credentials to my layers on 
geoserver?
As I want to protect my layers from being hacked on the web


What do you mean when you say layers being hacked? Do you mean viewed it then 
http://suite.opengeo.org/docs/geoserver/security/sec_layer.html explains how 
but if you mean changed then just changing the admin password should be fine.

Ian
-- 
Ian Turton


  --
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] geoserver can´t see my pyramid store

2011-03-03 Thread Robert Buckley
hi,

after creating tiles in gdal_retile I loaded the tiles onto my server.
When I try to create the store I always get the following error...

Could not find file: file:data/coverages/zgb/tk50

however I have checked that the path is correct and the data was tested locally 
on geoserver and gave no errors.

What could be wrong?

yours,

Robert

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GEOS-3586 Feedback on worldwind formats module

2011-03-03 Thread tisham
Hi All,

I have asked the worldwind community to test and evaluate the Geoserver
module -
http://forum.worldwindcentral.com/showpost.php?p=90716postcount=19.

I am cross-posting here to get some review on the code and accompanying
documentation (which is very simple at this stage).
https://svn.codehaus.org/geoserver/trunk/src/community/dds/src/main/java/org/geoserver/wms/worldwind/
http://docs.geoserver.org/latest/en/user/community/dds/index.html

Cheers,

Tisham.


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cannot get GeoExt Styler to display [SOLVED]

2011-03-03 Thread mickae1

Hi,

I've the same problem as him.

I mean,  that I have GeoServer 2.0.2 and when i try this page :

.../styler/index.html

It doesn't work, I figure out from firebug that my Styler version is too
old.

http://projects.opengeo.org/styler/wiki/howto/build

I tried to get the new one, but I couldn't because I don't have a username
and password.

When I tried to register on :
http://projects.opengeo.org/styler/wiki/howto/build

http://projects.opengeo.org/styler/register

I got a beautiful error :
-
Oops…
Trac detected an internal error:

NameError: global name 'dict_file' is not defined

There was an internal error in Trac. It is recommended that you inform your
local Trac administrator and give him all the information he needs to
reproduce the issue.

To that end, you could a ticket.

The action that triggered the error was:

GET: /register
--

Is it possible that someone give me the new version of the styler ? or
repair the register problem ;)


Thx ! 


Andrew Parker wrote:
 
 
 
 Ivan Grcic-3 wrote:
 
 Hi Andrew,
 
 you really made this complicated :) Please read below:
 
 
 
 Hello Ivan, my first line of the server status was showing lock.  Did not
 show the data directory location.  However, your reply opened an idea.  I
 created a new datastore this weekend. I searched for the data store which
 was located in /var/lib/tomcat6/webapps/geoserver/data/www.  Why here?  I
 do not know.  So I placed the styler into this directory.  Navigated to
 the styler webpage and the styler displayed.  
 
 Thank you Justin and Ivan for the help.  It lead to a solution.  Now I
 just need to rethink my complications.  
 

-- 
View this message in context: 
http://old.nabble.com/Cannot-get-GeoExt-Styler-to-display-tp30968716p31058681.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WMS GetMap inlineFeature not working in GeoServer 2.1.x?

2011-03-03 Thread Gottfrid Linge
Hi!

Using the SLD_BODY and inlineFeature has previously worked in GeoServer 2.0.x.
When I try to use it in GeoServer 2.1.x, for example by using the demo request 
WMS_getMap_inlineFeature.url I get the following error:
java.lang.RuntimeException: base url not specified and unable to find internal 
SLD schema
base url not specified and unable to find internal SLD schema

Does anyone know if there is a workaround for getting this to work in 2.1.x?

Kind regards,
Gottfrid Linge

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Nested SLD rules?

2011-03-03 Thread Charles Galpin
I apologize in advance for not finding the spec and reading it, but I fear it 
would be a waste of time and an easy one for someone to answer anyway (probably 
with 2 letters).

Is there a way to nest rules, or otherwise use more advanced control logic in 
SLD?

I am making a stylesheet which wouldn't seem terribly hard but is turning out 
to be pretty verbose, currently at 1500 lines and will only get more verbose as 
I try fine tune the display. I essentially am controlling line styles based on 
the combinations and permutations of two attributes and zoom level.

If I could nest the rules or do more advance control logic the psuedo code 
would look like this

if data_type is historical then

 for each green yellow red black do
   draw a dashed line
 do

else

 for each green yellow red black do
   for each of about 5 different zoom levels do
  draw a border line
  draw a 2 pixel thinner colored line line
   end
 end

end if

But instead it's this and growing.

FeatureTypeStyleRuleHistorical green zoom level 1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical green zoom level 2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical green zoom level 3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical green zoom level 4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical green zoom level 5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleHistorical yellow zoom level 1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical yellow zoom level 2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical yellow zoom level 3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical yellow zoom level 4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical yellow zoom level 5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleHistorical red zoom level 1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical red zoom level 2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical red zoom level 3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical red zoom level 4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical red zoom level 5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleHistorical black zoom level 1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical black zoom level 2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical black zoom level 3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical black zoom level 4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleHistorical black zoom level 5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleNon-Historical green zoom level 1 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 
1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 2 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 
2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 3 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 
3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 4 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 
4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 5 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical green zoom level 
5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleNon-Historical yellow zoom level 1 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 
1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 2 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 
2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 3 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 
3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 4 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 
4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 5 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical yellow zoom level 
5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleNon-Historical red zoom level 1 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 
1/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 2 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 
2/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 3 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 
3/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 4 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 
4/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 5 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical red zoom level 
5/Rule/FeatureTypeStyle

FeatureTypeStyleRuleNon-Historical black zoom level 1 
border/Rule/FeatureTypeStyle
FeatureTypeStyleRuleNon-Historical black zoom level 
1/Rule/FeatureTypeStyle

Re: [Geoserver-users] Help with reprojection

2011-03-03 Thread Alex Barros
Andrea:

 

Thank you for your insight. My issue is that I am trying to put my layer on
top of a google map, which requires srid 900913. I am assuming that at some
point I need to do the reprojection from 2163 to 900913, and geoserver WMS
seems to be the right place. do you know if there is a way to make EPSG:3785
work with Google maps?

 

I could try storing my points in Postgis as 900913, so no reprojection is
needed, but I would like to avoid that.

 

Thanks again.

 

Alex

 

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of
Andrea Aime
Sent: Thursday, March 03, 2011 2:13 AM
To: alex_bar...@qat.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Help with reprojection

 

On Thu, Mar 3, 2011 at 2:04 AM, alex_bar...@qat.com wrote:

I would appreciate any help with the following

I have a postgres/postgis database that has a table with points using srid =
2163. If I do:

SELECT ST_AsEWKT(ST_Transform((select spatial_location from vw_maps where
id=1),900913));

I get  SRID=900913;POINT(-13672282.345767 5705158.43996816), which is the
right reprojection for my point.

If I define a layer in GeoServer pointing to that same table (which means it
will assume 2163) and use OpenLayers (or uDig) to request a 900913 layer,
that same point now comes back as -13672358.78089 573596.56157 Notice the
shift on the second value. All my values are shifted up  !

I tried everything, even comparing the definitions of 900913 in Postgis,
Geoserver and uDig, and they are all the same


PROJCS[WGS84 / Google Mercator,  
  GEOGCS[WGS 84, 
DATUM[World Geodetic System 1984, 
SPHEROID[WGS 84, 6378137.0, 298.257223563, AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]], 
  PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]], 
  UNIT[degree, 0.017453292519943295], 
  AXIS[Longitude, EAST], 
  AXIS[Latitude, NORTH], 
  AUTHORITY[EPSG,4326]], 
  PROJECTION[Mercator_1SP], 
  PARAMETER[semi_minor, 6378137.0], 
  PARAMETER[latitude_of_origin, 0.0], 
  PARAMETER[central_meridian, 0.0], 
  PARAMETER[scale_factor, 1.0], 
  PARAMETER[false_easting, 0.0], 
  PARAMETER[false_northing, 0.0], 
  UNIT[m, 1.0], 
  AXIS[x, EAST], 
  AXIS[y, NORTH], 
  AUTHORITY[EPSG,900913]]

Can someone give me a hint here?

 

 Thanks,Alex

 

This was discussed some time ago on the mailing list. 900913 does have the
same WKT definition

in various systems, but the WKT definition misses some important details
that make the 

definition be interpreted in different ways by different systems.

 

If you want an interoperable one use EPSG:3785 instead, that has a proper
definition

that should be interpreted in a uniform way by different systems:

http://demo1.geo-solutions.it/geoserver/web/?wicket:bookmarkablePage=:org.ge
oserver.web.demo.SRSDescriptionPage
http://demo1.geo-solutions.it/geoserver/web/?wicket:bookmarkablePage=:org.g
eoserver.web.demo.SRSDescriptionPagecode=EPSG:3785 code=EPSG:3785

 

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 333 8128928

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

---

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Help with reprojection

2011-03-03 Thread Rahkonen Jukka
Hi,
 
EPSG:900013 is a pseudo-code for the Pseudo-Mercator projection and it has 
never been under that code in the EPSG registry. It was for a little while 
EPSG:3785 but it is no more valid so forget it, too. The right code to use is 
EPSG:3857 
 
http://www.epsg-registry.org/report.htm?type=selectionentity=urn:ogc:def:crs:EPSG::3857reportDetail=shortstyle=urn:uuid:report-style:default-with-codestyle_name=OGP%20Default%20With%20Codetitle=EPSG:3857
 
-Jukka Rahkonen-




Lähettäjä: Alex Barros [mailto:alex_bar...@qat.com] 
Lähetetty: 3. maaliskuuta 2011 16:44
Vastaanottaja: 'Andrea Aime'; geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] Help with reprojection



Andrea:

 

Thank you for your insight. My issue is that I am trying to put my 
layer on top of a google map, which requires srid 900913... I am assuming that 
at some point I need to do the reprojection from 2163 to 900913, and geoserver 
WMS seems to be the right place... do you know if there is a way to make 
EPSG:3785 work with Google maps?

 

I could try storing my points in Postgis as 900913, so no reprojection 
is needed, but I would like to avoid that.

 

Thanks again.

 

Alex

 

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of 
Andrea Aime
Sent: Thursday, March 03, 2011 2:13 AM
To: alex_bar...@qat.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Help with reprojection

 

On Thu, Mar 3, 2011 at 2:04 AM, alex_bar...@qat.com wrote:

I would appreciate any help with the following

I have a postgres/postgis database that has a table with points using 
srid = 2163. If I do:

SELECT ST_AsEWKT(ST_Transform((select spatial_location from vw_maps 
where id=1),900913));

I get  SRID=900913;POINT(-13672282.345767 5705158.43996816), which is 
the right reprojection for my point.

If I define a layer in GeoServer pointing to that same table (which 
means it will assume 2163) and use OpenLayers (or uDig) to request a 900913 
layer,
that same point now comes back as -13672358.78089 573596.56157 Notice 
the shift on the second value... All my values are shifted up  !

I tried everything, even comparing the definitions of 900913 in 
Postgis, Geoserver and uDig, and they are all the same


PROJCS[WGS84 / Google Mercator,  
  GEOGCS[WGS 84, 
DATUM[World Geodetic System 1984, 
SPHEROID[WGS 84, 6378137.0, 298.257223563, 
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]], 
  PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]], 
  UNIT[degree, 0.017453292519943295], 
  AXIS[Longitude, EAST], 
  AXIS[Latitude, NORTH], 
  AUTHORITY[EPSG,4326]], 
  PROJECTION[Mercator_1SP], 
  PARAMETER[semi_minor, 6378137.0], 
  PARAMETER[latitude_of_origin, 0.0], 
  PARAMETER[central_meridian, 0.0], 
  PARAMETER[scale_factor, 1.0], 
  PARAMETER[false_easting, 0.0], 
  PARAMETER[false_northing, 0.0], 
  UNIT[m, 1.0], 
  AXIS[x, EAST], 
  AXIS[y, NORTH], 
  AUTHORITY[EPSG,900913]]

Can someone give me a hint here?

 

 Thanks,Alex

 

This was discussed some time ago on the mailing list. 900913 does have 
the same WKT definition

in various systems, but the WKT definition misses some important 
details that make the 

definition be interpreted in different ways by different systems.

 

If you want an interoperable one use EPSG:3785 instead, that has a 
proper definition

that should be interpreted in a uniform way by different systems:


http://demo1.geo-solutions.it/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.SRSDescriptionPagecode=EPSG:3785

 

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 333 8128928

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

---

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness 

Re: [Geoserver-users] Nested SLD rules?

2011-03-03 Thread David Winslow
SLD itself doesn't have a way to combine rules in the way you discuss.
GeoServer does offer filter functions that let you use if/then/else
constructs for individual properties, so you might be able to use that.
 Those filter functions don't have access to scale information, so you can't
use it for this specific case, but if you wanted to do something similar
based on feature attributes they could help.

There is also the CSS community module (disclaimer - I'm the maintainer so I
may be a bit biased :) which recombines rules according to a cascading
model similar to that used by your web browser to style HTML pages.  See
http://docs.geoserver.org/stable/en/user/community/css/index.html for more
info.

Your style would come out something like (I forgot whether I implemented
1e9 style notation for the scale ranges, try spelling it out 10
if that doesn't work):

* {
  stroke: green, yellow, red, black;
  stroke-dasharray: 2 2;
}

* [@scale  1e10][@scale  1e9] {
  stroke-width: 8, 6, 4, 2;
}

* [@scale  1e9] [@scale  1e8] {
  stroke-width: 10, 8, 6, 4;
}

* [@scale  1e8] [@scale  1e7] {
  stroke-width: 12, 10, 8, 6
}

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Mar 3, 2011 at 8:55 AM, Charles Galpin cgal...@lhsw.com wrote:

 I apologize in advance for not finding the spec and reading it, but I fear
 it would be a waste of time and an easy one for someone to answer anyway
 (probably with 2 letters).

 Is there a way to nest rules, or otherwise use more advanced control logic
 in SLD?

 I am making a stylesheet which wouldn't seem terribly hard but is turning
 out to be pretty verbose, currently at 1500 lines and will only get more
 verbose as I try fine tune the display. I essentially am controlling line
 styles based on the combinations and permutations of two attributes and zoom
 level.

 If I could nest the rules or do more advance control logic the psuedo code
 would look like this

 if data_type is historical then

  for each green yellow red black do
   draw a dashed line
  do

 else

  for each green yellow red black do
   for each of about 5 different zoom levels do
  draw a border line
  draw a 2 pixel thinner colored line line
   end
  end

 end if

 But instead it's this and growing.

 FeatureTypeStyleRuleHistorical green zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level
 5/Rule/FeatureTypeStyle

 FeatureTypeStyleRuleHistorical yellow zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level
 5/Rule/FeatureTypeStyle

 FeatureTypeStyleRuleHistorical red zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level
 5/Rule/FeatureTypeStyle

 FeatureTypeStyleRuleHistorical black zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level
 5/Rule/FeatureTypeStyle

 FeatureTypeStyleRuleNon-Historical green zoom level 1
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 2
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 3
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 4
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 5
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level
 5/Rule/FeatureTypeStyle

 FeatureTypeStyleRuleNon-Historical yellow zoom level 1
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level 2
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level 3
 border/Rule/FeatureTypeStyle
 

[Geoserver-users] RC2 Testing

2011-03-03 Thread Steve Way
Hi Everyone,

I have just started testing RC2 from a fully working RC1 installation and 
receive the following error on all Oracle Vector Data.  Has anyone else had 
this issue?

Cheers,
Steve


java.lang.RuntimeException: java.io.IOException: Error occured calculating 
bounds
at 
org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:476)
at 
org.geotools.jdbc.JDBCFeatureStore.getBoundsInternal(JDBCFeatureStore.java:178)
at 
org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:369)
at 
org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:341)
at 
org.geotools.data.SimpleFeatureSourceBridge.getBounds(SimpleFeatureSourceBridge.java:49)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getBounds(GeoServerFeatureSource.java:529)
at org.geotools.map.FeatureLayer.getBounds(FeatureLayer.java:189)
at org.geotools.map.MapContext.getLayerBounds(MapContext.java:463)
at 
org.geotools.map.DefaultMapContext.getViewport(DefaultMapContext.java:524)
at org.geotools.map.MapContent.init(MapContent.java:207)
at org.geotools.map.MapContext.init(MapContext.java:170)
at org.geotools.map.DefaultMapContext.init(DefaultMapContext.java:98)
at 
org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1563)
at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1415)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:445)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:206)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:121)
at org.geoserver.wms.GetMap.run(GetMap.java:461)
...
...

Caused by: java.io.IOException: Error occured calculating bounds
at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1124)
at 
org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:469)
... 140 more
Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
ORA-06512: at MDSYS.SDO_TUNE, line 817

at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)



DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech or 
mail.ad...@infotech-enterprises.com and delete the original message.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] [Firefox][BUG] GeoServer+2.1-RC1

2011-03-03 Thread Micka
Hi,

Here is an information :

I've just downloaded the last version of geoserver :  /GeoServer+2.1-RC1


And when I'm trying to select a layer I got :

Wicket.showIncrementally is not a function
http://localhost:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.data.layer.LayerPage
Line 1


;)
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] RC2 Testing -- Please ignore

2011-03-03 Thread Steve Way
Please ignore.

From: Steve Way [mailto:steve@infotech-enterprises.com]
Sent: 03 March 2011 15:22
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] RC2 Testing

Hi Everyone,

I have just started testing RC2 from a fully working RC1 installation and 
receive the following error on all Oracle Vector Data.  Has anyone else had 
this issue?

Cheers,
Steve


java.lang.RuntimeException: java.io.IOException: Error occured calculating 
bounds
at 
org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:476)
at 
org.geotools.jdbc.JDBCFeatureStore.getBoundsInternal(JDBCFeatureStore.java:178)
at 
org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:369)
at 
org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:341)
at 
org.geotools.data.SimpleFeatureSourceBridge.getBounds(SimpleFeatureSourceBridge.java:49)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getBounds(GeoServerFeatureSource.java:529)
at org.geotools.map.FeatureLayer.getBounds(FeatureLayer.java:189)
at org.geotools.map.MapContext.getLayerBounds(MapContext.java:463)
at 
org.geotools.map.DefaultMapContext.getViewport(DefaultMapContext.java:524)
at org.geotools.map.MapContent.init(MapContent.java:207)
at org.geotools.map.MapContext.init(MapContext.java:170)
at org.geotools.map.DefaultMapContext.init(DefaultMapContext.java:98)
at 
org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1563)
at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1415)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:445)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:206)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:121)
at org.geoserver.wms.GetMap.run(GetMap.java:461)
...
...

Caused by: java.io.IOException: Error occured calculating bounds
at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1124)
at 
org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:469)
... 140 more
Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
ORA-06512: at MDSYS.SDO_TUNE, line 817

at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)



DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech or 
mail.ad...@infotech-enterprises.commailto:mail.ad...@infotech-enterprises.com 
and delete the original message.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cannot get GeoExt Styler to display [SOLVED]

2011-03-03 Thread Justin Deoliveira
Unfortunately the way the styler is built has changed. Your best bet is to
post on http://getsatisfaction.com/opengeo and ask how you can build it
standalone. Or you can grab the opengeosuite community edition since it is
being bundled there.

On Thu, Mar 3, 2011 at 6:23 AM, mickae1 mickamus...@gmail.com wrote:


 Hi,

 I've the same problem as him.

 I mean,  that I have GeoServer 2.0.2 and when i try this page :

 .../styler/index.html

 It doesn't work, I figure out from firebug that my Styler version is too
 old.

 http://projects.opengeo.org/styler/wiki/howto/build

 I tried to get the new one, but I couldn't because I don't have a username
 and password.

 When I tried to register on :
 http://projects.opengeo.org/styler/wiki/howto/build

 http://projects.opengeo.org/styler/register

 I got a beautiful error :
 -
 Oops…
 Trac detected an internal error:

 NameError: global name 'dict_file' is not defined

 There was an internal error in Trac. It is recommended that you inform your
 local Trac administrator and give him all the information he needs to
 reproduce the issue.

 To that end, you could a ticket.

 The action that triggered the error was:

 GET: /register
 --

 Is it possible that someone give me the new version of the styler ? or
 repair the register problem ;)


 Thx !


 Andrew Parker wrote:
 
 
 
  Ivan Grcic-3 wrote:
 
  Hi Andrew,
 
  you really made this complicated :) Please read below:
 
 
 
  Hello Ivan, my first line of the server status was showing lock.  Did not
  show the data directory location.  However, your reply opened an idea.  I
  created a new datastore this weekend. I searched for the data store which
  was located in /var/lib/tomcat6/webapps/geoserver/data/www.  Why here?  I
  do not know.  So I placed the styler into this directory.  Navigated to
  the styler webpage and the styler displayed.
 
  Thank you Justin and Ivan for the help.  It lead to a solution.  Now I
  just need to rethink my complications.
 

 --
 View this message in context:
 http://old.nabble.com/Cannot-get-GeoExt-Styler-to-display-tp30968716p31058681.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.



 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 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.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Help with reprojection

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 3:55 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fiwrote:

  Hi,

 EPSG:900013 is a pseudo-code for the Pseudo-Mercator projection and it has
 never been under that code in the EPSG registry. It was for a little while
 EPSG:3785 but it is no more valid so forget it, too. The right code to use
 is EPSG:3857


Right, always forget which is which. In any case GeoServer does support
EPSG:3857 also

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Firefox][BUG] GeoServer+2.1-RC1

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 4:25 PM, Micka mickamus...@gmail.com wrote:

 Hi,

 Here is an information :

 I've just downloaded the last version of geoserver :  /GeoServer+2.1-RC1


 And when I'm trying to select a layer I got :

 Wicket.showIncrementally is not a function

 http://localhost:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.data.layer.LayerPage
 Line 1


My guess is that you don't have a clean install of it, probably you have
some leftover
jars of an old wicket version around

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS GetMap inlineFeature not working in GeoServer 2.1.x?

2011-03-03 Thread Justin Deoliveira
Hi Gottfrid,

Confirmed this is a bug. I have created a jira issue for it:

http://jira.codehaus.org/browse/GEOS-4406

Thanks for the bug report.

-Justin

On Thu, Mar 3, 2011 at 6:39 AM, Gottfrid Linge gottfrid.li...@astando.sewrote:

 Hi!



 Using the SLD_BODY and inlineFeature has previously worked in GeoServer
 2.0.x.

 When I try to use it in GeoServer 2.1.x, for example by using the demo
 request WMS_getMap_inlineFeature.url I get the following error:

 java.lang.RuntimeException: base url not specified and unable to find
 internal SLD schema

 base url not specified and unable to find internal SLD schema



 Does anyone know if there is a workaround for getting this to work in
 2.1.x?



 Kind regards,

 Gottfrid Linge




 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 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.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS GetMap inlineFeature not working in GeoServer 2.1.x?

2011-03-03 Thread Justin Deoliveira
The difference is validation. The first request turns validation on, the
smiley face does not. If the second one did i believe the same error would
occur.

On Thu, Mar 3, 2011 at 8:59 AM, Andrea Aime andrea.a...@geo-solutions.itwrote:

 On Thu, Mar 3, 2011 at 4:48 PM, Justin Deoliveira jdeol...@opengeo.orgwrote:

 Hi Gottfrid,

 Confirmed this is a bug. I have created a jira issue for it:

 http://jira.codehaus.org/browse/GEOS-4406


 Ah ha, interesting. The other sample request
 (WMS_getMap_inlineFeatureSmile.xml),
 posting an xml, was actually working, but that one refers to the schema
 explicitly...
 hmm... actually I guess a different parser
 is in use there because if I remove the schema location it keeps on working
 fine.

 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 333 8128928

 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

 ---




-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Nested SLD rules?

2011-03-03 Thread Charles Galpin
Thanks David, I'll look into both of these!

charles

On Mar 3, 2011, at 10:15 AM, David Winslow wrote:

 SLD itself doesn't have a way to combine rules in the way you discuss. 
 GeoServer does offer filter functions that let you use if/then/else 
 constructs for individual properties, so you might be able to use that.  
 Those filter functions don't have access to scale information, so you can't 
 use it for this specific case, but if you wanted to do something similar 
 based on feature attributes they could help.
 
 There is also the CSS community module (disclaimer - I'm the maintainer so I 
 may be a bit biased :) which recombines rules according to a cascading 
 model similar to that used by your web browser to style HTML pages.  See 
 http://docs.geoserver.org/stable/en/user/community/css/index.html for more 
 info.
 
 Your style would come out something like (I forgot whether I implemented 
 1e9 style notation for the scale ranges, try spelling it out 10 
 if that doesn't work):
 
 * {
   stroke: green, yellow, red, black;
   stroke-dasharray: 2 2;
 }
 
 * [@scale  1e10][@scale  1e9] {
   stroke-width: 8, 6, 4, 2;
 }
 
 * [@scale  1e9] [@scale  1e8] {
   stroke-width: 10, 8, 6, 4;
 }
 
 * [@scale  1e8] [@scale  1e7] {
   stroke-width: 12, 10, 8, 6
 }
 
 --
 David Winslow
 OpenGeo - http://opengeo.org/
 
 On Thu, Mar 3, 2011 at 8:55 AM, Charles Galpin cgal...@lhsw.com wrote:
 I apologize in advance for not finding the spec and reading it, but I fear it 
 would be a waste of time and an easy one for someone to answer anyway 
 (probably with 2 letters).
 
 Is there a way to nest rules, or otherwise use more advanced control logic in 
 SLD?
 
 I am making a stylesheet which wouldn't seem terribly hard but is turning out 
 to be pretty verbose, currently at 1500 lines and will only get more verbose 
 as I try fine tune the display. I essentially am controlling line styles 
 based on the combinations and permutations of two attributes and zoom level.
 
 If I could nest the rules or do more advance control logic the psuedo code 
 would look like this
 
 if data_type is historical then
 
  for each green yellow red black do
   draw a dashed line
  do
 
 else
 
  for each green yellow red black do
   for each of about 5 different zoom levels do
  draw a border line
  draw a 2 pixel thinner colored line line
   end
  end
 
 end if
 
 But instead it's this and growing.
 
 FeatureTypeStyleRuleHistorical green zoom level 
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level 
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level 
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level 
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical green zoom level 
 5/Rule/FeatureTypeStyle
 
 FeatureTypeStyleRuleHistorical yellow zoom level 
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level 
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level 
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level 
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical yellow zoom level 
 5/Rule/FeatureTypeStyle
 
 FeatureTypeStyleRuleHistorical red zoom level 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical red zoom level 5/Rule/FeatureTypeStyle
 
 FeatureTypeStyleRuleHistorical black zoom level 
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level 
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level 
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level 
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleHistorical black zoom level 
 5/Rule/FeatureTypeStyle
 
 FeatureTypeStyleRuleNon-Historical green zoom level 1 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 2 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 
 2/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 3 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 
 3/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 4 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 
 4/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 5 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical green zoom level 
 5/Rule/FeatureTypeStyle
 
 FeatureTypeStyleRuleNon-Historical yellow zoom level 1 
 border/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level 
 1/Rule/FeatureTypeStyle
 FeatureTypeStyleRuleNon-Historical yellow zoom level 2 
 

Re: [Geoserver-users] Coordinate system problem.

2011-03-03 Thread Ian Turton
On 3 March 2011 04:59, Robert Buckley robertdbuck...@yahoo.com wrote:
 hi,

 I'll answer the question  mayself.I changed projection: epsg900913 to
 projection: epsg4326 and it was displayed ok.

 Does this mean that I can´t display my own epsg: base maps together with
 google maps?

You can display any layer you like over Google Maps however as Google
invented their own projection and don't allow reprojection of their
tiles you must make the request using their projection (900913) as you
have found out.

Ian
-- 
Ian Turton

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS SocketTimeoutException, works fine in V1.7.6

2011-03-03 Thread Andrea Aime
On Wed, Mar 2, 2011 at 1:55 PM, Roger Bedell sylvanasc...@gmail.com wrote:


 Some more information about the WFS SocketTimeout. (read timeout) we've
 been seeing:

 This appears to be something newish, definitely not a good thing, plus very
 hard to reproduce or characterize.  I have two mostly identical servers, one
 with the latest nightly of 2.1.x, and the other with 1.7.6, both hitting the
 same PostGIS database on another machine over the same network. The 2.1.x
 machine is actually a faster machine with more RAM.

 Using a recent uDig, (1.2.1), I set up a map with a variety of WFS layers,
 some large, some small. The 1.7.6 always (well mostly, except after long
 periods of inactivity when it gets connection timeouts) works fine, never
 any read timeouts. The 2.1.x gets these timeouts on random layers, sometimes
 works fine, sometimes fails. What is interesting, is that the timeout occurs
 fairly quickly, within about 6 seconds after I hit refresh. It doesn't seem
 to matter the size of the layer, small ones seem to time out will similar
 frequency to large ones.

 I'm not seeing anything strange in the geoserver log, no errors.

 This is really weird, and I don't have any clue how to proceed to fix it.
 Anyone have any ideas on what to try? Any way to increase the read timeout
 value?

 Update - I turned on Loose BBox and Estimated Extends, and it seems to be a
 little better. What is Estimated Extends anyway?


I don't see how using estimated extents can help solving a parsing issue
for data coming from a client.



 However, now I'm seeing this error in uDig: (again, inconsistently, and no
 errors...):

 Could not find element handler for http://www.opengis.net/gml: null as a
 child of MultiPolygonPropertyType.


This sound completely unrelated?



 Attached is a uDig project that should show the issue.

 Perhaps it isn't sending everything back right?

 Any ideas on how to debug this? Or things to try?


Not really no. Try to identify the kind of client that generates the failing
issue, then try to isolate the
specific type of request that makes it fail.
I've just never seen it, so it might be related to the kind of requests, the
operating system, or the
specific client being used. Honestly don't know.
It's also odd that there have been two reports about this...


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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer+2.1-RC1 : problem with a layer from postgis

2011-03-03 Thread Micka
Hi,

It's difficult to explain, so here is a picture :

http://img696.imageshack.us/i/problemhb.png/

 I don't understand (_(
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] (no subject)

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 5:18 PM, Steve Way 
steve@infotech-enterprises.com wrote:



 Hi GS Users,



 Using GS 2.21 RC1 and RC2, I see the strange behaviour demonstrated below
 in my vector data.  There are gaps in the motorways as highlighted by the
 blue circles.

 If I remove everything from the SLD, and only leave the motorways, then
 they display correctly.  Has anyone else come across this strangeness?



 Attched SLD for reference.


Hmmm... nope. does not ring a bell.
Usual procedure, open a report on jira.codehaus.org and attach there style
and enough data to reproduce the issue.
And then wait for a developer to have enough spare time to look into it

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer+2.1-RC1 : problem with a layer from postgis

2011-03-03 Thread Ian Turton
On 3 March 2011 11:56, Micka mickamus...@gmail.com wrote:
 Hi,

 It's difficult to explain, so here is a picture :

 http://img696.imageshack.us/i/problemhb.png/

  I don't understand (_(


Its hard to understand from the picture - what were you trying to do?

Ian
-- 
Ian Turton

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] MS SQL Server 2008 geometry/geography/byte[]

2011-03-03 Thread Charles Galpin
I have been using postgresql as a data store and although I am very happy with 
it, I need to use sql server if at all possible.

I have run into a couple of problems that I am hoping there are solutions for

1. Geography vs Geometry types. Afaik geography is preferred in sql server so I 
initially setup a table with the type being geography, but when I create a 
layer from it in geoserver the resulting type shows as byte[] and geoserver 
doesn't know what to do with it, what SRID etc.  I don't have a problem using 
geometry, but I find this odd, and perhaps it's related to #2

2. Sql views show a similar problem. I can make a layer out of a table with a 
geometry type and geoserver displays it. But if I make a view that is simply 
'select * from mytable' the data type returned is byte[] which isn't working.

Any thoughts on this appreciated.

charles
(Geoserver 2.1RC2)
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer+2.1-RC1 : problem with a layer from postgis

2011-03-03 Thread Micka
I just tried to preview a layer from a postgis datastore.

the data come from a table created from shp2pgsql command

/usr/lib/postgresql/9.0/bin/shp2pgsql -W LATIN1 -cDIk -s 4326 $filename
$tableName | psql -d $database -U $username;

In my table I just have 1 row.


On Thu, Mar 3, 2011 at 6:00 PM, Ian Turton ijtur...@gmail.com wrote:

 On 3 March 2011 11:56, Micka mickamus...@gmail.com wrote:
  Hi,
 
  It's difficult to explain, so here is a picture :
 
  http://img696.imageshack.us/i/problemhb.png/
 
   I don't understand (_(
 

 Its hard to understand from the picture - what were you trying to do?

 Ian
 --
 Ian Turton

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer+2.1-RC1 : problem with a layer from postgis

2011-03-03 Thread Andrea Aime
On Thu, Mar 3, 2011 at 6:23 PM, Micka mickamus...@gmail.com wrote:

 I just tried to preview a layer from a postgis datastore.

 the data come from a table created from shp2pgsql command

 /usr/lib/postgresql/9.0/bin/shp2pgsql -W LATIN1 -cDIk -s 4326 $filename
 $tableName | psql -d $database -U $username;

 In my table I just have 1 row.


Ah, you're hitting the world wrapping code, which does repeat the geometries
the same
way google maps does. It means your data is not really in 4326, otherwise
you'd not
get that effect

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Extended user rights with GeoServer-2.1.x

2011-03-03 Thread Andrea Aime
On Wed, Mar 2, 2011 at 11:23 AM, Martin Zeller tor...@torres.at wrote:


 Hi,

 I found out that the visibility of navigation links and the security of
 pages is controlled through the DefaultPageAuthorizer - wouldn't it be nice
 if we could define a custom DefaultPageAuthorizer (an own class) per xml
 security setting? Then we could easily manage what I requested in my post
 (see below)...


I guess that would work, yeah. In other parts of GeoServer we have plugins
setup in a way that if an implementation of a certain interface is found in
the
spring application context, then it's used, otherwise a default
implementation
is used by default.

It would be possible to do the same for the page authorizer I guess.

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 333 8128928

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

---
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Firefox][BUG] GeoServer+2.1-RC1

2011-03-03 Thread Micka
Well, it seems that sometime I got error from the wicket class , an example
among other :

org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.geoserver.web.admin.StatusPage() at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at
org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:68)
at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at

Re: [Geoserver-users] WFS SocketTimeoutException, works fine in V1.7.6

2011-03-03 Thread Roger Bedell
Hi Andrea.

Unsettling is a better word - our client is back using the 1.7.6 version for
WFS until this gets fixed.

I don't think the null as child thing is unrelated, something has changed
with WFS that is weird. I'll try to isolate it better and get back to you.

Roger


On Thu, Mar 3, 2011 at 5:47 PM, Andrea Aime andrea.a...@geo-solutions.itwrote:

 On Wed, Mar 2, 2011 at 1:55 PM, Roger Bedell sylvanasc...@gmail.comwrote:


 Some more information about the WFS SocketTimeout. (read timeout) we've
 been seeing:

 This appears to be something newish, definitely not a good thing, plus
 very hard to reproduce or characterize.  I have two mostly identical
 servers, one with the latest nightly of 2.1.x, and the other with 1.7.6,
 both hitting the same PostGIS database on another machine over the same
 network. The 2.1.x machine is actually a faster machine with more RAM.

 Using a recent uDig, (1.2.1), I set up a map with a variety of WFS layers,
 some large, some small. The 1.7.6 always (well mostly, except after long
 periods of inactivity when it gets connection timeouts) works fine, never
 any read timeouts. The 2.1.x gets these timeouts on random layers, sometimes
 works fine, sometimes fails. What is interesting, is that the timeout occurs
 fairly quickly, within about 6 seconds after I hit refresh. It doesn't seem
 to matter the size of the layer, small ones seem to time out will similar
 frequency to large ones.

 I'm not seeing anything strange in the geoserver log, no errors.

 This is really weird, and I don't have any clue how to proceed to fix it.
 Anyone have any ideas on what to try? Any way to increase the read timeout
 value?

 Update - I turned on Loose BBox and Estimated Extends, and it seems to be
 a little better. What is Estimated Extends anyway?


 I don't see how using estimated extents can help solving a parsing issue
 for data coming from a client.



 However, now I'm seeing this error in uDig: (again, inconsistently, and no
 errors...):

 Could not find element handler for http://www.opengis.net/gml: null as a
 child of MultiPolygonPropertyType.


 This sound completely unrelated?



 Attached is a uDig project that should show the issue.

 Perhaps it isn't sending everything back right?

 Any ideas on how to debug this? Or things to try?


 Not really no. Try to identify the kind of client that generates the
 failing issue, then try to isolate the
 specific type of request that makes it fail.
 I've just never seen it, so it might be related to the kind of requests,
 the operating system, or the
 specific client being used. Honestly don't know.
 It's also odd that there have been two reports about this...


 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 333 8128928

 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

 ---

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] can I pull back a set of GetFeature's sans geometries

2011-03-03 Thread Charlton Galvarino
Hi, all.  Is there a way to pull back features w/o pulling back the geometries? 
 I have a set of town parcels, and I'd like to ask geoserver for only, say, the 
owner of a parcel given a certain cql_filter / BBOX combo.  WFS works great, 
but I don't want the geometries to come across the wire -- they take up too 
much space and I don't really need them to list just a handful of fields in a 
table.

TIA.





Charlton Galvarino
1 (803) 233-6205 : voice
1 (803) 223-9579 :   fax
charl...@2creek.com

P.O. Box 50960
Columbia, SC 29250


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] can I pull back a set of GetFeature's sans geometries

2011-03-03 Thread Ian Turton
On 3 March 2011 14:21, Charlton Galvarino charl...@2creek.com wrote:
 Hi, all.  Is there a way to pull back features w/o pulling back the 
 geometries?  I have a set of town parcels, and I'd like to ask geoserver for 
 only, say, the owner of a parcel given a certain cql_filter / BBOX combo.  
 WFS works great, but I don't want the geometries to come across the wire -- 
 they take up too much space and I don't really need them to list just a 
 handful of fields in a table.

wfs:PropertyName../wfs:PropertyName

See the WFS BBOX demos:

wfs:GetFeature service=WFS version=1.1.0
  xmlns:topp=http://www.openplans.org/topp;
  xmlns:wfs=http://www.opengis.net/wfs;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:gml=http://www.opengis.net/gml;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/wfs
  http://schemas.opengis.net/wfs/1.1.0/wfs.xsd;
  wfs:Query typeName=topp:states
wfs:PropertyNametopp:STATE_NAME/wfs:PropertyName
wfs:PropertyNametopp:PERSONS/wfs:PropertyName
ogc:Filter
  ogc:BBOX
ogc:PropertyNamethe_geom/ogc:PropertyName
gml:Envelope srsName=http://www.opengis.net/gml/srs/epsg.xml#4326;
   gml:lowerCorner-75.102613 40.212597/gml:lowerCorner
   gml:upperCorner-72.361859 41.512517/gml:upperCorner
/gml:Envelope
  /ogc:BBOX
   /ogc:Filter
  /wfs:Query
/wfs:GetFeature

Ian
-- 
Ian Turton

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] can I pull back a set of GetFeature's sans geometries

2011-03-03 Thread Charlton Galvarino
Genius.  Thanks, Ian.

-Original Message-
From: Ian Turton [mailto:ijtur...@gmail.com]
Sent: Thursday, March 03, 2011 2:33 PM
To: Charlton Galvarino
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] can I pull back a set of GetFeature's sans
geometries

On 3 March 2011 14:21, Charlton Galvarino charl...@2creek.com wrote:
 Hi, all.  Is there a way to pull back features w/o pulling back the
geometries?  I have a set of town parcels, and I'd like to ask geoserver for
only, say, the owner of a parcel given a certain cql_filter / BBOX combo.  WFS
works great, but I don't want the geometries to come across the wire -- they
take up too much space and I don't really need them to list just a handful of
fields in a table.

wfs:PropertyName../wfs:PropertyName

See the WFS BBOX demos:

wfs:GetFeature service=WFS version=1.1.0
  xmlns:topp=http://www.openplans.org/topp;
  xmlns:wfs=http://www.opengis.net/wfs;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:gml=http://www.opengis.net/gml;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/wfs
  http://schemas.opengis.net/wfs/1.1.0/wfs.xsd;
  wfs:Query typeName=topp:states
wfs:PropertyNametopp:STATE_NAME/wfs:PropertyName
wfs:PropertyNametopp:PERSONS/wfs:PropertyName
ogc:Filter
  ogc:BBOX
ogc:PropertyNamethe_geom/ogc:PropertyName
gml:Envelope
srsName=http://www.opengis.net/gml/srs/epsg.xml#4326;
   gml:lowerCorner-75.102613 40.212597/gml:lowerCorner
   gml:upperCorner-72.361859 41.512517/gml:upperCorner
/gml:Envelope
  /ogc:BBOX
   /ogc:Filter
  /wfs:Query
/wfs:GetFeature

Ian
--
Ian Turton
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GS 2.1 RC2 code=internalError Rendering process failed with large ECW files

2011-03-03 Thread Sjoerd Brandsma
Hi All,

Out of a sudden I get errors when using WMS to serve large ECW files
(approx. 10GB or more)

- code=internalError Rendering process failed
- Error rendering coverage on the fast path

This only happens with ECW files with a large pyramid. Smaller ECW
files seem to go fine.
I've used RC2 now for almost a week without any problems and this
problem appeared after no config changes or anything like that.
On GS 2.0 on the same machine (also with nativa JAI, same JRE)
everything works fine with the same ECW files

I tried restarting tomcat, recreated the datastore and layers but it
doesn't seems to work anymore.
Server reboot is a bit of a last resort and that could silently erase
the cause of the problem...

Any idea's?

Thanks,
Sjoerd

Logfiles:

2011-03-03 13:54:19,581 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on
the fast path
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:290)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:206)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:121)
at org.geoserver.wms.GetMap.run(GetMap.java:461)
at org.geoserver.wms.GetMap.run(GetMap.java:110)
at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy22.getMap(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:624)
at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:68)
at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at 

[Geoserver-users] How to remove background color in tiff layer?

2011-03-03 Thread NNL
Hello!

I have a raster layer with a .tif file as a datastore, wich has a black 
background color.
So when this layer is on top of another - black color overlaps the first one.

How can I exclude this color from the layer?

I suppose, styling it as a colormap in an SLD style cannot be applied, because 
this raster is not gradient - it's an imagery.
Maybe I can somehow edit the raster itself before publishing? I've tried to cut 
background in photoshop, but then it still displays but in white color.

Can anyone help me?
--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] MS SQL Server 2008 geometry/geography/byte[]

2011-03-03 Thread David Collins
Charles,

1. I am using SQL Server 2008 SP2 with Geoserver for internal use only.  I
only use the Geometry data type, possibly because of what you have found - I
can't remember now - but for me, I think Geometry is probably good enough.

2. I do have a number of SQL Server 2008 views being delivered by Geoserver,
sometimes to remove records with a null geometry field.  These views do NOT
have any special options.   One of the views that I use a lot is a fairly
complex query joining many tables.  Maybe you could try restarting the
Geoserver service - I think that might be required when database tables or
views are changed in any way.

Regards,
David

On Fri, Mar 4, 2011 at 4:01 AM, Charles Galpin cgal...@lhsw.com wrote:

 I have been using postgresql as a data store and although I am very happy
 with it, I need to use sql server if at all possible.

 I have run into a couple of problems that I am hoping there are solutions
 for

 1. Geography vs Geometry types. Afaik geography is preferred in sql server
 so I initially setup a table with the type being geography, but when I
 create a layer from it in geoserver the resulting type shows as byte[] and
 geoserver doesn't know what to do with it, what SRID etc.  I don't have a
 problem using geometry, but I find this odd, and perhaps it's related to #2

 2. Sql views show a similar problem. I can make a layer out of a table with
 a geometry type and geoserver displays it. But if I make a view that is
 simply 'select * from mytable' the data type returned is byte[] which isn't
 working.

 Any thoughts on this appreciated.

 charles
 (Geoserver 2.1RC2)

 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread VT@CSIRO

Hi there is a tutorial and a example config file that you can download :)

http://docs.geoserver.org/stable/en/user/data/app-schema/tutorial.html?highlight=app%20schema

Below are some of the documentation that you may want to go through after
the tutorial above

http://docs.geoserver.org/stable/en/user/search.htmlcheck_keywords=yesarea=defaultq=app+schemax=14y=8




Shaw Innes wrote:
 
 Further to my previous post - I have found this error which is coming up
 whenever I click the publish button on the complex feature layer.
 
 Caused by: org.geotools.data.DataSourceException:
 http://sidelab:Locality:Locality not found. Available:
 [http://sidelab:Locality]
   at
 org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
   at
 org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
   at
 org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
   at
 org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
   ... 71 more
 
 
 On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:
 
 Please resend your email to the users list so that everyone can see it.
 Others may be able to assist.
 
 On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
   Thanks for the quick response.  I realised that might make some
 difference so I changed my database schema to be all lower case - which
 brought me to some new errors - I've attached my config files which were
 in my complex data store.  I've been trying to use the web GUI to
 configure these but it seems that maybe manually is safer.
 
   When I have this configuration in place my mapserver will no longer
 startup.  I don't see anything in the logs though so I'm going to look
 into increasing the logging level.
 
   I don't suppose you could point me in the direction of a really simple
 example using PostGIS as a datasource to create a simple app schema?  
 Once I can get a basic one working I'm sure I can extend it easily
 enough
 
 Thanks again
 
 Shaw
 
 
 -- 
 Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre
 
 
 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in 
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data 
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business 
 insights. http://p.sf.net/sfu/splunk-dev2dev 
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
 

-- 
View this message in context: 
http://old.nabble.com/App-Schemas-and-Feature-Chaining-tp31056575p31064373.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread VT@CSIRO

Error on the second link, my apologies.

http://docs.geoserver.org/stable/en/user/search.html?check_keywords=yesarea=defaultq=app+schemax=14y=8


VT@CSIRO wrote:
 
 Hi there is a tutorial and a example config file that you can download :)
 
 http://docs.geoserver.org/stable/en/user/data/app-schema/tutorial.html?highlight=app%20schema
 
 Below are some of the documentation that you may want to go through after
 the tutorial above
 
 http://docs.geoserver.org/stable/en/user/search.htmlcheck_keywords=yesarea=defaultq=app+schemax=14y=8
 
 
 
 
 Shaw Innes wrote:
 
 Further to my previous post - I have found this error which is coming up
 whenever I click the publish button on the complex feature layer.
 
 Caused by: org.geotools.data.DataSourceException:
 http://sidelab:Locality:Locality not found. Available:
 [http://sidelab:Locality]
  at
 org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
  at
 org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
  at
 org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
  at
 org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
  ... 71 more
 
 
 On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:
 
 Please resend your email to the users list so that everyone can see it.
 Others may be able to assist.
 
 On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
   Thanks for the quick response.  I realised that might make some
 difference so I changed my database schema to be all lower case - which
 brought me to some new errors - I've attached my config files which
 were in my complex data store.  I've been trying to use the web GUI
 to configure these but it seems that maybe manually is safer.
 
   When I have this configuration in place my mapserver will no longer
 startup.  I don't see anything in the logs though so I'm going to look
 into increasing the logging level.
 
   I don't suppose you could point me in the direction of a really
 simple example using PostGIS as a datasource to create a simple app
 schema?   Once I can get a basic one working I'm sure I can extend it
 easily enough
 
 Thanks again
 
 Shaw
 
 
 -- 
 Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre
 
 
 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in 
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data 
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business 
 insights. http://p.sf.net/sfu/splunk-dev2dev 
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/App-Schemas-and-Feature-Chaining-tp31056575p31064378.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread Rini Angreani

Hi Shaw,

I am guessing namespace.xml has http://sidelab:Locality in the uri.
If that's the case,  you should change it to http://sidelab, and it should
work.
If it's not that, it must be something in one of the config files
(featuretype.xml etc.) that causes the feature type name to be built
incorrectly. 

Cheers
Rini
  

Shaw Innes wrote:
 
 Further to my previous post - I have found this error which is coming up
 whenever I click the publish button on the complex feature layer.
 
 Caused by: org.geotools.data.DataSourceException:
 http://sidelab:Locality:Locality not found. Available:
 [http://sidelab:Locality]
   at
 org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
   at
 org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
   at
 org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
   at
 org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
   ... 71 more
 
 
 On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:
 
 Please resend your email to the users list so that everyone can see it.
 Others may be able to assist.
 
 On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
   Thanks for the quick response.  I realised that might make some
 difference so I changed my database schema to be all lower case - which
 brought me to some new errors - I've attached my config files which were
 in my complex data store.  I've been trying to use the web GUI to
 configure these but it seems that maybe manually is safer.
 
   When I have this configuration in place my mapserver will no longer
 startup.  I don't see anything in the logs though so I'm going to look
 into increasing the logging level.
 
   I don't suppose you could point me in the direction of a really simple
 example using PostGIS as a datasource to create a simple app schema?  
 Once I can get a basic one working I'm sure I can extend it easily
 enough
 
 Thanks again
 
 Shaw
 
 
 -- 
 Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre
 
 
 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in 
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data 
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business 
 insights. http://p.sf.net/sfu/splunk-dev2dev 
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
 

-- 
View this message in context: 
http://old.nabble.com/App-Schemas-and-Feature-Chaining-tp31056575p31064424.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining

2011-03-03 Thread Ben Caradoc-Davies
Shaw,

(1) I don't know if this is causing your initial problems, but your XSD 
element should be in the gml:_Feature substitution group, otherwise it 
might not be valid to include it in a wfs:FeatureCollection (a WFS 
response).

xs:element name=Locality type=sidelab:LocalityType 
substitutionGroup=gml:_Feature /

(2) Your featuretype.xml has your type names in lowercase. Type names 
here should match the app-schema complex feature type name (Locality).

(3) Qualify your xpath elements. Change:
targetAttributeLocality/targetAttribute
to
targetAttributesidelab:Locality/targetAttribute
Fix the_geom as well.

(4) Check that your namespace.xml for your workspace is correct.

I'll have a look at your stack trace too.

Kind regards,
Ben.



On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
Thanks for the quick response.  I realised that might make some difference 
 so I changed my database schema to be all lower case - which brought me to 
 some new errors - I've attached my config files which were in my complex 
 data store.  I've been trying to use the web GUI to configure these but it 
 seems that maybe manually is safer.

When I have this configuration in place my mapserver will no longer 
 startup.  I don't see anything in the logs though so I'm going to look into 
 increasing the logging level.

I don't suppose you could point me in the direction of a really simple 
 example using PostGIS as a datasource to create a simple app schema?   Once 
 I can get a basic one working I'm sure I can extend it easily enough

 Thanks again

 Shaw


-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread Ben Caradoc-Davies
Oh, I see the problem. You are trying to use the GUI with app-schema.

app-schema has no GUI support. Never attempt to publish or otherwise 
access or manipulate layers using the GUI. In practice you can use the 
GUI to make new workspaces, but do not use it to create any stores or 
layers for app-schema.

All app-schema layers should already be published when you stop and 
start the GeoServer servlet.

To test your service, try a simple request line like:
http://put.your.hostname.here.example.org/geoserver/wfs?request=GetFeaturetypename=sidelab:Localitymaxfeatures=10

We do have a PostGIS and Oracle Reference Data Set used for online 
testing; you can get it from the maven repository and extract it from 
the jar files. It is large and complicated. If you are keen, I can show 
you where.

Kind regards,
Ben.

On 03/03/11 22:32, Shaw Innes wrote:
 Further to my previous post - I have found this error which is coming up 
 whenever I click the publish button on the complex feature layer.

 Caused by: org.geotools.data.DataSourceException: 
 http://sidelab:Locality:Locality not found. Available: 
 [http://sidelab:Locality]
   at 
 org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
   at 
 org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
   at 
 org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
   at 
 org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
   ... 71 more


 On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:

 Please resend your email to the users list so that everyone can see it. 
 Others may be able to assist.

 On 03/03/11 18:12, Shaw Innes wrote:
 Hi Ben,
Thanks for the quick response.  I realised that might make some 
 difference so I changed my database schema to be all lower case - which 
 brought me to some new errors - I've attached my config files which were in 
 my complex data store.  I've been trying to use the web GUI to configure 
 these but it seems that maybe manually is safer.

When I have this configuration in place my mapserver will no longer 
 startup.  I don't see anything in the logs though so I'm going to look into 
 increasing the logging level.

I don't suppose you could point me in the direction of a really simple 
 example using PostGIS as a datasource to create a simple app schema?   
 Once I can get a basic one working I'm sure I can extend it easily enough

 Thanks again

 Shaw


 --
 Ben Caradoc-Daviesben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre


 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT data
 generated by your applications, servers and devices whether physical, virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread Ben Caradoc-Davies
On 04/03/11 12:18, Shaw Innes wrote:
I'd be keen to have a look at the example you mention - even if it's more 
 comlpex than I require it might give me some hints.

Have a look at the documentation for the DataReferenceSet:
https://www.seegrid.csiro.au/wiki/bin/view/Infosrvices/DataReferenceSet

The latest data is in this jar file (a JAR file is just a ZIP):
http://download.osgeo.org/webdav/geotools/org/geotools/data/refdataset-1.0/1.0.4/refdataset-1.0-1.0.4.jar

The mappings are here:
https://svn.codehaus.org/geoserver/trunk/src/extension/app-schema/app-schema-test/src/test/resources/test-data/DataReferenceData/

To get them to work you will need to use properties files or just modify 
them them get connections to work. You will also need the other files 
like featuretype (I thing these are created dynamically at test time by 
Victor's test harness).

One further question.  Do I require a feature/featuretype.xml definition 
 for PostIGIS based complex features?  (I noticed in the example workspace 
 checked out from the svn from the documentation that it has a subdirectory 
 with a featuretype.xml also)

This is only sufficient boilerplate to trick the GeoServer catalog into 
loading your app-schema datastore and dispatching requests to it. In 
practice it is not used much. It is required by GeoServer, because 
GeoServer would expect it for simple features it created itself. 
Omitting this will cause things to break.

Kind regards,

-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schemas and Feature Chaining (Updated)

2011-03-03 Thread Shaw Innes
Thanks Ben,
  Your feedback looks like it will sort it all out for me.  I'll try again
without using the UI.

  I'd be keen to have a look at the example you mention - even if it's more
comlpex than I require it might give me some hints.

  One further question.  Do I require a feature/featuretype.xml definition
for PostIGIS based complex features?  (I noticed in the example workspace
checked out from the svn from the documentation that it has a subdirectory
with a featuretype.xml also)

Thanks again

Shaw

On Fri, Mar 4, 2011 at 2:10 PM, Ben Caradoc-Davies
ben.caradoc-dav...@csiro.au wrote:

 Oh, I see the problem. You are trying to use the GUI with app-schema.

 app-schema has no GUI support. Never attempt to publish or otherwise access
 or manipulate layers using the GUI. In practice you can use the GUI to make
 new workspaces, but do not use it to create any stores or layers for
 app-schema.

 All app-schema layers should already be published when you stop and start
 the GeoServer servlet.

 To test your service, try a simple request line like:

 http://put.your.hostname.here.example.org/geoserver/wfs?request=GetFeaturetypename=sidelab:Localitymaxfeatures=10

 We do have a PostGIS and Oracle Reference Data Set used for online testing;
 you can get it from the maven repository and extract it from the jar files.
 It is large and complicated. If you are keen, I can show you where.

 Kind regards,
 Ben.


 On 03/03/11 22:32, Shaw Innes wrote:

  Further to my previous post - I have found this error which is coming up
 whenever I click the publish button on the complex feature layer.

 Caused by: org.geotools.data.DataSourceException:
 http://sidelab:Locality:Locality not found. Available:
 [http://sidelab:Locality]
at
 org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
at
 org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
at
 org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
at
 org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
... 71 more


 On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:

 Please resend your email to the users list so that everyone can see it.
 Others may be able to assist.

 On 03/03/11 18:12, Shaw Innes wrote:

 Hi Ben,
   Thanks for the quick response.  I realised that might make some
 difference so I changed my database schema to be all lower case - which
 brought me to some new errors - I've attached my config files which were in
 my complex data store.  I've been trying to use the web GUI to configure
 these but it seems that maybe manually is safer.

   When I have this configuration in place my mapserver will no longer
 startup.  I don't see anything in the logs though so I'm going to look into
 increasing the logging level.

   I don't suppose you could point me in the direction of a really simple
 example using PostGIS as a datasource to create a simple app schema?
 Once I can get a basic one working I'm sure I can extend it easily enough

 Thanks again

 Shaw


 --
 Ben Caradoc-Daviesben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre




 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


 --
  Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
 Software Engineering Team Leader
 CSIRO Earth Science and Resource Engineering
 Australian Resources Research Centre

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users