Re: [Geoserver-users] Create geoserver users

2013-02-06 Thread Rodrigo Antonialli
Hello everybody! Solved it... =)

I know that WPS is a standard to process "OGC-like" (geographic) data, but
actually, you can register any kind of process in WPS.

So, I was looking at Geoserver src and I found the
GeoServerDigestPasswordEncoder class.

I implemented a WPS that receives the user data (username, password, and
other stuff) to insert them in the users table created by geoserver (user
group service with JDBC).
I've added custom columns in this table to fit my user data.

To encode the password, was easy inside WPS:

GeoServerDigestPasswordEncoder digest = newGeoServerDigestPasswordEncoder();

(I've built wps src from geoserver src and loaded wps-core project in
eclipse).

Now, my app just sends data to the process and it registers a new user...
After setting the flag enabled = Y, I logged in geoserver with no
problems...

If anyone is interested, I can share the full src of WPS.

Maybe it's not the best solution, but it's the one I've found.

Regards,

Rodrigo C. Antonialli
==
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 8136-2347
  rcantonia...@gmail.com
  Skype: rc_antonialli


On Tue, Feb 5, 2013 at 1:05 AM, Rodrigo Antonialli
wrote:

> I'm sorry... sent before finishing...
>
> Well, I configured JDBC user/group service, and it's working fine... I can
> login with user registered in postgre "user" table.
>
> What I need now is to create users without geoserver web UI.
>
> Is there a way to do it through geoserver? REST maybe? (Almost sure I read
> it's not possible to handle users with REST API)
>
> I just thought about insert user data directly to database, but, how to
> implement password encryption?!
>
> Anyone can help me?!
>
> Just to clarify, I need that the same users created in my application to be
> created in geoserver.
>
> Thanks!
>
> Em terça-feira, 5 de fevereiro de 2013, Rodrigo Antonialli escreveu:
>
> Hi everyone!
>>
>> I have a simple question about using
>> JDBC user/group service
>>
>> --
>> Rodrigo C. Antonialli
>> ==
>> Rio Claro - SP - Brasil
>> LinkedIn: http://www.linkedin.com/in/rcaprofile
>> Contato:  (19) 8136-2347
>>   rcantonia...@gmail.com
>>   Skype: rc_antonialli
>>
>
>
> --
> Rodrigo C. Antonialli
> ==
> Rio Claro - SP - Brasil
> LinkedIn: http://www.linkedin.com/in/rcaprofile
> Contato:  (19) 8136-2347
>   rcantonia...@gmail.com
>   Skype: rc_antonialli
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GetLegendGraphic issue in GS 2.3-beta1

2013-02-06 Thread Alexandre Djioev
Hi everyone,

I've installed latest 2.3-beta1 geoserver and found out that I'm not
getting layer legend images in GeoExplorer. URL that I use is:

localhost:8080/geoserver/wms?request=GetLegendGraphic&format=image/png&width=20&height=20&layer=restricted&transparent=true&format=image/png&legend_options=fontAntiAliasing:true;fofntSize:11;fontName:Arial&SCALE=136494.76705452034

Geoserver complains about format, so if I remove format=image/png key/value
it works fine. Is this is a bug or format values were changed?

Thanks Alex
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] python scripting hook

2013-02-06 Thread Bessette-Halsema, Dominique E
It looks like this.  It's the same one as the example
http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html

 

from geoserver.wps import process

from geoscript.geom import Geometry

 

@process(

   title='Buffer',

   description='Buffers a geometry',

   inputs={'geom': (Geometry, 'The geometry to buffer'),

   'distance':(float,'The buffer distance')},

   outputs={'result': (Geometry, 'The buffered geometry')}

)

def run(geom, distance):

  return geom.buffer(distance)

 

Thank You

Dom

 

From: Justin Deoliveira [mailto:jdeol...@opengeo.org] 
Sent: Monday, February 04, 2013 8:06 AM
To: Bessette-Halsema, Dominique E
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] python scripting hook

 

Hmmm... any chance you can make the script available, I can take a closer
look. 

 

On Fri, Feb 1, 2013 at 8:49 AM, Bessette-Halsema, Dominique E
 wrote:

Hi 

 

I'm having trouble installing the python scripting hook.  I unzip the
contents of geoserver-2.2-SNAPSHOT-python-plugin.zip into my
geoserver-2.2/WEB-INF/lib file.  In my GEOSERVER_DATA_DIR is see a
scripts/lib and scripts/function directory.  I created a scripts/wps
directory and made the buffer.py example from
http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html 

 

When I go into the WPS request builder and try to run the buffer.py script I
see the following error in geoserver.

 

15:46:38,593 ERROR [org.apache.wicket.RequestCycle] (http--0.0.0.0-8080-1)
java.io.IOException: javax.script.ScriptException: ImportError: No module
named types in /gis/geoserver/external/scripts/wps/demo.py at line number 1:
java.lang.RuntimeException: java.io.IOException:
javax.script.ScriptException: ImportError: No module named types in
/gis/geoserver/external/scripts/wps/demo.py at line number 1

 

Line number 1 is 

 

from geoserver.wps import process

 

what am I missing?

 

Thank you



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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.



smime.p7s
Description: S/MIME cryptographic signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] TimeSpan KML

2013-02-06 Thread Bessette-Halsema, Dominique E
Actually I think I found my answer.  In the parseDateTime method in the
KMLMapTransformer class, I believe the date is being parsed using the
geotools  DateUtil.deserializeDateTime() method 

 

In the GeoTools API it mentions:

 

Date values are expected to match W3C XML Schema standard format as
CCYY-MM-DDThh:mm:ss, with optional leading minus sign and trailing seconds
decimal, as necessary 

 

Thank You

Dominique

 

From: Bessette-Halsema, Dominique E 
Sent: Wednesday, February 06, 2013 5:02 PM
To: geoserver-users@lists.sourceforge.net
Subject: TimeSpan KML

 

Hi

 

I'm having problems importing my KML from geoserver 2.2 into a map and found
it is because the map doesn't like fractional seconds.  (ie.
Yyyy-mm-ddThh:mm:ss.fffz)  I was looking at the geoserver spec and in the
geoserver code, mainly the KMLMapTranformer.java class and the datetime
formats don't include fractional seconds.  I'll continue to debug this but
in the meantime I was hoping someone could give me a quick answer as to why
the resulting KML includes the fractional seconds, and if anyone could
foresee any issues that could arise with removing them in our geoserver
instance.

 

Example KML snippet:

 



2013-02-06T12:00:00.000Z

2013-02-06T14:59:59.000Z



 

Thank You

Dominique



smime.p7s
Description: S/MIME cryptographic signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] TimeSpan KML

2013-02-06 Thread Bessette-Halsema, Dominique E
Hi

 

I'm having problems importing my KML from geoserver 2.2 into a map and found
it is because the map doesn't like fractional seconds.  (ie.
Yyyy-mm-ddThh:mm:ss.fffz)  I was looking at the geoserver spec and in the
geoserver code, mainly the KMLMapTranformer.java class and the datetime
formats don't include fractional seconds.  I'll continue to debug this but
in the meantime I was hoping someone could give me a quick answer as to why
the resulting KML includes the fractional seconds, and if anyone could
foresee any issues that could arise with removing them in our geoserver
instance.

 

Example KML snippet:

 



2013-02-06T12:00:00.000Z

2013-02-06T14:59:59.000Z



 

Thank You

Dominique



smime.p7s
Description: S/MIME cryptographic signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS and outputFormat json

2013-02-06 Thread Mauro Bartolomeoli
I can try installing a new nightly. The one I'm using is from a week ago,
or so. Tomorrow I'll try to update, and let you know if the problem
persists.

Thanks



2013/2/6 Andrea Aime 

> On Wed, Feb 6, 2013 at 6:51 PM, Mauro Bartolomeoli <
> mauro.bartolome...@geo-solutions.it> wrote:
>
>> Hi,
>> I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS
>> GetFeature request is no more supported (I'm getting an error),
>> application/json is working fine, instead (but this was throwing an error
>> on previous 2.2.x versions).
>>
>> Can this be considered a bug, for the 2.2.x series, or do I need to
>> change my code to support the new type?
>>
>
> It is a bug imho, we cannot have a output format people are used to
> disappear just like that.
> I believe I've discussed this with Carlo, and he prepared a patch to
> re-instate the "json" format...
> but maybe the patches in question did not land on 2.2.x?
> Carlo, do you remember?
>
> Cheers
> Andrea
>
>
>

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Maximum height in area

2013-02-06 Thread Andrea Aime
On Tue, Feb 5, 2013 at 9:34 PM, lysgaard  wrote:

> Hi, I'm working for the OAM project to create an open aviation map.
> One feature that is qute special for aviation maps is MORA grid heights.
> http://en.wikipedia.org/wiki/MORA_(aviation)
> 
> To calculate these I need to extract the biggest elevation within a lat lon
> square.
> Right now I've got the elevation data from the NASA SRTM set in Geoserver.
> Anyone
> know how to extract the largest height in a square from this using
> Geoserver?
>

You'll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.

The CropCoverage process is probably a good template for that:
https://github.com/geotools/geotools/blob/master/modules/unsupported/process-raster/src/main/java/org/geotools/process/raster/CropCoverage.java

Cheers
Andrea


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

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geowebcache issue

2013-02-06 Thread Gabriel Roldan
I understand using these pre-generated TMS tiles (adapted to gwc's
storage layout) worked in a previous version but IMHO that was "by
accident" cause I don't recall that being a supported procedure, but I
may be wrong.

In any case, if you send me the first couple levels of your cache in a
zip/tar file I'll be glad to take a look and see what's going on and
whether that could be worked around somehow.

Cheers,
Gabriel

On Tue, Jan 29, 2013 at 5:56 PM, Gavin Fleming  wrote:
> Thanks Gabriel,
>
> We've tried that and various other combinations with the gridsets and no
> luck.
>
> What seems to be the problem is the new requirement for the wmsUrl in the
> geowebcache.xml schema. Previously we did not define one (with geoserver
> 2.1.3). Now we have had to define one but the catch is, the layers are not
> available nor are they defined as geoserver layers, since they are
> pregenerated static caches. Hence defining a wmsUrl pointing to a
> geowebcache wms layer seems to be a recursive self-reference and thus a
> problem. We've also tried with a plain geoserver wms url and no url and
> neither of these work either.
>
> Does this seem like a likely diagnosis and how could we get around it?
>
> Gavin
>
>
> On 29/01/2013 00:00, Gabriel Roldan wrote:
>>
>> Hey is the definition of the 900913 gridset needed in your
>> geowebcache.xml? There was a version of geoserver that shipped with a
>> (arguably[1]) wrong internal definition of it, and then we had to
>> revert to the "common use" definition just due to this kind of errors
>> you're getting.
>> You may want to just delete the gridset definition from your
>> geowebcache.xml. Can you try that and see how it goes?
>>
>>
>>
>> On Sat, Jan 19, 2013 at 2:33 PM, Gavin Fleming 
>> wrote:
>>>
>>> We've now upgraded to geoserver 2.2.3 and changed the  tag to
>>> include the gwc/service path and are now getting errors like this from
>>> demo client requests:
>>>
>>> ERROR [geowebcache.GeoWebCacheDispatcher] - Requested horizontal
>>> resolution: 687.9332544708304 , best match: 611.4962261962891 exceeds
>>> 10% threshold. Perhaps the client is configured  with an incorrect set
>>> of scales (resolutions),  or the DPI setting is off compared to the one
>>> in GWC ? http://localhost:8080/geoserver/gwc/service/wms
>>>
>>> the layers are pregenerated local TMS layers (from gdal2tiles.py) that
>>> we modified to match gwc directory and naming structure. i.e. they do
>>> not actually come from a WMS service.
>>>
>>> current geowebcache.xml:
>>>
>>> 
>>> http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:schemaLocation="http://geowebcache.org/schema/1.3.0
>>> http://geowebcache.org/schema/1.3.0/geowebcache.xsd";
>>> xmlns="http://geowebcache.org/schema/1.3.0";>
>>> 1.3.0
>>> 120
>>> 
>>>   
>>> EPSG:900913
>>> This well-known scale set has been defined to be
>>> compatible with Google Maps and Microsoft Live Map projections and zoom
>>> levels. Level 0 allows representing the whole world in a single 256x256
>>> pixels. The next level represents the whole world in 2x2 tiles of
>>> 256x256 pixels and so on in powers of 2. Scale denominator is only
>>> accurate near the equator.
>>> 
>>>   900913
>>> 
>>> 
>>>   
>>> -2.003750834E7
>>> -2.003750834E7
>>> 2.003750834E7
>>> 2.003750834E7
>>>   
>>> 
>>> false
>>> 
>>>   156543.03390625
>>>   78271.516953125
>>>   39135.7584765625
>>>   19567.87923828125
>>>   9783.939619140625
>>>   4891.9698095703125
>>>   2445.9849047851562
>>>   1222.9924523925781
>>>   611.4962261962891
>>>   305.74811309814453
>>>   152.87405654907226
>>>   76.43702827453613
>>>   38.218514137268066
>>>   19.109257068634033
>>>   9.554628534317017
>>>   4.777314267158508
>>>   2.388657133579254
>>>   1.194328566789627
>>>   0.5971642833948135
>>>   0.29858214169740677
>>>   0.14929107084870338
>>>   0.07464553542435169
>>> 
>>> 1.0
>>> 2.985823029317633E-4
>>> 
>>>   EPSG:900913:0
>>>   EPSG:900913:1
>>>   EPSG:900913:2
>>>   EPSG:900913:3
>>>   EPSG:900913:4
>>>   EPSG:900913:5
>>>   EPSG:900913:6
>>>   EPSG:900913:7
>>>   EPSG:900913:8
>>>   EPSG:900913:9
>>>   EPSG:900913:10
>>>   EPSG:900913:11
>>>   EPSG:900913:12
>>>   EPSG:900913:13
>>>   EPSG:900913:14
>>>   EPSG:900913:15
>>>   EPSG:900913:16
>>>   EPSG:900913:17
>>>   EPSG:900913:18
>>>   EPSG:900913:19
>>>   EPSG:900913:20
>>>   EPSG:900913:21
>>> 
>>> 256
>>> 256
>>> false
>>>   
>>>   
>>> My_EPSG:900913
>>> This well-kn

Re: [Geoserver-users] WFS and outputFormat json

2013-02-06 Thread Andrea Aime
On Wed, Feb 6, 2013 at 6:51 PM, Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it> wrote:

> Hi,
> I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS
> GetFeature request is no more supported (I'm getting an error),
> application/json is working fine, instead (but this was throwing an error
> on previous 2.2.x versions).
>
> Can this be considered a bug, for the 2.2.x series, or do I need to change
> my code to support the new type?
>

It is a bug imho, we cannot have a output format people are used to
disappear just like that.
I believe I've discussed this with Carlo, and he prepared a patch to
re-instate the "json" format...
but maybe the patches in question did not land on 2.2.x?
Carlo, do you remember?

Cheers
Andrea


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

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WFS and outputFormat json

2013-02-06 Thread Mauro Bartolomeoli
Hi,
I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS
GetFeature request is no more supported (I'm getting an error),
application/json is working fine, instead (but this was throwing an error
on previous 2.2.x versions).

Can this be considered a bug, for the 2.2.x series, or do I need to change
my code to support the new type?

Thanks.
Mauro Bartolomeoli


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Adding CADRG RPF A.TOC Raster Data Source

2013-02-06 Thread Daniele Romagnoli
Cool.
I thought that using the VS 2010, you could have some issues with missing
MSVCR100.dll. Good to know it worked properly.
Thanks for reporting your results.

Regards,
Daniele



On Wed, Feb 6, 2013 at 6:07 PM, Sean K  wrote:

> I guess I answered my own question...
>
> I went ahead and tried the VS 2010 32 bit (or non 64 bit binaries) because
> my JRE/JDK is 32 bit.   Replaced all the native gdal lib that were in
> JAVA_HOME, and updated the gdal-data files pointed by my GDAL_DATA
> environment variable.   Then geoserver was able to open the CADRG RPF
> A.TOC.
>
> I ensured that the server.xml did *not* have the MemoryLeakListener
> changed.
>
> Looks great.
>
> Thank you for pointing out the correct gdal native libraries.
>
>
> On Wed, Feb 6, 2013 at 8:29 AM, Sean K  wrote:
>
>> Thank you for your response.
>>
>> I had thought that I had the correct gdal native libraries because I had
>> found a web page (now I cant find it) that said that the geoserver 2.2.4
>> relies on gdal 1.7.3.   So I compared the native libraries in that with
>> what I had already in my JAVA_HOME.
>>
>> If I follow your link above, it takes me to the GDAL link for ImageIO-Ext
>> 1.1.6.
>> From there, I follow the windows links and then from there, I see the
>> various versions of Microsoft Studio builds for the 1.9.2.
>>
>> Although I am using a 64 bit WinXP system, I figure that I might need to
>> download the 32 bit native DLL since my geoserver that is running is not
>> specifically for a 64 bit system, and I am using a 32 bit JRE/JDK.   But if
>> I look for 32 bit native DLLs, which one should I use?
>>
>> And I will download the GDAL data and put them where my environment
>> variable is pointing.
>>
>>
>>
>>
>> On Wed, Feb 6, 2013 at 3:40 AM, Daniele Romagnoli <
>> daniele.romagn...@geo-solutions.it> wrote:
>>
>>> Hi,
>>> which GDAL version are you using?
>>> Note that 2.2.4 uses ImageIO-Ext 1.1.6 which internally uses GDAL 1.9.2.
>>> More info are available here:
>>> https://github.com/geosolutions-it/imageio-ext/wiki/Releases
>>>
>>> Please, let me know.
>>> Daniele
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Feb 5, 2013 at 10:50 PM, SK92129  wrote:
>>>
 We were using tomcat 7.0.30 (or 7.0.23) with geoserver 2.1.1 and were
 working
 around the issue of loading CADRG RPF A.TOC by changing the server.xml
  in
 the  JreLeakPreventionListener section -- as discussed in this blog.


 http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html

 However, this blog article suggests that the issue has been resolved in
 later versions of geoserver.   So, I downloaded the geoserver 2.2.4
 with the
 2.2.4 gdal plugins (and copied the plugin jars into the
 geoserver/WEB-INF/lib)

 When I try to add the Raster Data Source specifically the RPFTOC, and
 specify the relative path to the CADRG/RPF/A.TOC (I copied the whole
 CADRG/RPF/ directory and all files to the geoserver/data/data ), it
 does not
 seem to accept it but it would normally navigate me to the "New Layer"
 page.
 But it does not -- it just stays at that same page.   I look over to the
 tomcat console, and I dont see any errors or any output.   I click
 "Save"
 again in the Add Raster Data Set page again, but this time it reports
 that
 the data store already exists.   If I try to use that layer it does not
 work.

 BTW, I checked that the gdal native DLLs (I am using windows) are
 located in
 the JAVA_HOME/bin directory (they are also located in my
 JAVA_HOME/jre/bin
 dir).

 Putting that workaround (JreLeakPreventionListener) in the server.xml
 has no
 change in behavior.






 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Adding-CADRG-RPF-A-TOC-Raster-Data-Source-tp5032308.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

>>>
>>>
>>>
>>> --
>>> ==
>>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
>>> more information.
>>> ==
>>>
>>> Ing. Daniele Romagnoli
>>> Senior Software Engineer
>>>
>>> GeoSolutions S.A.S.
>>> Via Poggio alle Viti 1187
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313
>>> fax:  +39 0584 1660272
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> ---
>>
>>
>>
>>
>> --
>> Sean
>>
>
>
>
> --
> Sean

Re: [Geoserver-users] Adding CADRG RPF A.TOC Raster Data Source

2013-02-06 Thread Sean K
I guess I answered my own question...

I went ahead and tried the VS 2010 32 bit (or non 64 bit binaries) because
my JRE/JDK is 32 bit.   Replaced all the native gdal lib that were in
JAVA_HOME, and updated the gdal-data files pointed by my GDAL_DATA
environment variable.   Then geoserver was able to open the CADRG RPF
A.TOC.

I ensured that the server.xml did *not* have the MemoryLeakListener changed.

Looks great.

Thank you for pointing out the correct gdal native libraries.


On Wed, Feb 6, 2013 at 8:29 AM, Sean K  wrote:

> Thank you for your response.
>
> I had thought that I had the correct gdal native libraries because I had
> found a web page (now I cant find it) that said that the geoserver 2.2.4
> relies on gdal 1.7.3.   So I compared the native libraries in that with
> what I had already in my JAVA_HOME.
>
> If I follow your link above, it takes me to the GDAL link for ImageIO-Ext
> 1.1.6.
> From there, I follow the windows links and then from there, I see the
> various versions of Microsoft Studio builds for the 1.9.2.
>
> Although I am using a 64 bit WinXP system, I figure that I might need to
> download the 32 bit native DLL since my geoserver that is running is not
> specifically for a 64 bit system, and I am using a 32 bit JRE/JDK.   But if
> I look for 32 bit native DLLs, which one should I use?
>
> And I will download the GDAL data and put them where my environment
> variable is pointing.
>
>
>
>
> On Wed, Feb 6, 2013 at 3:40 AM, Daniele Romagnoli <
> daniele.romagn...@geo-solutions.it> wrote:
>
>> Hi,
>> which GDAL version are you using?
>> Note that 2.2.4 uses ImageIO-Ext 1.1.6 which internally uses GDAL 1.9.2.
>> More info are available here:
>> https://github.com/geosolutions-it/imageio-ext/wiki/Releases
>>
>> Please, let me know.
>> Daniele
>>
>>
>>
>>
>>
>> On Tue, Feb 5, 2013 at 10:50 PM, SK92129  wrote:
>>
>>> We were using tomcat 7.0.30 (or 7.0.23) with geoserver 2.1.1 and were
>>> working
>>> around the issue of loading CADRG RPF A.TOC by changing the server.xml
>>>  in
>>> the  JreLeakPreventionListener section -- as discussed in this blog.
>>>
>>>
>>> http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
>>>
>>> However, this blog article suggests that the issue has been resolved in
>>> later versions of geoserver.   So, I downloaded the geoserver 2.2.4 with
>>> the
>>> 2.2.4 gdal plugins (and copied the plugin jars into the
>>> geoserver/WEB-INF/lib)
>>>
>>> When I try to add the Raster Data Source specifically the RPFTOC, and
>>> specify the relative path to the CADRG/RPF/A.TOC (I copied the whole
>>> CADRG/RPF/ directory and all files to the geoserver/data/data ), it does
>>> not
>>> seem to accept it but it would normally navigate me to the "New Layer"
>>> page.
>>> But it does not -- it just stays at that same page.   I look over to the
>>> tomcat console, and I dont see any errors or any output.   I click "Save"
>>> again in the Add Raster Data Set page again, but this time it reports
>>> that
>>> the data store already exists.   If I try to use that layer it does not
>>> work.
>>>
>>> BTW, I checked that the gdal native DLLs (I am using windows) are
>>> located in
>>> the JAVA_HOME/bin directory (they are also located in my
>>> JAVA_HOME/jre/bin
>>> dir).
>>>
>>> Putting that workaround (JreLeakPreventionListener) in the server.xml
>>> has no
>>> change in behavior.
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://osgeo-org.1560.n6.nabble.com/Adding-CADRG-RPF-A-TOC-Raster-Data-Source-tp5032308.html
>>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>>
>> --
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
>> more information.
>> ==
>>
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:  +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> ---
>
>
>
>
> --
> Sean
>



-- 
Sean
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/

Re: [Geoserver-users] Where to start?

2013-02-06 Thread Martin Davis
BarnesSurface is not what you want - it does a lot of interpolation that
doesn't sound as if it's required.

One way to do this is to do the aggregation on the PostGIS side. There's
various ways to do this:

- You can create a grid of cells of the desired shape and dimensions (e.g.
either square or hexagonal), spatially join this to the source data points,
and then aggregate by cell.
- A slicker and faster way is to compute the cell index of each point
mathematically (which avoids the need for the spatial join).  For squares
this is fairly trivial, for hexagons it's harder. Then do the aggregation
as before.  The cell geometry needs to be computed as well, but only for
display purposes.

It would also be nice to have this functionality run dynamically as a
GeoServer process running as a Rendering Transformation.  This would be
similar to the existing PointStacker process, but would aggregate to cell
polygons and then return the cells as a feature collection.

On Wed, Feb 6, 2013 at 1:04 AM, Chris Haste  wrote:

> Hello list,
>
> ** **
>
> I really haven’t a clue where to start with this so any pointers would be
> gratefully received.
>
> ** **
>
> I have a global data set residing in a postgres/postgis database. The
> geographic spread of the data is random, some areas have a lot of points
> whereas others have quite sparse points. The data basically boils down to a
> location and an integer value between 0 and 4.
>
> ** **
>
> I would like to represent this data as a series of fixed sized cells
> (shape not important but hexagonal would look nice!). If no data point
> resides within a cell I’d like to colour the cell purple. If more than one
> data point resides within a cell I’d like to colour it based on only the
> highest number amongst those points within the cell.
>
> ** **
>
> I’d like the cells to completely cover (and probably be clipped by) by
> coastline data. The net effect I’m after would be the landmasses shown as a
> patchwork of coloured cells.
>
> ** **
>
> I have tried playing around with a gs:BarnesSurface but I don’t see able
> to get the results I’m after with this method. Any ideas? 
>
> ** **
>
> 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.***
>
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Adding CADRG RPF A.TOC Raster Data Source

2013-02-06 Thread Daniele Romagnoli
On Wed, Feb 6, 2013 at 5:29 PM, Sean K  wrote:

> Thank you for your response.
>
> I had thought that I had the correct gdal native libraries because I had
> found a web page (now I cant find it) that said that the geoserver 2.2.4
> relies on gdal 1.7.3.   So I compared the native libraries in that with
> what I had already in my JAVA_HOME.
>
> If I follow your link above, it takes me to the GDAL link for ImageIO-Ext
> 1.1.6.
> From there, I follow the windows links and then from there, I see the
> various versions of Microsoft Studio builds for the 1.9.2.
>
> Although I am using a 64 bit WinXP system, I figure that I might need to
> download the 32 bit native DLL since my geoserver that is running is not
> specifically for a 64 bit system, and I am using a 32 bit JRE/JDK.   But if
> I look for 32 bit native DLLs, which one should I use?
>

It depends on which CRT version do you have on your system.
I think that you can try with the "oldest" one. (MSVC2003).

Please, let me know if you have more issues on this topic. We usually did
tests on machine having same arch (32/64) for both OS and Java.

Cheers,
Daniele




>
> And I will download the GDAL data and put them where my environment
> variable is pointing.
>
>
>
>
> On Wed, Feb 6, 2013 at 3:40 AM, Daniele Romagnoli <
> daniele.romagn...@geo-solutions.it> wrote:
>
>> Hi,
>> which GDAL version are you using?
>> Note that 2.2.4 uses ImageIO-Ext 1.1.6 which internally uses GDAL 1.9.2.
>> More info are available here:
>> https://github.com/geosolutions-it/imageio-ext/wiki/Releases
>>
>> Please, let me know.
>> Daniele
>>
>>
>>
>>
>>
>> On Tue, Feb 5, 2013 at 10:50 PM, SK92129  wrote:
>>
>>> We were using tomcat 7.0.30 (or 7.0.23) with geoserver 2.1.1 and were
>>> working
>>> around the issue of loading CADRG RPF A.TOC by changing the server.xml
>>>  in
>>> the  JreLeakPreventionListener section -- as discussed in this blog.
>>>
>>>
>>> http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
>>>
>>> However, this blog article suggests that the issue has been resolved in
>>> later versions of geoserver.   So, I downloaded the geoserver 2.2.4 with
>>> the
>>> 2.2.4 gdal plugins (and copied the plugin jars into the
>>> geoserver/WEB-INF/lib)
>>>
>>> When I try to add the Raster Data Source specifically the RPFTOC, and
>>> specify the relative path to the CADRG/RPF/A.TOC (I copied the whole
>>> CADRG/RPF/ directory and all files to the geoserver/data/data ), it does
>>> not
>>> seem to accept it but it would normally navigate me to the "New Layer"
>>> page.
>>> But it does not -- it just stays at that same page.   I look over to the
>>> tomcat console, and I dont see any errors or any output.   I click "Save"
>>> again in the Add Raster Data Set page again, but this time it reports
>>> that
>>> the data store already exists.   If I try to use that layer it does not
>>> work.
>>>
>>> BTW, I checked that the gdal native DLLs (I am using windows) are
>>> located in
>>> the JAVA_HOME/bin directory (they are also located in my
>>> JAVA_HOME/jre/bin
>>> dir).
>>>
>>> Putting that workaround (JreLeakPreventionListener) in the server.xml
>>> has no
>>> change in behavior.
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://osgeo-org.1560.n6.nabble.com/Adding-CADRG-RPF-A-TOC-Raster-Data-Source-tp5032308.html
>>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>>
>> --
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
>> more information.
>> ==
>>
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:  +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> ---
>
>
>
>
> --
> Sean
>



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

Ing. Daniele Romagnoli
Senior Software Engineer

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more

Re: [Geoserver-users] when hovering over a feature, outline a feature and display a

2013-02-06 Thread Mark Volz
Hi,

Sorry please disregard my previous message, I sent it to the wrong list...  

Mark Volz
GIS Specialist


> -Original Message-
> From: geoserver-users-requ...@lists.sourceforge.net [mailto:geoserver-
> users-requ...@lists.sourceforge.net]
> Sent: Wednesday, February 06, 2013 10:30 AM
> To: geoserver-users@lists.sourceforge.net
> Subject: Geoserver-users Digest, Vol 81, Issue 16
> 
> Send Geoserver-users mailing list submissions to
>   geoserver-users@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://lists.sourceforge.net/lists/listinfo/geoserver-users
> or, via email, send a message with subject or body 'help' to
>   geoserver-users-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>   geoserver-users-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific than "Re:
> Contents of Geoserver-users digest..."
> 
> 
> Today's Topics:
> 
>1. Re: WMS getCapabilities (Andrea Aime)
>2. when hovering over a feature,   outline a feature and display a
>   popup? (Mark Volz)
>3. Re: WMS getCapabilities (David Winslow)
>4. Re: Adding CADRG RPF A.TOC Raster Data Source (Sean K)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 6 Feb 2013 14:52:53 +0100
> From: Andrea Aime 
> Subject: Re: [Geoserver-users] WMS getCapabilities
> To: Nunzio Testa 
> Cc: geoserver-users@lists.sourceforge.net
> Message-ID:
>ail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> On Wed, Feb 6, 2013 at 2:47 PM, Nunzio Testa
> wrote:
> 
> > ** **
> >
> > ** **
> >
> > Dear all, 
> >
> > i try to use WMS getCapabilities.
> >
> > It seems to be some errors in the definition in the example styles in
> > the example workspaces ?medford? ?usa ?. I receive different execption
> > related the different style.
> >
> 
> Those styles are not part of the official GeoServer installation.
> However, if memory serves me right they are part of the OpenGeo suite
> installation instead.
> The GeoServer community does not provide support for the OpenGeo suite,
> you should ask on their support forum instead
> 
> Cheers
> Andrea
> 
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
> 
> Ing. Andrea Aime
> @geowolf
> Technical Lead
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> -- next part --
> An HTML attachment was scrubbed...
> 
> --
> 
> Message: 2
> Date: Wed, 6 Feb 2013 14:16:34 +
> From: Mark Volz 
> Subject: [Geoserver-users] when hovering over a feature,  outline a
>   feature and display a popup?
> To: "geoserver-users@lists.sourceforge.net"
>   
> Message-ID:
>   <36ca828a36e29f45b7cf0a1766e5dfa31a6...@swmail01.r8nssis.lo
> cal>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi
> 
> I was wondering if the new geomoose has the capability to display a popup
> and outline a feature while a user is hovering over a feature.  Similar to
> http://www.google.org/flutrends/
> 
> 
> 
> 
> Mark Volz
> GIS Specialist
> 
> 
> 
> --
> 
> Message: 3
> Date: Wed, 6 Feb 2013 10:16:04 -0500
> From: David Winslow 
> Subject: Re: [Geoserver-users] WMS getCapabilities
> To: Andrea Aime 
> Cc: geoserver-users 
> Message-ID:
>il.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> For reference, that support forum is at https://getsatisfaction.com/opengeo
> 
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> 
> 
> On Wed, Feb 6, 2013 at 8:52 AM, Andrea Aime  solutions.it>wrote:
> 
> > On Wed, Feb 6, 2013 at 2:47 PM, Nunzio Testa
> wrote:
> >
> >> ** **
> >>
> >> ** **
> >>
> >> Dear all, 
> >>
> >> i try to use WMS getCapabilities.
> >>
> >> It seems to be some errors in the definition in the example styles in
> >> the example workspaces ?medford? ?usa ?. I receive different
> >> execption related the different style.
> >>
> >
> > Those styles are not part of the official GeoServer installation.
> > However, if memory serves me right they are part of the OpenGeo suite
> > installation instead.
> > The GeoServer community does not provide support for the OpenGeo
> > suite, you should ask on their support forum instead
> >
> > Cheers
> > Andrea
> >
> > --
> > ==
> > Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> > more information.
> > ==
> >
> > Ing. Andrea Aime
> > @geowolf
> > Technical Lead
> >
> > GeoSolutions S.A.S.
> > Via Poggio alle Viti 1187
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax: +39 0584 1660272
> > mob: +39  339 8844549
> >

Re: [Geoserver-users] Adding CADRG RPF A.TOC Raster Data Source

2013-02-06 Thread Sean K
Thank you for your response.

I had thought that I had the correct gdal native libraries because I had
found a web page (now I cant find it) that said that the geoserver 2.2.4
relies on gdal 1.7.3.   So I compared the native libraries in that with
what I had already in my JAVA_HOME.

If I follow your link above, it takes me to the GDAL link for ImageIO-Ext
1.1.6.
>From there, I follow the windows links and then from there, I see the
various versions of Microsoft Studio builds for the 1.9.2.

Although I am using a 64 bit WinXP system, I figure that I might need to
download the 32 bit native DLL since my geoserver that is running is not
specifically for a 64 bit system, and I am using a 32 bit JRE/JDK.   But if
I look for 32 bit native DLLs, which one should I use?

And I will download the GDAL data and put them where my environment
variable is pointing.




On Wed, Feb 6, 2013 at 3:40 AM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi,
> which GDAL version are you using?
> Note that 2.2.4 uses ImageIO-Ext 1.1.6 which internally uses GDAL 1.9.2.
> More info are available here:
> https://github.com/geosolutions-it/imageio-ext/wiki/Releases
>
> Please, let me know.
> Daniele
>
>
>
>
>
> On Tue, Feb 5, 2013 at 10:50 PM, SK92129  wrote:
>
>> We were using tomcat 7.0.30 (or 7.0.23) with geoserver 2.1.1 and were
>> working
>> around the issue of loading CADRG RPF A.TOC by changing the server.xml  in
>> the  JreLeakPreventionListener section -- as discussed in this blog.
>>
>>
>> http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
>>
>> However, this blog article suggests that the issue has been resolved in
>> later versions of geoserver.   So, I downloaded the geoserver 2.2.4 with
>> the
>> 2.2.4 gdal plugins (and copied the plugin jars into the
>> geoserver/WEB-INF/lib)
>>
>> When I try to add the Raster Data Source specifically the RPFTOC, and
>> specify the relative path to the CADRG/RPF/A.TOC (I copied the whole
>> CADRG/RPF/ directory and all files to the geoserver/data/data ), it does
>> not
>> seem to accept it but it would normally navigate me to the "New Layer"
>> page.
>> But it does not -- it just stays at that same page.   I look over to the
>> tomcat console, and I dont see any errors or any output.   I click "Save"
>> again in the Add Raster Data Set page again, but this time it reports that
>> the data store already exists.   If I try to use that layer it does not
>> work.
>>
>> BTW, I checked that the gdal native DLLs (I am using windows) are located
>> in
>> the JAVA_HOME/bin directory (they are also located in my JAVA_HOME/jre/bin
>> dir).
>>
>> Putting that workaround (JreLeakPreventionListener) in the server.xml has
>> no
>> change in behavior.
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.n6.nabble.com/Adding-CADRG-RPF-A-TOC-Raster-Data-Source-tp5032308.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> --
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Daniele Romagnoli
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---




-- 
Sean
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS getCapabilities

2013-02-06 Thread David Winslow
For reference, that support forum is at https://getsatisfaction.com/opengeo

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


On Wed, Feb 6, 2013 at 8:52 AM, Andrea Aime wrote:

> On Wed, Feb 6, 2013 at 2:47 PM, Nunzio Testa wrote:
>
>> ** **
>>
>> ** **
>>
>> Dear all, 
>>
>> i try to use WMS getCapabilities.
>>
>> It seems to be some errors in the definition in the example styles in the
>> example workspaces “medford” “usa ”. I receive different execption related
>> the different style.
>>
>
> Those styles are not part of the official GeoServer installation.
> However, if memory serves me right they are part of the OpenGeo suite
> installation
> instead.
> The GeoServer community does not provide support for the OpenGeo suite,
> you should ask on their support forum instead
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] when hovering over a feature, outline a feature and display a popup?

2013-02-06 Thread Mark Volz
Hi

I was wondering if the new geomoose has the capability to display a popup and 
outline a feature while a user is hovering over a feature.  Similar to 
http://www.google.org/flutrends/




Mark Volz
GIS Specialist

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS getCapabilities

2013-02-06 Thread Andrea Aime
On Wed, Feb 6, 2013 at 2:47 PM, Nunzio Testa wrote:

> ** **
>
> ** **
>
> Dear all, 
>
> i try to use WMS getCapabilities.
>
> It seems to be some errors in the definition in the example styles in the
> example workspaces “medford” “usa ”. I receive different execption related
> the different style.
>

Those styles are not part of the official GeoServer installation.
However, if memory serves me right they are part of the OpenGeo suite
installation
instead.
The GeoServer community does not provide support for the OpenGeo suite,
you should ask on their support forum instead

Cheers
Andrea

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

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WMS getCapabilities

2013-02-06 Thread Nunzio Testa
 
 
Dear all, 
i try to use WMS getCapabilities.
It seems to be some errors in the definition in the example styles in the
example workspaces "medford" "usa ". I receive different execption related
the different style.
 
I something worng in the configuration or  are there a incorrect styles
definition? 
 
 
Thank's
 
 
Nunzio   
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Adding CADRG RPF A.TOC Raster Data Source

2013-02-06 Thread Daniele Romagnoli
Hi,
which GDAL version are you using?
Note that 2.2.4 uses ImageIO-Ext 1.1.6 which internally uses GDAL 1.9.2.
More info are available here:
https://github.com/geosolutions-it/imageio-ext/wiki/Releases

Please, let me know.
Daniele




On Tue, Feb 5, 2013 at 10:50 PM, SK92129  wrote:

> We were using tomcat 7.0.30 (or 7.0.23) with geoserver 2.1.1 and were
> working
> around the issue of loading CADRG RPF A.TOC by changing the server.xml  in
> the  JreLeakPreventionListener section -- as discussed in this blog.
>
>
> http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
>
> However, this blog article suggests that the issue has been resolved in
> later versions of geoserver.   So, I downloaded the geoserver 2.2.4 with
> the
> 2.2.4 gdal plugins (and copied the plugin jars into the
> geoserver/WEB-INF/lib)
>
> When I try to add the Raster Data Source specifically the RPFTOC, and
> specify the relative path to the CADRG/RPF/A.TOC (I copied the whole
> CADRG/RPF/ directory and all files to the geoserver/data/data ), it does
> not
> seem to accept it but it would normally navigate me to the "New Layer"
> page.
> But it does not -- it just stays at that same page.   I look over to the
> tomcat console, and I dont see any errors or any output.   I click "Save"
> again in the Add Raster Data Set page again, but this time it reports that
> the data store already exists.   If I try to use that layer it does not
> work.
>
> BTW, I checked that the gdal native DLLs (I am using windows) are located
> in
> the JAVA_HOME/bin directory (they are also located in my JAVA_HOME/jre/bin
> dir).
>
> Putting that workaround (JreLeakPreventionListener) in the server.xml has
> no
> change in behavior.
>
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Adding-CADRG-RPF-A-TOC-Raster-Data-Source-tp5032308.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



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

Ing. Daniele Romagnoli
Senior Software Engineer

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

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

---
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problem with geoserver-2.2.4-charts-plugin.zip

2013-02-06 Thread ZvezdDochka
hi to everybody !!!
I'm find out that the geoserver-2.2.4-charts-plugin.zip is not correct.
(http://geoserver.org/display/GEOS/GeoServer+2.2.4)
I think the problem is in jfreechart-1.0.1.jar, because when i'm replaced it
to jfreechart-1.0.10.jar
(from geoserver-2.2.2-charts-plugin.zip) it works. Otherwise error occured:

2013-02-06 12:24:13,633 WARN [geotools.rendering] - Assuming rendering
buffer = 0, but estimation is not accurate, you may want to set a buffer
manually
2013-02-06 12:24:13,659 ERROR [geotools.rendering] -
org/jfree/chart/plot/dial/DialLayer
java.lang.NoClassDefFoundError: org/jfree/chart/plot/dial/DialLayer
at
org.geotools.renderer.chart.ChartGraphicFactory.getIcon(ChartGraphicFactory.java:80)
at
org.geotools.renderer.style.SLDStyleFactory.getIcon(SLDStyleFactory.java:1229)
at
org.geotools.renderer.style.SLDStyleFactory.getGraphicStyle(SLDStyleFactory.java:1145)
at
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:611)
at
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:499)
at
org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFactory.java:355)
at
org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java:302)
at
org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:2695)
at
org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:2598)
at
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2454)
at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2015)
at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:828)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:491)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:255)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:127)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:466)
at org.geoserver.wms.GetMap.run(GetMap.java:201)
at org.geoserver.wms.GetMap.run(GetMap.java:111)
at
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:61)
at
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:35)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:69)
at
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:50)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy28.getMap(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
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:923)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 

Re: [Geoserver-users] a table in postgis database with data of users and roles for geoserver authentication

2013-02-06 Thread Rodrigo Antonialli
Hi,

Maybe this can help you:

http://docs.geoserver.org/stable/en/user/security/usergrouprole/usergroupservices.html#jdbc-user-group-service

Regards,

Rodrigo C. Antonialli
==
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 8136-2347
  rcantonia...@gmail.com
  Skype: rc_antonialli


On Wed, Feb 6, 2013 at 4:33 AM, indian.ganesh  wrote:

> hello everyone,
>
>   here i want to know that is it possible to map a postgis
> table containing the users and roles for authentication to geoserver.
>
>   the scenario is like that
>
>
> 1.  i make a authentication request with username and password to geoserver
> 2. geoserver will check in postgis database for the user information
> 3. and will authenticate the user depending on the user information
> availablity in geoserver as per user's role mentioned in the geoserver
>
>
> any ideas will be appreciated
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Can't stop or uninstall GeoServer 2.1.3

2013-02-06 Thread David Slade
I've managed to do something odd to my installation of GeoServer (2.1.3, 
installed some time in the last twelve months).

I appear to have created two installations and have lost control of one 
of them - I've just uninstalled the one with the intention of 
re-installing an newer version. But one of the installations is still 
present. I can't find a way to stop it and therefore can't simply delete 
the files.

Can someone tell me the name of the processes to look for on the server 
to force a shut-down? I can then start again!

Regards,
Dave

-- 
David Slade
Senior IT and Records Officer,
South East Wales Biodiversity Records Centre,
13 St Andrews Crescent,
Cardiff
CF10 3DB
Tel: 029 2064 1110
Fax: 029 2038 7354
Email: david.sl...@sewbrec.org.uk
www.sewbrec.org.uk
Find us on Facebook: http://www.facebook.com/SEWBReC
Follow us on Twitter: http://twitter.com/SEWBReC


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Where to start?

2013-02-06 Thread Chris Haste
Hello list,

I really haven't a clue where to start with this so any pointers would be 
gratefully received.

I have a global data set residing in a postgres/postgis database. The 
geographic spread of the data is random, some areas have a lot of points 
whereas others have quite sparse points. The data basically boils down to a 
location and an integer value between 0 and 4.

I would like to represent this data as a series of fixed sized cells (shape not 
important but hexagonal would look nice!). If no data point resides within a 
cell I'd like to colour the cell purple. If more than one data point resides 
within a cell I'd like to colour it based on only the highest number amongst 
those points within the cell.

I'd like the cells to completely cover (and probably be clipped by) by 
coastline data. The net effect I'm after would be the landmasses shown as a 
patchwork of coloured cells.

I have tried playing around with a gs:BarnesSurface but I don't see able to get 
the results I'm after with this method. Any ideas?

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.***

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS Performance Issues with App-schema Module

2013-02-06 Thread Rini.Angreani
I actually thought about it. We should do it now that more people (should) use 
joining.

-Original Message-
From: Caradoc-Davies, Ben (CESRE, Kensington) 
Sent: Wednesday, 6 February 2013 3:56 PM
To: Andrea Aime; Angreani, Rini (CESRE, Kensington)
Cc: Gavin; Geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] WFS Performance Issues with App-schema Module

On 06/02/13 15:09, Andrea Aime wrote:
> On Wed, Feb 6, 2013 at 4:07 AM, Ben Caradoc-Davies 
> mailto:ben.caradoc-dav...@csiro.au>> wrote:
> For backwards compatibility, app-schema joining support is disabled by
> default.
> wouldn't it be better to enable it by default in some future version, 
> warning people that the defaults changed, and that they can turn it 
> off if they wish to?

Joining has now been in use long enough that this should be given serious 
consideration.

Rini, do you think joining should be enabled by default?

Kind regards,

--
Ben Caradoc-Davies  Software Engineer CSIRO Earth 
Science and Resource Engineering Australian Resources Research Centre
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users