Re: [Geoserver-users] Point as Graphic

2013-12-16 Thread cmaul
Hi,

if you are using Apache anyway you might as well use it to keep your
symbols.
In my case the 'geoserver_symbols' directory under the htdocs dir.
The http link has the added advantage that you can check the display of your
symbol simply with a browser. If it displays there, it will in Geoserver.



  

http://localhost/geoserver_symbols/ESTA/marker_BASIC.png*"/>
image/png

  



Cheers

Christian




-


Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Point-as-Graphic-tp5093328p5094554.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] NullPointerException upon starting GeoServer 2.4.2 via Tomcat 7

2013-12-16 Thread carlo cancellieri
Menashè,
 do you have any other application deployed in the same tomcat instance?

Take also a look here:
http://osgeo-org.1560.x6.nabble.com/Problem-parsing-GML-with-geotools-in-Jdeveloper-JDK-1-5-td4327418.html

Cheers,
Carlo


2013/12/16 carlo cancellieri 

> Menashè,
>  this may not be related anyhow, do you have the chance to use the
> standard Oracle JVM?
> Cheers,
> Carlo
>
>
> 2013/12/16 menashe.eliezer 
>
> Hello,
>> "FAIL - Application at context path /geoserver could not be started"
>> and the attached Tomcat log starts with:
>> java.lang.NullPointerException
>> at
>>
>> org.eclipse.xsd.impl.XSDSchemaImpl.reconcileAttributes(XSDSchemaImpl.java:2065)
>>
>> catalina-16-23.out
>> 
>>
>> The war file was downloaded correctly and extracted by Tomcat. The file
>> permissions are correct.
>> Other applications work well under the same Tomcat 7.
>>
>> Debian ("Jessie")
>> Tomcat 7.0.42
>>
>> java version "1.7.0_21"
>> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5)
>> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
>>
>>
>> Any ideas?
>>
>>
>> Thanks for your attention,
>> Menashè
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/NullPointerException-upon-starting-GeoServer-2-4-2-via-Tomcat-7-tp5094496.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> *== *
> *GeoSolutions will be closed for Christmas Holidays from 23/12/2013 to
> 06/01/2014*
> *==*
>
> Dott. Carlo Cancellieri
> @cancellieric
> 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
>
> ---
>



-- 
*== *
*GeoSolutions will be closed for Christmas Holidays from 23/12/2013 to
06/01/2014*
*==*

Dott. Carlo Cancellieri
@cancellieric
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

---
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] NullPointerException upon starting GeoServer 2.4.2 via Tomcat 7

2013-12-16 Thread carlo cancellieri
Menashè,
 this may not be related anyhow, do you have the chance to use the standard
Oracle JVM?
Cheers,
Carlo


2013/12/16 menashe.eliezer 

> Hello,
> "FAIL - Application at context path /geoserver could not be started"
> and the attached Tomcat log starts with:
> java.lang.NullPointerException
> at
>
> org.eclipse.xsd.impl.XSDSchemaImpl.reconcileAttributes(XSDSchemaImpl.java:2065)
>
> catalina-16-23.out
> 
>
> The war file was downloaded correctly and extracted by Tomcat. The file
> permissions are correct.
> Other applications work well under the same Tomcat 7.
>
> Debian ("Jessie")
> Tomcat 7.0.42
>
> java version "1.7.0_21"
> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
>
>
> Any ideas?
>
>
> Thanks for your attention,
> Menashè
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/NullPointerException-upon-starting-GeoServer-2-4-2-via-Tomcat-7-tp5094496.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
*== *
*GeoSolutions will be closed for Christmas Holidays from 23/12/2013 to
06/01/2014*
*==*

Dott. Carlo Cancellieri
@cancellieric
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

---
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] NullPointerException upon starting GeoServer 2.4.2 via Tomcat 7

2013-12-16 Thread menashe.eliezer
Hello,
"FAIL - Application at context path /geoserver could not be started"
and the attached Tomcat log starts with:
java.lang.NullPointerException
at
org.eclipse.xsd.impl.XSDSchemaImpl.reconcileAttributes(XSDSchemaImpl.java:2065)

catalina-16-23.out
  

The war file was downloaded correctly and extracted by Tomcat. The file
permissions are correct.
Other applications work well under the same Tomcat 7.

Debian ("Jessie")
Tomcat 7.0.42

java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-5)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)


Any ideas?


Thanks for your attention,
Menashè



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/NullPointerException-upon-starting-GeoServer-2-4-2-via-Tomcat-7-tp5094496.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OWS exception

2013-12-16 Thread SDH
Thanks a lot Christian. That worked great !!...  







--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OWS-exception-tp5094157p5094466.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to print legend in Geoserver Print plugin?

2013-12-16 Thread Arunava Dey
Hello,

I have tried with your sample file, but all in vain. I was wondering, how
can I print only a single icon of any layer? I have passed the following
json spec, hoping it will print only a single icon. Notice I have
mentioned *ICON=geomorphology%2C1.
*However it still prints the whole icon set, and consequently it is too
small to read.

http://localhost:8080/geoserver/pdf/print.pdf?spec=
{
"units": "degrees",
"srs": "EPSG:4326",
"layout": "A4 Landscape",
"dpi": 150,
"mapTitle": "MP GeoPortal Map",
"comment": "This map is printed using MP GeoPortal.",
"resourcesUrl": "http://localhost/mpgeoportal/img";,
"layers": [
{
"baseURL": "http://localhost:8080/geoserver/mpgeoportal/wms
",
"opacity": 1,
"singleTile": true,
"type": "WMS",
"layers": ["mpgeoportal:sagar_geomorphology"],
"format": "image/png",
"styles": [""],
"customParams": {
"TRANSPARENT": true
},
"legend": true
}
],
"pages": [{
"center": [
78.800618943104,
23.871591352951
],
"scale": 10,
"rotation": 0
}
],
"legends": [
{
"name": "Geomorphology",
"classes": [
{
"name" : "Bench",
"iconBeforeName": true,
"icon": "http://
/localhost:8080/geoserver/mpgeoportal/wms?version=1.1.1&transpaparent=true&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&ICON=geomorphology%2C1&FORMAT=image%2Fpng&MODE=legendicon"
}
]
}
]
}

Thanking you,

Arunava Dey


On Mon, Dec 16, 2013 at 4:59 PM, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi Arunava
> The attached config.yaml works well for me and contains the legend element.
> Note that I don't use the GeoServer plugin but instead use the stand alone
> MapFish Print servelet - it's considerably newer than the version used by
> the plugin so you may want to try that if you can't resolve the issue.
>
> Regards,
> Jonathan
>
>
> On 16 December 2013 05:44, Arunava Dey  wrote:
>
>> Hello,
>> I have already tried with iconMaxHeight and/or iconMaxWidth 0. But still
>> getting the same result. This is my config file:
>>
>> lastPage:
>>   pageSize: A4
>>   landscape: true
>>   rotation: true
>>   items:
>> - !columns
>>   config:
>> borderWidth: 1
>> cells:
>>   - borderColor: black
>> padding: 267
>>   absoluteX: 20
>>   absoluteY: 566
>>   width: 800
>>   height: 500
>>   items:
>> - !text
>>   text: ''
>> #Legend
>> - !columns
>>   condition: legends
>>   absoluteX: 24
>>   absoluteY: 560
>>   width: 250
>>   config:
>> borderWidth: 1
>> cells:
>>   - borderWidth: 1
>> borderColor: #55
>> padding: 5
>>   items:
>> - !legends
>>   iconMaxWidth: 0
>>   iconMaxHeight: 0
>>   maxWidth: 250
>>   layerFont: Helvetica
>>   layerFontSize: 8
>>   classSpace: 2
>>   classIndentation: 5
>>   classFont: Helvetica
>>   classFontSize: 8
>>   backgroundColor: white
>>   inline:false
>>
>> Thanking you,
>> Arunava Dey
>>
>>
>> On Fri, Dec 13, 2013 at 7:40 PM, Mauro Bartolomeoli <
>> mauro.bartolome...@geo-solutions.it> wrote:
>>
>>> Hi Arunava,
>>> try to change the iconMaxWidth and/or iconMaxHeight to 0 (zero) in your
>>> config.yaml, in the legend block.
>>>
>>> Mauro
>>>
>>>
>>>
>>> 2013/12/13 Arunava Dey 
>>>
 Hello,

 I know this weird... Atlast got it to print the layer legend, but its
 too small to read. I am not getting what is going wrong. This what I am
 using:

>>>
>>>
>>>
>>>

 {
 "units": "degrees",
 "srs": "EPSG:4326",
 "layout": "A4 Landscape",
 "dpi": 150,
 "mapTitle": "MP GeoPortal Map",
 "comment": "This map is printed using MP GeoPortal.",
 "resourcesUrl": "http://localhost/mpgeoportal/img";,
 "layers": [
 {
 "baseURL": "http://localhost:8080/geoserver/mpgeoportal/wms
 ",
 "opacity": 1,
 "singleTile": true,
 "type": "WMS",
 "layers": ["mpgeoportal:sagar_geomorphology"],
 "format": "image/png",
 "styles": [""],
 "customP

Re: [Geoserver-users] Tips on serving Orthophotos as ImageMosaic

2013-12-16 Thread Jonathan Moules
Hi Ammar,
  No problem.

1) 20 Separate GeoTIFFs that you then mosaic together with ImageMosaic is
the preferred way to do things. A single GeoTiff of 30GB would probably be
too large. Be sure to use the same GDAL creation code for each of them or
ImageMosaic won't necessarily be able to glue them together.

2) I believe so, though others on this list will actually know how to. I've
heard something about Jmeter - https://jmeter.apache.org/ but haven't used
it myself yet.

Regards,

Jonathan

On 16 December 2013 12:36, Ammar  wrote:

> Jonathan,
>
> Thank you very much for your reply. I have tested with JPEG compression,
> as you have suggested, and the output that I got was very small compared to
> LZW and DEFLATE.
>
> I have a couple of questions, if you don't mind:
>
> 1. I am thinking of creating 20 GeoTIFF files (each file is the result of
> merging 500 GeoTiffs) to cover the entire area. My idea is to have 20
> Images of 1.5 GB each better than having one huge image of 30 GB and then
> having Image Mosaic Pluging to create a mosaic of those 20 images. What do
> you think of this approach? Any ideas or recommendations?
>
> 2. Is there anyway to do benchmarking on GeoServer to compare between WMS
> as one huge file compares to WMS as Mosaic of 20 files?
>
> Thank you very much
>
> Best regards,
> Ammar
>
>
>   --
>  *From:* Jonathan Moules 
> *To:* Ammar 
> *Cc:* "geoserver-users@lists.sourceforge.net" <
> geoserver-users@lists.sourceforge.net>
> *Sent:* Friday, December 6, 2013 2:34 PM
>
> *Subject:* Re: [Geoserver-users] Tips on serving Orthophotos as
> ImageMosaic
>
> Hi Ammar,
>   I've done similar recently so hopefully can help. I've got about 3,500
> tiles which all form a single GeoTIFF. I used Image Mosiac because the
> resulting file will be too large, but I doubt that would be the case with
> you as your outputs are significantly less than 10GB. You should be able to
> use the normal GeoTIFF driver .
>
> Anyway, I create the following batchfile (Windows) which does everything
> in a single step:
>
> set THIS_DIR=%1
>
> cd %THIS_DIR%
> dir /b /s *.tif > tiff_list.txt
> REM Builds a VRT. A VRT is basically just a XML file saying what all the
> source tif files are.
> gdalbuildvrt -srcnodata 255 -vrtnodata 255 -a_srs EPSG:27700
> -input_file_list tiff_list.txt %THIS_DIR%.vrt
>
>
>
> REM This is what actually does the mosaicing.
> gdal_translate -of GTiff -co TILED=YES -co BIGTIFF=YES -co COMPRESS=JPEG
> -co JPEG_QUALITY=80 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co
> PHOTOMETRIC=YCBCR %THIS_DIR%.vrt %THIS_DIR%.tif
> Echo "Created"
>
>
>
> REM Now creating pyramids.
> gdaladdo %THIS_DIR%.tif -r average --config COMPRESS_OVERVIEW JPEG
> --config JPEG_QUALITY_OVERVIEW 60 --config INTERLEAVE_OVERVIEW PIXEL
> --config PHOTOMETRIC_OVERVIEW YCBCR 2 4 8 16 32 64 128 256 512
> Echo "Tiled"
> cd ..
>
>
> To run the batch file:
>
> run_me.bat *SP02*
>
>
> The SP02 is the name of the directory that has all the TIFFs that need to
> be mosaiced together. The result is super-small (highly compressed JPEG,
> but no real loss of quality), and optimised for GeoServer.
> The output is a file in the directory called "SP02.tif".
> You'll want to take off a few levels of pyramids, but this will probably
> work as-is otherwise.
> Use this equation to figure out how many levels of pyramids you need:
>
> http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html#how-many-pyramids-are-needed
>
> ===
>
> As you need to do this 100 times, I'd suggest splitting up your TIFF's
> into different directories (one directory for each output tiff you want),
> then running a batch file which in turn runs the above batch file 100 times.
>
> That batch file can simply be:
>
> FOR /D %%G in ("S*") DO call run_me.bat %%G
>
>
> Although running 100 at once may kill your computer. :-)
>
>
> 
> And on the issue of resampling - if it's orthophotography I stick with
> average; it doesn't make much difference because of the nature of the
> product. It's more important when doing thematic maps.
>
> Regards,
> Jonathan
>
> On 6 December 2013 10:36, Ammar  wrote:
>
>  Hello list,
>
> I have 20,000 of TIFF+TFW files that I want to serve in GeoServer 2.4.1 as
> WMS. I have followed the GeoServer on 
> Steroidsnotes
>  and I did the following:
>
> 1. Added projection using gdal_translate
> 2. Added inner-tiles (512 x 512) using gdal_translate
> 3. Added overviews (2 4 8 16 32) using gdal_addo
> 4. Compressed the dataset with LZW method using gdal_translate
> 5. Created one big GeoTIFF file using gdal_merge.py
>
> I have tested the above on a small set of 150 TIFFs and the result was one
> big GeoTIFF of 10.8 GB size. I have 10,000 TIFFs and this way I will end up
> with roughly 100 GeoTIFF files having a size of 10GB each which is far more
> than the original size 

Re: [Geoserver-users] Layers setting "do not survive" to tomcat restart

2013-12-16 Thread ramaralo
I had the same problem.

In my case I wasn't using the default data dir, and what happened was that
the data directory was updated with incomplete data staying in an
inconsistent state.

When tomcat starts, and geoserver starts, it (geoserver) looks at the
gwc-layers directory and if it finds any layer file (xml) that is not
mentioned elsewhere on other files, it removes it.

This behavior can be seen in geoserver.log if you pay attention to it when
tomcat restarts.

I know this thread is kind of old, but hope this can help anyone in the
future.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Layers-setting-do-not-survive-to-tomcat-restart-tp4554011p5094020.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] CQL with matchCase = 'false'

2013-12-16 Thread Tobia Di Pisa
Hi Alexander,

I think that there is no something like the 'matchCase' in CQL.
I dont know your case but maybe you can use the 'strToLowerCase()'
function for strings. I hope that this can help you.

Best Regards


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

Dott. Ing. Tobia Di Pisa
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

---


2013/12/11 Alexandre Djioev 

>  Hello everyone,
>
>  In WFS query I can write something like:
>
>
>
>
> *
> statensw
>  *
>
> How do I say exactly the same in CQL? State='nsw' is not the same, we are
> missing matchCase=”false” and ILIKE is not a solution eather – it will
> behave differently with floating numbers.
>
>  Thanks Alex
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Doubts about caching and meta-tilling

2013-12-16 Thread Tobia Di Pisa
Hi Pascal,

GeoServer forwards the WMS requests to GeoWebCache only if 'tiled=true'.
Then GeoWebCache creates tiles in conformance to the settings provided in
the 'Tile Caching'
section of the 'Edit Layer' page. Here you can set also the metatiling
('Metatiling factor')
and the Gridset to use for your layer's tile cache. So each WMS request
must to respect these settings
(tiled=true, bbox, srs, tile size and so on) to ensure that the cache is
created.
If you need to use a tile size different from 256*256 px, I think you have
to configure a new
Gridset for that.

Regards

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

Dott. Ing. Tobia Di Pisa
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

---


2013/12/13 pascal 

> Hi,
>
> I did some tests and this is my conclusions:
> If I put tiled = true in OpenLayers script and set direct integration with
> GeoServer WMS and without create a new grid:
>  - with parameters by default (eg 4326 or 3857 and tile sixe of 256px, it
> create a cache and I can confirm it in the cached layers list).
>  -- If I change the parameters (projection and / or tileSize), GeoWebCache
> doesn't catch my layers because in the cached layers list, the layer size
> is
> = 0,0k.
>
> Pascal.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Doubts-about-caching-and-meta-tilling-tp5093971p5094161.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver query causing Oracle Contention issue

2013-12-16 Thread Mark Hammond
Hi folk,

 

I'm looking for some advice as the problem I am about to describe is not
easily repeatable in a test environment.

We're still investigating the specifics, but believe our web application
fell victim to an overactive web crawler or some other event that caused a
burst of very high activity.

 

The net result was our Oracle DB server which provides spatial data storage
for our Geoserver install was overcome. Our database people had the
following to say about the matter:

 

"The locking was not locking on table data but rather oracle's own locks
(latches) oracle uses chained lists to keep track of who has what and when
you request something it has to put a latch on it  - these are very simple
locks on resources and there are no queues in place, so if you need to get
something it will try and get the latch and if it fails then it will try
again, and again and again, until it gets it, hence the CPU's are spinning.

 

This form of 'contention' can be very common and can be caused by high
logical IO (where you are potentially requesting a lot of data from the
buffer cache).  Which is why the saying reduce logical IO and that will take
care of the physical IO comes from! Poorly tuned SQL can cause this problem.
"

 

 

Tthere's nothing (as far as I know - correct me if I am wrong) that I can do
personally to tune the SQL requests made by GeoServer to published Oracle
tables. 

 

Is there any general advice anyone can give to avoid such problems in the
future?

 

Mark Hammond
Senior Web Software Developer
British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU, UK

 

 

 

Faulting SQL

SELECT CATEGORY, BOUNDARY AS BOUNDARY

  FROM BTOWATCH.BT_MAP_10KM_CNT_SP_VIEW

 WHERE (SPECIES_CODE = :1

AND ((   SDO_FILTER (BOUNDARY,

 :2,

 'mask=anyinteract querytype=WINDOW') =

'TRUE'

  OR SDO_FILTER (BOUNDARY,

 :3,

 'mask=anyinteract querytype=WINDOW') =

'TRUE')

 AND (   CATEGORY = :4

  OR CATEGORY = :5

  OR CATEGORY = :6

  OR CATEGORY = :7

  OR CATEGORY = :8

  OR CATEGORY = :9)));  

 

 

 

 /* Formatted on 13/12/2013 17:33:49 (QP5 v5.256.13226.35538) */

SELECT diminfo

  FROM ALL_SDO_GEOM_METADATA

 WHERE OWNER = :1 AND TABLE_NAME = :2 AND COLUMN_NAME = :3;

 

.  Build Information 

*   Version 2.1-SNAPSHOT 
*   Subversion Revision 16029 
*   Build Date 15-Jun-2011 05:07 
*   GeoTools Version 2.7-SNAPSHOT (rev 37435) 

 

 

 


Data directory

/usr/local/geoserver



Locks

0


Connections

6



Memory Usage

4 GB


JVM Version

Oracle Corporation: 1.7.0_25 (Java HotSpot(TM) 64-Bit Server VM)



Available Fonts

GeoServer can access 144 different fonts. 



Native JAI

false



Native JAI ImageIO

false



JAI Maximum Memory

4 GB



JAI Memory Usage

0 KB


JAI Memory Threshold

75.0



Number of JAI Tile Threads

60



JAI Tile Thread Priority

5



ThreadPoolExecutor Core Pool Size

5



ThreadPoolExecutor Max Pool Size

10



ThreadPoolExecutor Keep Alive Time (ms)

3



Update Sequence

669



 

 

Oracle 11g Release 2 running on Centos 6

 

 

 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver print legend issue

2013-12-16 Thread Arunava Dey
Hello,

I am trying to print a map with legends. The map print is OK, but the
legend in the output pdf is too small.
The following is my spc file:
 {
"units": "degrees",
"srs": "EPSG:4326",
"layout": "A4 Landscape",
"dpi": 150,
"mapTitle": "MP GeoPortal Map",
"comment": "This map is printed using MP GeoPortal.",
"resourcesUrl": "http://localhost/mpgeoportal/img";,
"layers": [
{
"baseURL": "http://localhost:8080/geoserver/mpgeoportal/wms
",
"opacity": 1,
"singleTile": true,
"type": "WMS",
"layers": ["mpgeoportal:sagar_geomorphology"],
"format": "image/png",
"styles": [""],
"customParams": {
"TRANSPARENT": true
}
}
],
"pages": [{
"center": [
78.800618943104,
23.871591352951
],
"scale": 10,
"rotation": 0
}
],
"legends": [
{
"name": "Geomorphology",
"classes": [
{
"name" : "",
"iconBeforeName": true,
"icon":
"http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fmpgeoportal%2Fwms%3Fversion%3D1.3.0%26transpaparent%3Dtrue%26REQUEST%3DGetLegendGraphic%26EXCEPTIONS%3Dapplication%2Fvnd.ogc.se_xml%26ICON%3Dgeomorphology%26FORMAT%3Dimage%2Fpng%26MODE%3Dlegendicon%26layer%3Dmpgeoportal%3Asagar_geomorphology"
}
]
}
]
}

And the corresponding config file is as follows:
lastPage:
  pageSize: A4
  landscape: true
  rotation: true
  items:
- !columns
  config:
borderWidth: 1
cells:
  - borderColor: black
padding: 267
  absoluteX: 20
  absoluteY: 566
  width: 800
  height: 500
  items:
- !text
  text: ''
#Legend
- !columns
  condition: legends
  absoluteX: 24
  absoluteY: 560
  width: 250
  config:
borderWidth: 1
cells:
  - borderWidth: 1
borderColor: #55
padding: 5
  items:
- !legends
  iconMaxWidth: 0
  iconMaxHeight: 0
  maxWidth: 250
  layerFont: Helvetica
  layerFontSize: 8
  classSpace: 2
  classIndentation: 5
  classFont: Helvetica
  classFontSize: 80
  backgroundColor: white
  inline:false

The output I am getting is attached herewith. Can anybody point me what is
going wrong here.

Thanking you,

Arunava Dey


pdf.pdf
Description: Adobe PDF document
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [MapFish-Users] printing module for geoserver

2013-12-16 Thread Hartmuth Schachinger

  
  
Am 10.12.2013 15:06, schrieb Mauro
  Bartolomeoli:


  Hi Hartmuth,
as far as I know you can simply put the customParams
  property in the layer spec with your env value, as in the
  following example:


...
layers:[
...
{
   "baseURL":"http://localhost:8080/geoserver/wms?",
   "opacity":1,
   "singleTile":false,
   "type":"WMS",
   "layers":[
      "topp:states"
   ],

     "format":"image/jpeg",
   "styles":[
      "population"
   ],
   "customParams":{
      "TRANSPARENT":false,
      "TILED":true,
      "ENV":"myenv:myvalue"
   }
} 
...
]
...


Regards,
Mauro Bartolomeoli
  

2013/12/10 Hartmuth Schachinger 
  
Hello!

I am useing the printing module in geoserver.
I use some styles which use variable substitution. That
works fine for kml and wms output. Till now I don't know
how to pass the env paramter to the printing module. The
documentation says, there are custom parameters for wms,
but I did not find an example.

Please give me a hint, how to pass custom parameters to
the wms service.

Thanks in advance
___
Users mailing list
us...@mapfish.org
http://lists.mapfish.org/mailman/listinfo/users
  





-- 

  
==
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
  
  
  ---

  

  

Thank you!

Now it works. I missed the {} around my params.


  


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users