Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-03-22 Thread vrbikdan
Hi,
thanks for your advice, problem was really in wms-max rendering memory. I
changed it from default 65536kb to 10kb and it's ok. Is any way, how to
find optimal max rendering memory for my layer?

Thanks once more
Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4643682.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] SLD Geometry Offset Transform in Pixels ?

2012-03-22 Thread Andrea Aime
On Thu, Mar 22, 2012 at 3:10 AM, Samuel Smith sam...@groundlevel.ca wrote:

 Hey List,

 (I'm really sorry if this is a duplicate. I posted it earlier, but I don't
 think my subscription options allowed me to post. Def, not bumping!)

 We're able to use an offset geometry transform in an SLD to produce a nice
 drop shadow, cool.

 The x and y distance of the offset is specified in map units, which means
 that the distance from feature to shadow lengthens as you zoom in.

 Is there a strategy, or combination of strategies to express this
 dynamically? So that as you zoom in, values for the offset are swapped in
 based on the map-units:pixels at any given scale?


Not at the moment. Three possible ways that involve code changes:
- to inject enough information in the env to do some math (but the math
would be in your face, directly in the SLD, and would have to involve
  different expressions based on the layer original spatial reference
system, which could be mixed in a multi-layer scenario)
- roll out some way to specify that the transformation has to happen in
pixel space (requires some design discussion and an approved
  proposal on the gt-devel ml)
- for the specific case of the offset one, implement the native support in
SE 1.1

You can either do it yourself or contract out the work to the organizations
providing commercial support
for GeoServer (http://geoserver.org/display/GEOS/Commercial+Support)

Cheers
Andrea


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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

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


Re: [Geoserver-users] SLD Geometry Offset Transform in Pixels ?

2012-03-22 Thread Edward Mac Gillavry

Hi Sam,

You can apply different visualisation rules at different scales by setting 
different MinScaleDenominator en MaxScaleDenominator tags for each rule. This 
determines at which scales a particular visualisation rule is applied.

Check out the Unit Of Measurement attribute 
(http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html). Not 
sure whether it can be applied to your filter, though. Maybe someone else can 
confirm?

Regards,

Edward

Date: Wed, 21 Mar 2012 19:10:41 -0700
From: sam...@groundlevel.ca
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] SLD Geometry Offset Transform in Pixels ?

Hey List,
(I'm really sorry if this is a duplicate. I posted it earlier, but I don't 
think my subscription options allowed me to post. Def, not bumping!)
We're able to use an offset geometry transform in an SLD to produce a nice drop 
shadow, cool.

The x and y distance of the offset is specified in map units, which means that 
the distance from feature to shadow lengthens as you zoom in.

Is there a strategy, or combination of strategies to express this dynamically? 
So that as you zoom in, values for the offset are swapped in based on the 
map-units:pixels at any given scale?

Cheers, Sam

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


[Geoserver-users] How to disable Geoserver gdal extension

2012-03-22 Thread Surf

Have a small issue that I hope someone may be able to help with.

I am running Geoserver.war and Myapp.war both under an instance of Jetty.

Myapp requires the use of gdal occasionally but fails with:

Native library load failed.
java.lang.UnsatisfiedLinkError: Native Library C:\Program Files
(x86)\GDAL\gdaljni.dll already loaded in another classloader

This happens at gdal.AllRegister(), it seems that GeoServer has already
consumed gdal at startup. I have the gdal installation in my path.

I have tried to remove the jars that make up the equivalent of the gdal
extension plugin, but Geoserver produced some other errors and did not
startup. 

I have also tried to remove gdal from the path and try to load it through
the Myapp application code but ran into some other dependency issues.

Another approach was to force Myapp to consume gdal at startup instead of
calling it as needed later in the execution, then somehow get Jetty to start
Myapp before Geoserver - but not sure how to get Jetty to fix the startup
order sequence. Seen some other posts about that problem.

Q: Is there a way to prevent Geoserver from consuming this native library so
that Myapp can use it instead ? I do not need to use the gdal extensions for
Geoserver. Alternatively, is there a way to share the gdal natives ?

Thank you.


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-disable-Geoserver-gdal-extension-tp4643713p4643713.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] Elevation WMS

2012-03-22 Thread Pawel Precikowski

Does Geoserwer WMS support grayscale 16bit PNG? If so, I can create as input grayscale PNG16bit file where pixel value is elevation between 0-65536. 
1. Uploaded it to GeoServer. The Geoserver WMS sholud public gray 16bit PNG image format. It is a solution is possible?

PPrecikowski

Dnia 21-03-2012 o godz. 17:10 Andrea Aime napisał(a):

On Wed, Mar 21, 2012 at 4:50 PM, Pawel Precikowski pprecikow...@wp.pl wrote:

 My source elevation data are DTM in IMG, TiFF or ASC files.
I want to publish it as elevation WMS and display it in 3D window.


I don't think WMS is the right protocol then, WMS can only color pixels at different
elevations in different colors, but cannot subset them nor show a 3D view of them.
There is some experimentation on 3D viewers by OGC but afaik it has not reached
the state of being an official standard, and GeoServer does not implement it anyways.

Cheers
Andrea


-- ---Ing. Andrea AimeGeoSolutions S.A.S.Tech leadVia Poggio alle Viti 1187 55054 Massarosa (LU)Italyphone:+39 0584 962313fax:  +39 0584 962313 mob: +39339 8844549http://www.geo-solutions.ithttp://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIThttp://www.linkedin.com/in/andreaaime http://twitter.com/geowolf---




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


Re: [Geoserver-users] How to disable Geoserver gdal extension

2012-03-22 Thread Daniele Romagnoli
Hi,
please read below...

On Thu, Mar 22, 2012 at 8:22 AM, Surf wreck...@ymail.com wrote:


 Have a small issue that I hope someone may be able to help with.

 I am running Geoserver.war and Myapp.war both under an instance of Jetty.

 Myapp requires the use of gdal occasionally but fails with:

 Native library load failed.
 java.lang.UnsatisfiedLinkError: Native Library C:\Program Files
 (x86)\GDAL\gdaljni.dll already loaded in another classloader

 This happens at gdal.AllRegister(), it seems that GeoServer has already
 consumed gdal at startup. I have the gdal installation in my path.

 I have tried to remove the jars that make up the equivalent of the gdal
 extension plugin, but Geoserver produced some other errors and did not
 startup.





 I have also tried to remove gdal from the path and try to load it through
 the Myapp application code but ran into some other dependency issues.

 Another approach was to force Myapp to consume gdal at startup instead of
 calling it as needed later in the execution, then somehow get Jetty to
 start
 Myapp before Geoserver - but not sure how to get Jetty to fix the startup
 order sequence. Seen some other posts about that problem.

 Q: Is there a way to prevent Geoserver from consuming this native library
 so
 that Myapp can use it instead ? I do not need to use the gdal extensions
 for
 Geoserver. Alternatively, is there a way to share the gdal natives ?


which geoserver version are you using?
Did you remove imageio-ext-gdal** from WEB-INF/lib? Which errors is
throwing?

Please, let me know.
Regards,
Daniele


Thank you.


 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/How-to-disable-Geoserver-gdal-extension-tp4643713p4643713.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


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




-- 
---
Ing. Daniele Romagnoli
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

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


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


Re: [Geoserver-users] Unable to render RenderedOp for this operation

2012-03-22 Thread Daniele Romagnoli
Hi Christian,
can you share the full stack trace so we can know a bit more about the
potential cause of the issue?
If the error doesn't provide useful information we will probably ask you if
you can share somehow a sample data replicating the issue.

Please, let us know.
Best Regards,
Daniele


2012/3/21 Christian Höhener christian.hoehe...@gmail.com

 Hi

 I have a layer which results of a cascading wms (from another wms). I
 works perfectly with openlayers map, but if I try it with QGIS or other
 tools, I become an error java.lang.RuntimeException: - Unable to render
 RenderedOp for this operation...
 I've put some logs from geoserver down here: (the list with java is much
 longer)

 What could be wrong for that.

 Thanks a lot!

 Regards,
 Christian


 ---

 2012-03-21 16:15:08,658 INFO [geoserver.wms] -
 Request: getMap
 Filters = null
 Tiled = false
 Palette = null
 SRS = urn:x-ogc:def:crs:EPSG:21781
 Legend = false
 Styles = [StyleImpl[ name=Default Styler]]
 Layers = [org.geoserver.wms.MapLayerInfo@aa28fe6b]
 MaxFeatures = null
 Bbox = ReferencedEnvelope[663932.853426 : 741501.047601, 155637.840613
 : 233206.034789]
 RemoteOwsType = null
 RemoteOwsURL = null
 Env = {}
 FormatOptions = {}
 Angle = 0.0
 CQLFilter = null
 Elevation = NaN
 FeatureId = null
 Sld = null
 SldBody = null
 StartIndex = null
 ViewParams = null
 FeatureVersion = null
 Crs = PROJCS[CH1903 / LV03,
   GEOGCS[CH1903,
 DATUM[CH1903,
   SPHEROID[Bessel 1841, 6377397.155, 299.1528128,
 AUTHORITY[EPSG,7004]],
   TOWGS84[674.4, 15.1, 405.3, 0.0, 0.0, 0.0, 0.0],
   AUTHORITY[EPSG,6149]],
 PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]],
 UNIT[degree, 0.017453292519943295],
 AXIS[Geodetic latitude, NORTH],
 AXIS[Geodetic longitude, EAST],
 AUTHORITY[EPSG,4149]],
   PROJECTION[Hotine_Oblique_Mercator, AUTHORITY[EPSG,9815]],
   PARAMETER[longitude_of_center, 7.4395833],
   PARAMETER[latitude_of_center, 46.9524065],
   PARAMETER[azimuth, 90.0],
   PARAMETER[scale_factor, 1.0],
   PARAMETER[false_easting, 60.0],
   PARAMETER[false_northing, 20.0],
   PARAMETER[rectified_grid_angle, 90.0],
   UNIT[m, 1.0],
   AXIS[Easting, EAST],
   AXIS[Northing, NORTH],
   AUTHORITY[EPSG,21781]]
 BgColor = java.awt.Color[r=255,g=255,b=255]
 Transparent = true
 ValidateSchema = false
 SldVersion = null
 TilesOrigin = null
 Exceptions = SE_XML
 KMScore = 40
 KMattr = true
 Height = 32
 Width = 32
 Filter = null
 Time = null
 Format = image/png
 Buffer = 0
 Request = GetMap
 RawKvp =
 {BBOX=663932.853426,155637.840613,741501.047601,233206.034789,
 CRS=EPSG:21781, TRANSPARENT=TRUE, VERSION=1.3.0, FORMAT=image/png,
 SERVICE=WMS, HEIGHT=32, REQUEST=GetMap, LAYERS=KTSZ:Grundwasservorkommen,
 STYLES=, WIDTH=32}
 Get = true
 BaseUrl = http://localhost:8080/geoserver/
 RequestCharset = UTF-8
 Version = 1.3.0
 2012-03-21 16:15:08,752 ERROR [geoserver.ows] -
 java.lang.RuntimeException: - Unable to render RenderedOp for this
 operation.
 at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:826)
 at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:866)
 at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2232)
 at
 org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:100)





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




-- 
---
Ing. Daniele Romagnoli
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

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


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


Re: [Geoserver-users] Elevation WMS

2012-03-22 Thread Andrea Aime
On Thu, Mar 22, 2012 at 9:11 AM, Pawel Precikowski pprecikow...@wp.pl wrote:
 Does Geoserwer WMS support grayscale 16bit PNG?
 If so, I can create as input grayscale PNG16bit file where pixel value is
 elevation between 0-65536.

 1.  Uploaded it to GeoServer. The Geoserver WMS sholud public gray 16bit
 PNG image format. It is a solution is possible?

Generally speaking WMS is meant to publish data painted, if you want
to extract raw data the right protocol is WCS.

That said, the above might work, but I'm not 100% sure since I've never tried
out that particular case.

Cheers
Andrea


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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

---

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


Re: [Geoserver-users] SLD Geometry Offset Transform in Pixels ?

2012-03-22 Thread Andrea Aime
On Thu, Mar 22, 2012 at 8:13 AM, Edward Mac Gillavry
emacgilla...@hotmail.com wrote:
 Hi Sam,

 You can apply different visualisation rules at different scales by setting
 different MinScaleDenominator en MaxScaleDenominator tags for each rule.
 This determines at which scales a particular visualisation rule is applied.

 Check out the Unit Of Measurement attribute
 (http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html).
 Not sure whether it can be applied to your filter, though. Maybe someone
 else can confirm?

UOM only applies to symbolizer widths and sizes, geometry transformations
are applied on the original data before it enters the rendering chain, so it
ignores UOM

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

---

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


[Geoserver-users] geoserver netcdf WMS

2012-03-22 Thread juanf
Hello,

Does anybody know if there is anyway to have netcdf files in geoserver 
without using either ncWMS or thredds? Can I import netcdf files 
directly in geoserver and serve them as WMS?

thanks a lot!

Juan

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


[Geoserver-users] More CSS Questions

2012-03-22 Thread Chris Haste
Hello list!

I have two questions in relation to the CSS module.

Firstly, using units of measurement. Could someone supply an example of the 
syntax for this? I have tried:
  mark: symbol('circle');
  mark-size: 1m;
also
  mark-size:1 m;
But neither seem to work. The first results in nothing getting drawn and the 
second results in the mark being drawn at 1 pixels!

Secondly, if I want to use an external symbol (e.g. a PNG or SVG file) and have 
this scaled using UoM what size/scale does the image have to be created at in 
order for it to scale correctly?

Thanks

Chris
*** This communication has been sent from World Fuel Services 
Corporation or its subsidiaries or its affiliates for the intended recipient 
only and may contain proprietary, confidential or privileged information. 
If you are not the intended recipient, any review, disclosure, copying, 
use, or distribution of the information included in this communication 
and any attachments is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to this 
communication and delete the communication, including any 
attachments, from your computer. Electronic communications sent to or 
from World Fuel Services Corporation or its subsidiaries or its affiliates 
may be monitored for quality assurance and compliance purposes.***

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


[Geoserver-users] UOM and CSS (was Re: SLD Geometry Offset Transform in Pixels ?)

2012-03-22 Thread Charles Galpin
Oooh, I haven't seen UOM before - can this be used from the css module?

On Mar 22, 2012, at 5:27 AM, Andrea Aime wrote:

 Check out the Unit Of Measurement attribute
 (http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html).
 Not sure whether it can be applied to your filter, though. Maybe someone
 else can confirm?
 
 UOM only applies to symbolizer widths and sizes, geometry transformations
 are applied on the original data before it enters the rendering chain, so it
 ignores UOM

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


Re: [Geoserver-users] Elevation WMS

2012-03-22 Thread Stephen V. Mather
Most elevation data you can paint to 16-bit without much loss of fidelity,
depending on your range of values.  For (the very flat) Ohio terrain we
have, the range of values is from ~500ft to ~1500ft, so over a range of 1000
ft, we can paint values from 0-65535, meaning our precision is about 0.015
feet, which is more than adequate.  We've had some use cases where our tool
of choice could only handle 16-bit data, so it made sense to do the
translation.  Your client software would need to know how to translate that
range back into your real range, I would guess.  It might be simpler to just
use WCS as Andrea suggests.

Best,
Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
s...@clevelandmetroparks.com
clevelandmetroparks.com





-Original Message-
From: Andrea Aime [mailto:andrea.a...@geo-solutions.it] 
Sent: Thursday, March 22, 2012 5:26 AM
To: Pawel Precikowski
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Elevation WMS

On Thu, Mar 22, 2012 at 9:11 AM, Pawel Precikowski pprecikow...@wp.pl
wrote:
 Does Geoserwer WMS support grayscale 16bit PNG?
 If so, I can create as input grayscale PNG16bit file where pixel value is
 elevation between 0-65536.

 1.  Uploaded it to GeoServer. The Geoserver WMS sholud public gray
16bit
 PNG image format. It is a solution is possible?

Generally speaking WMS is meant to publish data painted, if you want
to extract raw data the right protocol is WCS.

That said, the above might work, but I'm not 100% sure since I've never
tried
out that particular case.

Cheers
Andrea


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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

---


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




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


[Geoserver-users] (no subject)

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

Thanks in advance
Ashok

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


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

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

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

Thanks in advance
Ashok

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


[Geoserver-users] GetCapabilitiesRequest

2012-03-22 Thread Stephen V. Mather
Hi All,

I'm running GS 2.1.0, GeoTools 2.7.1 (rev -1) on a Debian
box.  I'm having trouble getting my GetCapabilities document.  If I submit a
capabilities request:

 

http://maps:80/geoserver/wms?request=getCapabilities

 

XML Parsing Error: XML or text declaration not at start of entity

Location: http://maps/geoserver/TestWfsPost

Line Number 1433, Column 21:  Abstract?xml version=1.0
encoding=UTF-8?ServiceExceptionReport version=1.3.0
xmlns=http://www.opengis.net/ogc;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.opengis.net/ogc
http://maps/schemas/wms/1.3.0/exceptions_1_3_0.xsd;   ServiceException

^

 

With logging set to verbose, I don't get any log associated with this
request.

 

Anyone have a hunch what is happening?

 

Thanks,
Steve

 

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

s...@clevelandmetroparks.com
 http://www.clemetparks.com/ clevelandmetroparks.com

 

 

 

 

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


Re: [Geoserver-users] GetCapabilitiesRequest

2012-03-22 Thread Stephen V. Mather
BTW, if I use virtual OWS, I don't have any problem (at least on the layers
I've tried), e.g.:

 

http://maps/geoserver/metroparks/aerial_1/wms?request=getCapabilities

 

Steve

 

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

s...@clevelandmetroparks.com
 http://www.clemetparks.com/ clevelandmetroparks.com

 

 

 

 

From: Stephen V. Mather [mailto:s...@clevelandmetroparks.com] 
Sent: Thursday, March 22, 2012 8:49 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] GetCapabilitiesRequest

 

Hi All,

I'm running GS 2.1.0, GeoTools 2.7.1 (rev -1) on a Debian
box.  I'm having trouble getting my GetCapabilities document.  If I submit a
capabilities request:

 

http://maps:80/geoserver/wms?request=getCapabilities

 

XML Parsing Error: XML or text declaration not at start of entity

Location: http://maps/geoserver/TestWfsPost

Line Number 1433, Column 21:  Abstract?xml version=1.0
encoding=UTF-8?ServiceExceptionReport version=1.3.0
xmlns=http://www.opengis.net/ogc;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.opengis.net/ogc
http://maps/schemas/wms/1.3.0/exceptions_1_3_0.xsd;   ServiceException

^

 

With logging set to verbose, I don't get any log associated with this
request.

 

Anyone have a hunch what is happening?

 

Thanks,
Steve

 

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

s...@clevelandmetroparks.com
 http://www.clemetparks.com/ clevelandmetroparks.com

 

 

 

 

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


Re: [Geoserver-users] GetCapabilitiesRequest

2012-03-22 Thread Andrea Aime
On Thu, Mar 22, 2012 at 1:49 PM, Stephen V. Mather 
s...@clevelandmetroparks.com wrote:

  Hi All,

 I’m running GS 2.1.0, GeoTools 2.7.1 (rev -1) on a Debian
 box.  I’m having trouble getting my GetCapabilities document.  If I submit
 a capabilities request:

 ** **

 http://maps:80/geoserver/wms?request=getCapabilities

 ** **

 XML Parsing Error: XML or text declaration not at start of entity

 Location: http://maps/geoserver/TestWfsPost

 Line Number 1433, Column 21:  Abstract?xml version=1.0
 encoding=UTF-8?ServiceExceptionReport version=1.3.0 xmlns=
 http://www.opengis.net/ogc; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
 http://www.opengis.net/ogc
 http://maps/schemas/wms/1.3.0/exceptions_1_3_0.xsd;   ServiceException*
 ***

 ^

 ** **

 With logging set to verbose, I don’t get any log associated with this
 request.

 ** **

 Anyone have a hunch what is happening?


The generation of the caps fails mid way when the xml is already generated
at least partly,
so the service exception is mixed with the portion of the capabitlies
document that
was generated fine.

You can set a different service strategy in web.xml to try and get the
exception
without the rest of the document:
http://docs.geoserver.org/latest/en/user/production/config.html

The default one is faster though.
Eventually what you need to do is to figure out why the caps document fails
to
generate, more often than not there is a misconfigured layer

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

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


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

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

  ** **

 Hello

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


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

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

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


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

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



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

  *   Does GeoServer supports TOC Hierarchy:

Thanks
Ashok


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

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

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

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

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

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


[Geoserver-users] DB2 store needs Loose bbox

2012-03-22 Thread David Adler
The PostGIS data store interface allows one to select Loose bbox but 
this isn't available for DB2.

The Loose bbox can improve query performance by a factor of 2-5 and 
CPU utilization by a factor of 10.

How can this get added?

Regards,
David

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


Re: [Geoserver-users] More CSS Questions

2012-03-22 Thread David Winslow
The CSS module is incomplete and misses a few corners of the SLD
specification - units of measure is one of them.  So, it's not possible to
use units of measure in GeoServer CSS right now.

I am definitely interested in having them, but there are a couple of issues
to consider first:

   - the most natural notation in CSS for adding unit notation is to suffix
   the units to the value: 1px, 4.5ft, 10m, but in GeoServer CSS we also have
   CQL expressions.  Does [width_in_meters]m still make sense? What other
   notation might be better?
   - Also, in SLD units of measure are per-symbolizer, while CSS-like
   notation puts them on the properties.  While probably most real-world use
   cases won't mix feet and meters, it would be nice to support this since the
   syntax sort of suggests it.
   - SLD only supports px, m, and ft. Should CSS add a broader collection
   of units?

This is just a spare-hours project for me and I am working on some
performance stuff now[1].  I might eventually find some time to think about
the issues with UOM and resolve them but it's not likely to be soon.

[1]: More on my current work here:
https://groups.google.com/d/topic/geoscript/UXo_XFiM00I/discussion

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

On Thu, Mar 22, 2012 at 7:01 AM, Chris Haste cha...@airdata.co.uk wrote:

 Hello list!

 ** **

 I have two questions in relation to the CSS module.

 ** **

 Firstly, using units of measurement. Could someone supply an example of
 the syntax for this? I have tried:

   mark: symbol('circle');

   mark-size: 1m;

 also

   mark-size:1 m;

 But neither seem to work. The first results in nothing getting drawn and
 the second results in the mark being drawn at 1 pixels!

 ** **

 Secondly, if I want to use an external symbol (e.g. a PNG or SVG file) and
 have this scaled using UoM what size/scale does the image have to be
 created at in order for it to scale correctly?

 ** **

 Thanks

 ** **

 Chris
 *** This communication has been sent from World Fuel Services
 Corporation or its subsidiaries or its affiliates for the intended
 recipient
 only and may contain proprietary, confidential or privileged information.
 If you are not the intended recipient, any review, disclosure, copying,
 use, or distribution of the information included in this communication
 and any attachments is strictly prohibited. If you have received this
 communication in error, please notify us immediately by replying to this
 communication and delete the communication, including any
 attachments, from your computer. Electronic communications sent to or
 from World Fuel Services Corporation or its subsidiaries or its affiliates
 may be monitored for quality assurance and compliance purposes.***


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


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


Re: [Geoserver-users] DB2 store needs Loose bbox

2012-03-22 Thread Andrea Aime
On Thu, Mar 22, 2012 at 2:23 PM, David Adler dad...@riverby.net wrote:

 The PostGIS data store interface allows one to select Loose bbox but
 this isn't available for DB2.

 The Loose bbox can improve query performance by a factor of 2-5 and
 CPU utilization by a factor of 10.

 How can this get added?


Loose bbox in postgis uses a sql function (st_estimated_extent) that
queries the root
of the spatial index instead of accessing the whole data set:
http://postgis.refractions.net/documentation/manual-1.3/ch06.html

To implement something similar in DB2 I guess you need an equivalent
sql function for DB2 (and then write code to support 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 339 8844549

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

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


[Geoserver-users] Problem with WPS wfs:GetFeature

2012-03-22 Thread David R Robison
I am trying to use the WPS with a wfs:GetFeature. Here is my call.

?xml version=1.0 encoding=UTF-8?
wps:Execute service='WPS' version='1.0.0'
 xmlns:wps='http://www.opengis.net/wps/1.0.0' 
xmlns:vagis=http://www.openroadsconsulting.com/vagis;
 xmlns:ows='http://www.opengis.net/ows/1.1' 
xmlns:xlink=http://www.w3.org/1999/xlink;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://www.opengis.net/wps/1.0.0 
http://geoserver.itc.nl:8080/wps/schemas/wps/1.0.0/wpsExecute_request.xsd;
ows:Identifiergs:Nearest/ows:Identifier
wps:DataInputs
wps:Input
ows:Identifierfeatures/ows:Identifier
wps:Reference schema=http://schemas.opengis.net/gml/2.1.2/feature.xsd; 
xlink:href=http://geoserver/wfs; method=POST
wps:Body
wfs:GetFeature service=WFS version=1.0.0 outputFormat=GML2
 
xmlns:vagis=http://www.openroadsconsulting.com/vagis;
 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.0.0/WFS-basic.xsd;
wfs:Query typeName=vagis:va_jurisdictions_ivr
ogc:Filter
ogc:And
ogc:PropertyIsNotEqualTo
ogc:PropertyNamejuris_type/ogc:PropertyName
ogc:LiteralCounty/ogc:Literal
/ogc:PropertyIsNotEqualTo
ogc:DWithin
ogc:PropertyNamevagis:the_geom/ogc:PropertyName
gml:Point
gml:coordinates-77.264998,37.405998/gml:coordinates
/gml:Point
ogc:Distance units=deg.3/ogc:Distance
/ogc:DWithin
/ogc:And
/ogc:Filter
/wfs:Query
/wfs:GetFeature
/wps:Body
/wps:Reference
/wps:Input
wps:Input
ows:Identifierpoint/ows:Identifier
wps:Data
wps:LiteralData-77.264998,37.405998/wps:LiteralData
/wps:Data
/wps:Input
/wps:DataInputs
wps:ResponseForm
wps:RawDataOutput mimeType=text/XML
 schema=http://schemas.opengis.net/gml/2.1.2/feature.xsd;
ows:Identifierresult/ows:Identifier
/wps:RawDataOutput
/wps:ResponseForm
/wps:Execute

I am getting back this error:

?xml version=1.0 encoding=UTF-8?
wps:ExecuteResponse xml:lang=en service=WPS 
serviceInstance=http://localhost:8080/geoserver/ows?; version=1.0.0 
xmlns:wps=http://www.opengis.net/wps/1.0.0; 
xmlns:ows=http://www.opengis.net/ows/1.1; 
xmlns:xlink=http://www.w3.org/1999/xlink;wps:Process 
wps:processVersion=1.0.0ows:Identifiergs:Nearest/ows:Identifierows:TitleGet
 
nearest feature/ows:Titleows:AbstractGet nearest 
feature/ows:Abstract/wps:Processwps:Status 
creationTime=2012-03-22T13:58:47.266Zwps:ProcessFailedows:ExceptionReport 
version=1.1.0ows:Exception 
exceptionCode=NoApplicableCodeows:ExceptionTextProcess failed 
during execution
Process execution a99baefb-de09-47dd-afa8-25199bd55f93 failed
java.lang.NoSuchMethodError: 
org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType;
org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType;/ows:ExceptionText/ows:Exception/ows:ExceptionReport/wps:ProcessFailed/wps:Status/wps:ExecuteResponse

Any ideas what might be wrong? David

-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobi...@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526



This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.


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


Re: [Geoserver-users] DB2 store needs Loose bbox

2012-03-22 Thread David Adler

Hi Andrea - thanks for the quick response.

DB2 already has the sql function to do this and the DB2 support for 
GeoTools has this capability as well.


How does it get added to the GeoServer GUI and the value set so that it 
can be used by the DB2 store?


On 3/22/2012 9:53 AM, Andrea Aime wrote:
On Thu, Mar 22, 2012 at 2:23 PM, David Adler dad...@riverby.net 
mailto:dad...@riverby.net wrote:


The PostGIS data store interface allows one to select Loose bbox but
this isn't available for DB2.

The Loose bbox can improve query performance by a factor of 2-5 and
CPU utilization by a factor of 10.

How can this get added?


Loose bbox in postgis uses a sql function (st_estimated_extent) that 
queries the root

of the spatial index instead of accessing the whole data set:
http://postgis.refractions.net/documentation/manual-1.3/ch06.html

To implement something similar in DB2 I guess you need an equivalent
sql function for DB2 (and then write code to support 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 339 8844549

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

---


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


Re: [Geoserver-users] How to disable Geoserver gdal extension

2012-03-22 Thread Surf

Thank you for your note.

I am running Geoserver 2.1.3 under Jetty 8.0.4 on Win 7

After removing the gt-imageio-ext-gdal-2.7.4 I get multiple startup errors
that include these messages in between jetty errors, and Geoserver fails to
run.

org.geotools.factory.FactoryRegistry scanForPlugins
WARNING: Can't load a service for category GridFormatFactorySpi. Cause is
NoC
lassDefFoundError: org/geotools/coverageio/gdal/jp2ecw/JP2ECWFormatFactory.

Caused by:
java.lang.IllegalArgumentException: Cannot find class
[org.geotools.coverageio.g
dal.BaseGDALGridFormat]

Caused by:
java.lang.ClassNotFoundException:
org.geotools.coverageio.gdal.BaseGDALGridFormat

Thank you.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-disable-Geoserver-gdal-extension-tp4643713p4644917.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] Problem with WPS wfs:GetFeature

2012-03-22 Thread David R Robison
My fault. I had mismatched versions. David

On 3/22/2012 10:07 AM, David R Robison wrote:
 I am trying to use the WPS with a wfs:GetFeature. Here is my call.

 ?xml version=1.0 encoding=UTF-8?
 wps:Execute service='WPS' version='1.0.0'
   xmlns:wps='http://www.opengis.net/wps/1.0.0'
 xmlns:vagis=http://www.openroadsconsulting.com/vagis;
   xmlns:ows='http://www.opengis.net/ows/1.1'
 xmlns:xlink=http://www.w3.org/1999/xlink;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://www.opengis.net/wps/1.0.0
 http://geoserver.itc.nl:8080/wps/schemas/wps/1.0.0/wpsExecute_request.xsd;
 ows:Identifiergs:Nearest/ows:Identifier
 wps:DataInputs
 wps:Input
 ows:Identifierfeatures/ows:Identifier
 wps:Reference schema=http://schemas.opengis.net/gml/2.1.2/feature.xsd;
 xlink:href=http://geoserver/wfs; method=POST
 wps:Body
 wfs:GetFeature service=WFS version=1.0.0 outputFormat=GML2

 xmlns:vagis=http://www.openroadsconsulting.com/vagis;
   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.0.0/WFS-basic.xsd;
 wfs:Query typeName=vagis:va_jurisdictions_ivr
 ogc:Filter
 ogc:And
 ogc:PropertyIsNotEqualTo
 ogc:PropertyNamejuris_type/ogc:PropertyName
 ogc:LiteralCounty/ogc:Literal
 /ogc:PropertyIsNotEqualTo
 ogc:DWithin
 ogc:PropertyNamevagis:the_geom/ogc:PropertyName
 gml:Point
 gml:coordinates-77.264998,37.405998/gml:coordinates
 /gml:Point
 ogc:Distance units=deg.3/ogc:Distance
 /ogc:DWithin
 /ogc:And
 /ogc:Filter
 /wfs:Query
 /wfs:GetFeature
 /wps:Body
 /wps:Reference
 /wps:Input
 wps:Input
 ows:Identifierpoint/ows:Identifier
 wps:Data
 wps:LiteralData-77.264998,37.405998/wps:LiteralData
 /wps:Data
 /wps:Input
 /wps:DataInputs
 wps:ResponseForm
 wps:RawDataOutput mimeType=text/XML
   schema=http://schemas.opengis.net/gml/2.1.2/feature.xsd;
 ows:Identifierresult/ows:Identifier
 /wps:RawDataOutput
 /wps:ResponseForm
 /wps:Execute

 I am getting back this error:

 ?xml version=1.0 encoding=UTF-8?
 wps:ExecuteResponse xml:lang=en service=WPS
 serviceInstance=http://localhost:8080/geoserver/ows?; version=1.0.0
 xmlns:wps=http://www.opengis.net/wps/1.0.0;
 xmlns:ows=http://www.opengis.net/ows/1.1;
 xmlns:xlink=http://www.w3.org/1999/xlink;wps:Process
 wps:processVersion=1.0.0ows:Identifiergs:Nearest/ows:Identifierows:TitleGet
 nearest feature/ows:Titleows:AbstractGet nearest
 feature/ows:Abstract/wps:Processwps:Status
 creationTime=2012-03-22T13:58:47.266Zwps:ProcessFailedows:ExceptionReport
 version=1.1.0ows:Exception
 exceptionCode=NoApplicableCodeows:ExceptionTextProcess failed
 during execution
 Process execution a99baefb-de09-47dd-afa8-25199bd55f93 failed
 java.lang.NoSuchMethodError:
 org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType;
 org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType;/ows:ExceptionText/ows:Exception/ows:ExceptionReport/wps:ProcessFailed/wps:Status/wps:ExecuteResponse

 Any ideas what might be wrong? David


-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobi...@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526



This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.


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


Re: [Geoserver-users] DB2 store needs Loose bbox

2012-03-22 Thread christian . mueller
Hi David, unfortunately I am under a heavy load this week. Could you  
create a JIRA ticket for geotools and attach a patch for 2.7.x. (Would  
be happy if you can attach a patch for trunk too). I would commit  
after the test pass.

Christian


Zitat von David Adler dad...@riverby.net:

 Hi Andrea - thanks for the quick response.

 DB2 already has the sql function to do this and the DB2 support for
 GeoTools has this capability as well.

 How does it get added to the GeoServer GUI and the value set so that it
 can be used by the DB2 store?

 On 3/22/2012 9:53 AM, Andrea Aime wrote:
 On Thu, Mar 22, 2012 at 2:23 PM, David Adler dad...@riverby.net   
 mailto:dad...@riverby.net wrote:

The PostGIS data store interface allows one to select Loose bbox but
this isn't available for DB2.

The Loose bbox can improve query performance by a factor of 2-5 and
CPU utilization by a factor of 10.

How can this get added?


 Loose bbox in postgis uses a sql function (st_estimated_extent)   
 that queries the root
 of the spatial index instead of accessing the whole data set:
 http://postgis.refractions.net/documentation/manual-1.3/ch06.html

 To implement something similar in DB2 I guess you need an equivalent
 sql function for DB2 (and then write code to support 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 339 8844549

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

 ---






This message was sent using IMP, the Internet Messaging Program.



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


[Geoserver-users] Export wms layer as kml and csv format problem

2012-03-22 Thread mano3688

My geoserver version:2.1.1


My problem is kml and csv file show some unexpected  name like
(application/vnd.google-earth.kml and text/csv (642 KB))when i export layer
but i need kml and CSV file in zip  format.


Here shape file format only working fine.

I need kml and csv file like

(e.g) layer name: population
export as kml: population.kml
export as csv: population.csv.

but i didn't get like this,how can i resolve this problem?.please help me.

I am mention my steps below what i did.

I have download OGR output format jar file from geoserver 
(geoserver-2.1.1-ogr-plugin.zip) and put into
C:\Tomcat7.0.19\webapps\geoserver\WEB-INF\lib location.

I am installed FWTools2.4.7

I put my xml file into  C:\Tomcat7.0.19\webapps\geoserver\data location.

My xml file is,
OgrConfiguration
   ogr2ogrLocationC:\Program
Files\FWTools2.4.7\bin\ogr2ogr.exe/ogr2ogrLocation
  gdalDataC:\Program Files\FWTools2.4.7\data/gdalData
  formats
Format
  ogrFormatMapInfo File/ogrFormat
  formatNameOGR-TAB/formatName
  fileExtension.tab/fileExtension
/Format
Format
  ogrFormatMapInfo File/ogrFormat
  formatNameOGR-MIF/formatName
  fileExtension.mif/fileExtension

/Format
Format
  ogrFormatCSV/ogrFormat
  formatNameOGR-CSV/formatName
  fileExtension.csv/fileExtension
 
/Format
Format
  ogrFormatKML/ogrFormat
  formatNameOGR-KML/formatName
  fileExtension.kml/fileExtension

/Format
  /formats
/OgrConfiguration

I wrote code for export kml and csv in js file like.

For KML file:

window.open(selectedLayerURL+'?service=WFSsrs=EPSG:4326version=1.0.0request=GetFeaturetypeName='+exportContextMenu+'outputFormat=OGR-KML','_parent');

For CSV:

window.open(selectedLayerURL+'?service=WFSsrs=EPSG:4326version=1.0.0request=GetFeaturetypeName='+exportContextMenu+'outputFormat=OGR-CSV','_parent');

Please reply me,
thanks to all.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Export-wms-layer-as-kml-and-csv-format-problem-tp4645187p4645187.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] How to disable Geoserver gdal extension

2012-03-22 Thread Surf

Thank you. 

I removed the 13 files and now Geoserver starts up without error.
Gdal extensions have been disabled and the new data source show a reduced
raster selection.

I tested Myapp and the gdal functions can now run successfully.

Thank you very much Daniele. 

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-disable-Geoserver-gdal-extension-tp4643713p4645195.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


[Geoserver-users] Virtual OWS and ArcMap

2012-03-22 Thread Stephen V. Mather
Hi All,

I'm running into issues with the GetCapabilities document
taking long enough to come back that the client software, ArcMap 9.3, is
giving up (timing out, I suspect).  I can subset the layers returned by
using a Virtual OWS endpoint, but while ArcMap reads the capabilities
document, it can't retrieve the layers themselves.  Anyone had any
experience with this combination?

 

Thanks,
Steve

 

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

s...@clevelandmetroparks.com
 http://www.clemetparks.com/ clevelandmetroparks.com

 

 

 

 

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


Re: [Geoserver-users] Unable to render RenderedOp for this operation

2012-03-22 Thread Christian Höhener
Hi Andrea, Daniele

Thank you! Well, we'll see what we can do with this width-limitations...

Further I tried to get a map with smaller dimensions. There I become the
error I posted in my first mail (renderop):
I'll put the logs down in the email.
With openlayers I do not get this error - everythings ok (unless its too
width)

We would be very glad to get the wms also with widther maps. Would it be
possible to integrate that?

Thanks!

Cheers,
Christian


---
2012-03-22 22:52:58,507 INFO [geoserver.wms] -
Request: getServiceInfo
2012-03-22 22:52:58,804 INFO [geoserver.wms] -
Request: getMap
Filters = null
Tiled = false
Palette = null
SRS = EPSG:21781
Legend = false
Styles = [StyleImpl[ name=Default Styler]]
Layers = [org.geoserver.wms.MapLayerInfo@aa28fe6b]
MaxFeatures = null
Bbox = ReferencedEnvelope[697209.9 : 700233.9, 220965.5 : 222634.1]
RemoteOwsType = null
RemoteOwsURL = null
Env = {}
FormatOptions = {}
Angle = 0.0
CQLFilter = null
Elevation = NaN
FeatureId = null
Sld = null
SldBody = null
StartIndex = null
ViewParams = null
FeatureVersion = null
Crs = PROJCS[CH1903 / LV03,
  GEOGCS[CH1903,
DATUM[CH1903,
  SPHEROID[Bessel 1841, 6377397.155, 299.1528128,
AUTHORITY[EPSG,7004]],
  TOWGS84[674.4, 15.1, 405.3, 0.0, 0.0, 0.0, 0.0],
  AUTHORITY[EPSG,6149]],
PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]],
UNIT[degree, 0.017453292519943295],
AXIS[Geodetic longitude, EAST],
AXIS[Geodetic latitude, NORTH],
AUTHORITY[EPSG,4149]],
  PROJECTION[Hotine_Oblique_Mercator, AUTHORITY[EPSG,9815]],
  PARAMETER[longitude_of_center, 7.4395833],
  PARAMETER[latitude_of_center, 46.9524065],
  PARAMETER[azimuth, 90.0],
  PARAMETER[scale_factor, 1.0],
  PARAMETER[false_easting, 60.0],
  PARAMETER[false_northing, 20.0],
  PARAMETER[rectified_grid_angle, 90.0],
  UNIT[m, 1.0],
  AXIS[Easting, EAST],
  AXIS[Northing, NORTH],
  AUTHORITY[EPSG,21781]]
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
ValidateSchema = false
SldVersion = null
TilesOrigin = null
Exceptions = application/vnd.ogc.se_xml
KMScore = 40
KMattr = true
Height = 522
Width = 946
Filter = null
Time = null
Format = image/png
Buffer = 0
Request = GetMap
RawKvp = {BBOX=697209.9,220965.5,700233.9,222634.1, TRANSPARENT=TRUE,
EXCEPTIONS=application/vnd.ogc.se_xml, VERSION=1.1.1, FORMAT=image/png,
SERVICE=WMS, HEIGHT=522, REQUEST=GetMap, LAYERS=KTSZ:Grundwasservorkommen,
STYLES=, WIDTH=946, SRS=EPSG:21781}
Get = true
BaseUrl = http://wms.geoportal.ch:8080/geoserver/
RequestCharset = UTF-8
Version = 1.1.1
2012-03-22 22:52:58,913 ERROR [geoserver.ows] -
java.lang.RuntimeException: - Unable to render RenderedOp for this
operation.
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:826)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:866)
at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2232)
at
org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:100)
at
org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:115)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:751)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:238)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at

Re: [Geoserver-users] Export wms layer as kml and csv format problem

2012-03-22 Thread mano3688
Please reply me..

Thanks ,

Mano G

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Export-wms-layer-as-kml-and-csv-format-problem-tp4645187p4647451.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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