Re: [Geoserver-users] Error when using cog extension with libjpeg turbo extension

2024-05-06 Thread Gabriel Roldan
Maybe try libjpeg-turbo:2.1.2 which is the one installed in the official
Docker image?

https://github.com/camptocamp/docker-geoserver/blob/master/Dockerfile#L23C1-L24C1


*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Tue, May 7, 2024 at 1:22 AM Alexandre Gacon 
wrote:

> Hello,
>
> My GeoServer version is the 2.25.0 version, with a 3.0.2 libjpeg-turbo
> version.
>
> I have COG files which are displayed normally with the libjpegturbo
> extension disabled but which bring errors in my WMS requests when I enable
> the extension.
>
> The log file is attached to this mail.
>
> And the gdal info output for my test file is:
>
> Driver: GTiff/GeoTIFF Files:
> /home/agacon/qdn/argocd-gs-quai-des-notaires-apps/PLANIGN08_0440_6950_L93.tif
> Size is 500, 500 Coordinate System is: PROJCRS["RGF93 v1 / Lambert-93",
> BASEGEOGCRS["RGF93 v1", DATUM["Reseau Geodesique Francais 1993 v1",
> ELLIPSOID["GRS 1980",6378137,298.257222101, LENGTHUNIT["metre",1]]],
> PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]],
> ID["EPSG",4171]], CONVERSION["Lambert-93", METHOD["Lambert Conic Conformal
> (2SP)", ID["EPSG",9802]], PARAMETER["Latitude of false origin",46.5,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8821]],
> PARAMETER["Longitude of false origin",3,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8822]],
> PARAMETER["Latitude of 1st standard parallel",49,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8823]],
> PARAMETER["Latitude of 2nd standard parallel",44,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8824]],
> PARAMETER["Easting at false origin",70, LENGTHUNIT["metre",1],
> ID["EPSG",8826]], PARAMETER["Northing at false origin",660,
> LENGTHUNIT["metre",1], ID["EPSG",8827]]], CS[Cartesian,2], AXIS["easting
> (X)",east, ORDER[1], LENGTHUNIT["metre",1]], AXIS["northing (Y)",north,
> ORDER[2], LENGTHUNIT["metre",1]], USAGE[ SCOPE["Engineering survey,
> topographic mapping."], AREA["France - onshore and offshore, mainland and
> Corsica (France métropolitaine including Corsica)."],
> BBOX[41.15,-9.86,51.56,10.38]], ID["EPSG",2154]] Data axis to CRS axis
> mapping: 1,2 Origin = (44.000,695.000)
> Pixel Size = (400.000,-400.000) Metadata:
> AREA_OR_POINT=Area Image Structure Metadata: LAYOUT=COG COMPRESSION=LZW
> INTERLEAVE=PIXEL PREDICTOR=2 Corner Coordinates: Upper Left ( 44.000,
> 695.000) ( 0d35'44.76"W, 49d35'45.32"N) Lower Left ( 44.000,
> 675.000) ( 0d28'26.95"W, 47d47'56.07"N) Upper Right ( 64.000,
> 695.000) ( 2d10'10.79"E, 49d38'46.66"N) Lower Right ( 64.000,
> 675.000) ( 2d11'52.02"E, 47d50'51.55"N) Center ( 54.000,
> 685.000) ( 0d49'27.77"E, 48d43'49.03"N) Band 1 Block=512x512 Type=Byte,
> ColorInterp=Red Band 2 Block=512x512 Type=Byte, ColorInterp=Green Band 3
> Block=512x512 Type=Byte, ColorInterp=Blue
>
> WHen I don't use cog files (for example with WMS requests on postgis db),
> I have no errors.
>
> What could be the issue?
>
> --
> Alexandre Gacon
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] S3 geotiff plugin not working

2024-04-30 Thread Gabriel Roldan
Alex,

I'd suggest to use the COG support instead (and make sure the tiffs are
proper COGs)

Here are good answers from Ian and Andrea:
https://gis.stackexchange.com/questions/442695/s3-support-for-geotiff-vs-cog-cloud-optimized-geotiff-support-geoserver-co
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Tue, Apr 30, 2024 at 3:31 AM Alexandre Gacon 
wrote:

> It is the thing that I don't understand:
>
>- In GeoTools, the SDK version in the pom of s3-geotiff points to the
>right version (1.12.261) since the version 30 of geotools
>- In GeoServer, we normally are at version 31
>- But the dependencies are not OK : is it a problem in geotools
>delivery process or in geoserver build process?
>
>
> Alexandre
>
> Le mar. 30 avr. 2024 à 07:15, Jody Garnett  a
> écrit :
>
>> Can you change the geotools dependency then :)
>>
>> It would be nice to define this only one place.
>>
>> --
>> Jody Garnett
>>
>>
>> On Mon, Apr 29, 2024 at 9:14 PM Alexandre Gacon <
>> alexandre.ga...@gmail.com> wrote:
>>
>>> Hello Jody,
>>>
>>> The module does not precise the AWS version to retrieve (only the
>>> GeoTools version).
>>>
>>> I see that the task manager community plugin references a version
>>> (1.11.36): could it hide/override the version required by the GeoTools
>>> dependency?
>>>
>>> Should I add the dependency in the pom file of the geotiff S3 module?
>>>
>>> Alexandre
>>>
>>> Le lun. 29 avr. 2024 à 22:37, Jody Garnett  a
>>> écrit :
>>>
 Hello Alexandre,

 You should be able to adjust the version used by changing the pom.xml
 information in GeoServer, or by removing the dependency completely (so it
 always gets the version defined and tested by GeoTools).

 Are you in position to prepare and test a pull request?
 --
 Jody Garnett


 On Apr 29, 2024 at 12:53:11 PM, Alexandre Gacon <
 alexandre.ga...@gmail.com> wrote:

> Hello there,
>
> I am trying to use the S3 geotiff community module and it does not
> work. When trying to validate the store definition, I have the following
> error:
> Caused by: java.lang.NoClassDefFoundError:
> com/amazonaws/client/builder/AwsClientBuilder$EndpointConfiguration at
> org.geotools.s3.S3Connector.getS3Client(S3Connector.java:120)
>
> The class is available in the AWS SDK from the 1.12 version.
>
> In the geotools project, the version in the pom.xml is the 1.12.261.
>
> On the geoserver build server, when I download the zip of the
> extension, the version of the SDK is 1.11.36 whereas the version of
> geotools is the 31, which expects the 1.12 version.
>
>
>
> --
> Alexandre Gacon
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting
> to this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

>>>
>>> --
>>> Alexandre Gacon
>>>
>>
>
> --
> Alexandre Gacon
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Deleting database table through REST API

2024-02-16 Thread Gabriel Roldan
ypes, they will use:
>
>
> DELETE 
> /workspaces/{workspaceName}/datastores/{storeName}/featuretypes/{typeName}
>
> If they never need to drop tables, there is no chance that they'll add a
> "purgeData=true" by mistake (pick whatever parameter name you want, as long
> as it's clearly separate from "cascade" and clearly indicates data
> destruction).
> If they instead are playing with the idea, and are still undecided on what
> to do, they will likely have something like this, with the parmeter
> commented out but ready to be put back in.
> I'm simulating with color a bit of syntax highlighting, and keeping
> cascade=true in all calls because we most likely want to remove the
> associated LayerInfo as well.
>
>
> DELETE 
> /workspaces/{workspaceName}/datastores/{storeName}/featuretypes/{typeName}?cascade=true
> #?dropData=true
>
> If instead we have a separate API, they will likely have this:
>
>
> DELETE 
> /workspaces/{workspaceName}/datastores/{storeName}/featuretypes/{typeName}?cascade=true
> # DELETE
> /workspaces/{workspaceName}/datastores/{storeName}/nativeFeaturetypes/{typeName}?cascade=true
>
> I have a hard time figuring out how one is more dangerous than the other.
> Going by personal experience, I would be a bit more prone to make an error
> with the second case, because the difference between one and the other lies
> in the middle of the path rather that being separate at the end... but it's
> probably just me, I tend to focus and structure and glance over the text,
> rather than actually reading it word by word.
>
> *Small data management side note*
> Dealing with data import/management/removal is inherently dangerous
> no matter what tool is used.
> The documentation for the tools allowing it should be clear, and
> indications on proper security setup is also beneficial.
>
> *Conclusion*
> Please, let's try to go towards a direction of more API consistency,
> rather than less of it.
> So I'm ok with the a "native" API, but at least let's have it consistently
> available across the board, rather than having a "feature type exception".
> Let's also have a plan on how to handle the inevitable functional
> redundancy (deprecation? removal?)
>
> Andrea
>
>
> On Thu, Feb 15, 2024 at 8:19 PM Gabriel Roldan <
> gabriel.rol...@camptocamp.com> wrote:
>
>> Two wrongs don't make a right, IMHO.
>> I'd rather break convention than introduce such a dangerous parameter to
>> an existing API endpoint and change its semantics
>>
>> I'm not talking about a rewrite of the REST API, but a new verb to the
>> existing API. Don't see how that'd make it harder for the people that's
>> used to it, when it doesn't even exist. Used the the rest api having all
>> sorts of parameters I take it. So how much harder is it when I ask "how do
>> I delete a table in my database?"
>> - oh, just need to add this param to DELETE
>> ../stores/mystore/featuretypes/xxx
>> - or, oh, just need to call DELETE ../stores/mystore/drop/xxx
>>
>> For the former, you need to update the documentation saying if you pass
>> this, then it does this, if you pass this other parameter then it does this
>> other thing. Beware to check all your scripts, because if you accidentally
>> leave this parameter on, your company database will be destroyed.
>> As opposed to not changing the current api and adding an endpoint that
>> says:
>> This will delete the database table. Fails in case there's an existing
>> FeatureType using it.
>>
>> My point is this deserves its own endpoint. Way more explicit and less
>> error prone than a new param to the current delete featuretype operation,
>> which would change its semantics so drastically.
>>
>> In any case, that's just my opinion.
>>
>> Cheers,
>> Gabe
>>
>> *camptocamp*
>> INNOVATIVE SOLUTIONS
>> BY OPEN SOURCE EXPERTS
>>
>> *Gabriel Roldán*
>> Geospatial Developer
>>
>>
>>
>> On Thu, Feb 15, 2024 at 1:18 PM Andrea Aime <
>> andrea.a...@geosolutionsgroup.com> wrote:
>>
>>> On Thu, Feb 15, 2024 at 3:00 PM Gabriel Roldan 
>>> wrote:
>>>
>>>> I mean "increases complexity and difficults understanding", of course.
>>>>
>>>
>>> But parameters are already widely used in the GeoServer REST API, and
>>> "cascade" is used in other places as well.
>>> This would be breaking convention, making the API harder to use for
>>> those that are already used to it.
>>>
>>> Don't get me wrong, I know the GeoServer REST API is old a

Re: [Geoserver-users] Deleting database table through REST API

2024-02-15 Thread Gabriel Roldan
I sorry you feel that way Andrea.
>From my point of view, there's no direction taken but an open and honest
discussion. And I can't see how my attitude is bad at all, given there's
absolutely no personal direction on any of my comments.
I've a strong opinion on the matter, yes. How relevant is it? as much as
anyone else's.
Peace.
Gabe
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Thu, Feb 15, 2024 at 5:01 PM Andrea Aime <
andrea.a...@geosolutionsgroup.com> wrote:

> I'm in disagreement with both the direction taken and the attitude shown,
> best to put an end to it and make it go through a formal GSIP instead (when
> someone has the resources to spend on both the discussion and
> implementation of it)
>
> Regards
> Andrea
>
>
>
> Il gio 15 feb 2024, 20:19 Gabriel Roldan 
> ha scritto:
>
>> Two wrongs don't make a right, IMHO.
>> I'd rather break convention than introduce such a dangerous parameter to
>> an existing API endpoint and change its semantics
>>
>> I'm not talking about a rewrite of the REST API, but a new verb to the
>> existing API. Don't see how that'd make it harder for the people that's
>> used to it, when it doesn't even exist. Used the the rest api having all
>> sorts of parameters I take it. So how much harder is it when I ask "how do
>> I delete a table in my database?"
>> - oh, just need to add this param to DELETE
>> ../stores/mystore/featuretypes/xxx
>> - or, oh, just need to call DELETE ../stores/mystore/drop/xxx
>>
>> For the former, you need to update the documentation saying if you pass
>> this, then it does this, if you pass this other parameter then it does this
>> other thing. Beware to check all your scripts, because if you accidentally
>> leave this parameter on, your company database will be destroyed.
>> As opposed to not changing the current api and adding an endpoint that
>> says:
>> This will delete the database table. Fails in case there's an existing
>> FeatureType using it.
>>
>> My point is this deserves its own endpoint. Way more explicit and less
>> error prone than a new param to the current delete featuretype operation,
>> which would change its semantics so drastically.
>>
>> In any case, that's just my opinion.
>>
>> Cheers,
>> Gabe
>>
>> *camptocamp*
>> INNOVATIVE SOLUTIONS
>> BY OPEN SOURCE EXPERTS
>>
>> *Gabriel Roldán*
>> Geospatial Developer
>>
>>
>>
>> On Thu, Feb 15, 2024 at 1:18 PM Andrea Aime <
>> andrea.a...@geosolutionsgroup.com> wrote:
>>
>>> On Thu, Feb 15, 2024 at 3:00 PM Gabriel Roldan 
>>> wrote:
>>>
>>>> I mean "increases complexity and difficults understanding", of course.
>>>>
>>>
>>> But parameters are already widely used in the GeoServer REST API, and
>>> "cascade" is used in other places as well.
>>> This would be breaking convention, making the API harder to use for
>>> those that are already used to it.
>>>
>>> Don't get me wrong, I know the GeoServer REST API is old and would need
>>> a rewrite, but that's the key point, a rewrite would be the time to break
>>> compatibility and adopt new ways of doing things.
>>>
>>>
>>>>
>>>>
>>>>> question arises of how to determine which table to delete once you
>>>>> deleted the FeatureType. I guess it should be an operation of the 
>>>>> DataStore
>>>>> and not of the FeatureType, and use the FeatureType's nativeName to
>>>>> distinguish?
>>>>>
>>>>
>>> The REST API only returns configured feature types by default. There is
>>> (guess what?) a parameter in the "featuretypes" resource, called "list",
>>> that can take
>>> 3 different values:
>>>
>>>- "configured" (default if not specified): only lists the configured
>>>feature types (links to the feature type info resource)
>>>- "available": returns the native feature types not yet configured
>>>(mind, only their names)
>>>- "available_with_geom": same as above, bon only spatial ones
>>>- "all": returns all of them, configured or available (again, just
>>>names)
>>>
>>> The FeatureTypeController delete mapping already has a "recurse" flag to
>>> delete layers while the feature type is removed.
>>> Now here there is a risk of confusion betwee

Re: [Geoserver-users] Deleting database table through REST API

2024-02-15 Thread Gabriel Roldan
Two wrongs don't make a right, IMHO.
I'd rather break convention than introduce such a dangerous parameter to an
existing API endpoint and change its semantics

I'm not talking about a rewrite of the REST API, but a new verb to the
existing API. Don't see how that'd make it harder for the people that's
used to it, when it doesn't even exist. Used the the rest api having all
sorts of parameters I take it. So how much harder is it when I ask "how do
I delete a table in my database?"
- oh, just need to add this param to DELETE
../stores/mystore/featuretypes/xxx
- or, oh, just need to call DELETE ../stores/mystore/drop/xxx

For the former, you need to update the documentation saying if you pass
this, then it does this, if you pass this other parameter then it does this
other thing. Beware to check all your scripts, because if you accidentally
leave this parameter on, your company database will be destroyed.
As opposed to not changing the current api and adding an endpoint that says:
This will delete the database table. Fails in case there's an existing
FeatureType using it.

My point is this deserves its own endpoint. Way more explicit and less
error prone than a new param to the current delete featuretype operation,
which would change its semantics so drastically.

In any case, that's just my opinion.

Cheers,
Gabe

*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Thu, Feb 15, 2024 at 1:18 PM Andrea Aime <
andrea.a...@geosolutionsgroup.com> wrote:

> On Thu, Feb 15, 2024 at 3:00 PM Gabriel Roldan 
> wrote:
>
>> I mean "increases complexity and difficults understanding", of course.
>>
>
> But parameters are already widely used in the GeoServer REST API, and
> "cascade" is used in other places as well.
> This would be breaking convention, making the API harder to use for those
> that are already used to it.
>
> Don't get me wrong, I know the GeoServer REST API is old and would need a
> rewrite, but that's the key point, a rewrite would be the time to break
> compatibility and adopt new ways of doing things.
>
>
>>
>>
>>> question arises of how to determine which table to delete once you
>>> deleted the FeatureType. I guess it should be an operation of the DataStore
>>> and not of the FeatureType, and use the FeatureType's nativeName to
>>> distinguish?
>>>
>>
> The REST API only returns configured feature types by default. There is
> (guess what?) a parameter in the "featuretypes" resource, called "list",
> that can take
> 3 different values:
>
>- "configured" (default if not specified): only lists the configured
>feature types (links to the feature type info resource)
>- "available": returns the native feature types not yet configured
>(mind, only their names)
>- "available_with_geom": same as above, bon only spatial ones
>- "all": returns all of them, configured or available (again, just
>names)
>
> The FeatureTypeController delete mapping already has a "recurse" flag to
> delete layers while the feature type is removed.
> Now here there is a risk of confusion between "recurse" and "cascade", a
> "removeData" flag would probably avoid confusion.
>
> Cheers
> Andrea
>
> ==
>
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
> mob:   +39  339 8844549
>
> https://www.geosolutionsgroup.com/
>
> http://twitter.com/geosolutions_it
>
> ---
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email 

Re: [Geoserver-users] Deleting database table through REST API

2024-02-15 Thread Gabriel Roldan
>
> *  Flag parameters are bad design, increases complexity and understanding,
> breaks a couple principles.
>
I mean "increases complexity and difficults understanding", of course.


> question arises of how to determine which table to delete once you deleted
> the FeatureType. I guess it should be an operation of the DataStore and not
> of the FeatureType, and use the FeatureType's nativeName to distinguish?
>

Which makes me thing, if I'm not mistaken, there's no REST endpoint to
gather the list of a DataStore's **native** feature types. Like if you
wanted to create a rich client app using strictly the REST API, how would
you list the store's available feature types?

with that in mind:
GET ..//stores//nativeFeatureTypes would give you a list
of raw type in the store
GET ..//stores//nativeFeatureTypes/ its
raw FeatureType
DELETE ..//stores//nativeFeatureTypes/
would drop the native FT. Possibly failing if it's in use, or cascade
deleting published feature types for that native type (table)

opinions?
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Deleting database table through REST API

2024-02-15 Thread Gabriel Roldan
> owner of the table and if Geoserver is configured to use a special database
>>> account with well thought-out privileges it might be safe to allow to drop
>>> tables with REST. However, I believe that in most Geoserver installations
>>> the geoserver db user has all too wide privileges, at least if you ask from
>>> the DB admins.
>>> If we will have a configuration option "cascade=true" then it should be
>>> off by default, and somehow the geoserver admin who turns it on should be
>>> made aware of all the consequences.
>>>
>>>
>>>
>>> -Jukka Rahkonen-
>>>
>>>
>>>
>>>
>>>
>>> *Lähettäjä:* Roar Brænden 
>>> *Lähetetty:* keskiviikko 14. helmikuuta 2024 23.29
>>> *Vastaanottaja:* geoserver-users@lists.sourceforge.net
>>> *Kopio:* Gabriel Roldan ; Jody Garnett <
>>> jody.garn...@gmail.com>; Rahkonen Jukka <
>>> jukka.rahko...@maanmittauslaitos.fi>
>>> *Aihe:* Re: [Geoserver-users] Deleting database table through REST API
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> I think it would be helpful to separate the use cases. The original
>>> question was about a database table that were created by the REST API when
>>> creating a layer. In such a situation it makes sense to delete the table
>>> when deleting the layer. Otherwise you could see a scenario were there are
>>> a lot of lost tables in the database.
>>>
>>>
>>>
>>> In other situations we have a layer that is wrapped on top of an
>>> existing table. In such cases it would be very disruptive to delete the
>>> database table when deleting the layer.
>>>
>>>
>>>
>>> I'm in favor of introducing an extra parameter for instance
>>> "cascade=true", if the user wants to delete the database table as well. In
>>> the last scenario it would also make sense to restrict the database user,
>>> that are configured in Geoserver, from making disruptive calls to the
>>> database. Like dropping a table.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Roar Brænden
>>>
>>>
>>>
>>>
>>>
>>> 14. feb. 2024 kl. 17:42 skrev Rahkonen Jukka <
>>> jukka.rahko...@maanmittauslaitos.fi>:
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> I was thinking about the same, but if user can do something with the
>>> user interface then why not with REST? Both are secured only by the
>>> username/password.  However, I do not know if it is possible to drop
>>> database tables from the UI. I have seen some user requests about cascading
>>> deletes so that deleting a layer would also delete the data. I think that
>>> is not a good idea.
>>>
>>>
>>>
>>> -Jukka Rahkonen-
>>>
>>>
>>>
>>> *Lähettäjä:* Gabriel Roldan 
>>> *Lähetetty:* keskiviikko 14. helmikuuta 2024 17.46
>>> *Vastaanottaja:* Jody Garnett 
>>> *Kopio:* geoserver-users@lists.sourceforge.net
>>> *Aihe:* Re: [Geoserver-users] Deleting database table through REST API
>>>
>>>
>>>
>>> Hi all,
>>>
>>> For the record,
>>>
>>> I'm utterly against deleting database tables through the geoserver REST
>>> API
>>>
>>> * It's absolutely dangerous
>>>
>>> * The REST API shall with GeoServer "resources", not infrastructure ones
>>>
>>>
>>>
>>> If I wanted to delete a table through *a* REST API, I'd better run two
>>> queries, one to delete the geoserver FeatureType/Layer,
>>>
>>> and another one to delete the database table, for which there are
>>> existing solutions, for example PostgREST https://postgrest.org
>>>
>>> (not sure if that one lets you drop tables) but you get the idea.
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Gabe
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, 12 Feb 2024 at 16:25, Jody Garnett 
>>> wrote:
>>>
>>> I am open to improvements and addition to the importer API (which offers
>>> some control as it is responsible for the automatic creation of tables; it
>>> has an opportunity to delete an existing table when replacing contents).
>>>
>>>

Re: [Geoserver-users] Deleting database table through REST API

2024-02-14 Thread Gabriel Roldan
Hi all,
For the record,
I'm utterly against deleting database tables through the geoserver REST API
* It's absolutely dangerous
* The REST API shall with GeoServer "resources", not infrastructure ones

If I wanted to delete a table through *a* REST API, I'd better run two
queries, one to delete the geoserver FeatureType/Layer,
and another one to delete the database table, for which there are existing
solutions, for example PostgREST https://postgrest.org
(not sure if that one lets you drop tables) but you get the idea.

Cheers,
Gabe



On Mon, 12 Feb 2024 at 16:25, Jody Garnett  wrote:

> I am open to improvements and addition to the importer API (which offers
> some control as it is responsible for the automatic creation of tables; it
> has an opportunity to delete an existing table when replacing contents).
>
> See example
> https://docs.geoserver.org/latest/en/user/extensions/importer/rest_examples.html#replacing-postgis-table-using-the-contents-of-a-csv-file
>
>
> --
> Jody Garnett
>
>
> On Feb 12, 2024 at 1:30:11 AM, Cécile Vuilleumier <
> cecile.vuilleum...@camptocamp.com> wrote:
>
>> Hi all
>> When creating a feature type in a database datastore with the REST API,
>> GeoServer will create the corresponding table if it does not exist.
>> We were wondering if similarly the deletion of a table was also possible
>> when deleting the associated feature type and I found this discussion:
>> https://sourceforge.net/p/geoserver/mailman/message/36221224/
>> Does anybody know if a proposal had been submitted? I couldn't find it on
>> the GitHub wiki but I might have missed it.
>> Many thanks, Cécile
>>
>> --
>> *camptocamp*
>>
>> *Cécile Vuilleumier *
>> Geospatial developer
>> www.camptocamp.com
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 2.23-RC1 released

2023-03-14 Thread Gabriel Roldan
The GeoServer team is pleased to share the release of GeoServer 2.23-RC1
<https://geoserver.org/release/2.23-RC1/>.

Check out the announcement
<https://geoserver.org/announcements/2023/03/14/geoserver-2-23-RC1-released.html>
for
a summary and pictures of the hard work that leads to this:

   - Java 11 Minimum
   - CSS Cleanup
   - Spring Upgrade
   - Windows installer Java 11 Update
   - Feature Type Description
   - OGC CITE Fixes
   - And a whole host of fixes and improvements
   <https://github.com/geoserver/geoserver/releases/tag/2.23-RC1>

Thanks to everyone who helped make this release and tested all the upgrades
and fixes as they developed - due to your effort this release candidate is
*much* better.

Please *reply to this email with the results of your testing *- we are
especially interested in the following:

   - The *new functionality and documentation*? Does it work
   with your data? Do the docs make sense? Ask questions...
   - This is the first release that requires Java 11 as a minimum, but let
   us know *what JDK you are using* and how the upgrade to Java 11 goes
   - We really want to know about *any regressions* - do not think for a
   moment that any issue is evident and we will notice (we won't it is up to
   you to speak up)
   - A small thing: the downloads and extensions now include *HTML
pages* (rather
   than text files) for readme, running instructions, and licenses. If you
   spot anything missing or incorrect please let us know.

We do our best to acknowledge everyone who responds during this testing
window as part of the final release announcement. This is your chance to
take part; give the release candidate a download, let us know how it works,
and we can get GeoServer 2.23.0 out next.
--
Gabriel Roldan
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 2.17.5 released

2021-02-22 Thread Gabriel Roldan
GeoServer 2.17.5 has just been released, read about fixes and improvements
in our blog post:
http://geoserver.org/announcements/2021/02/22/geoserver-2-17-5-released.html

Best regards,
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS GetFeatureInfo on several layers

2019-11-29 Thread Gabriel Roldan
Looks like, root reason being a difference in the FEATURE_COUNT parameter
definition between WMS 1.1.0 and 1.3.0. The former states:

7.3.3.7 FEATURE_COUNT FEATURE_COUNT is the maximum number of features for
which feature information should be returned. Inclusion of a value for this
attribute is optional. When included, the value must be greater than zero.
When absent, the amount of information to return is at the server's
discretion.

Mind to create a JIRA ticket?

Cheers,
Gabriel

On Fri, 29 Nov 2019 at 09:20, Alexandre Gacon 
wrote:

> So this is a compliance bug no ?
>
> Alexandre
>
> Le ven. 29 nov. 2019 à 13:08, Rahkonen Jukka (MML) <
> jukka.rahko...@maanmittauslaitos.fi> a écrit :
>
>> I forgot to add the corresponding part of the WMS 1.3.0 standard. Notice
>> “per layer”.
>>
>>
>>
>> 7.4.3.6 FEATURE_COUNT
>>
>> The optional FEATURE_COUNT parameter states the maximum number of
>> features per layer for which feature
>>
>> information shall be returned. Its value is a positive integer. The
>> default value is 1 if this parameter is omitted or is
>>
>> other than a positive integer.
>>
>>
>>
>> -Jukka-
>>
>>
>>
>> *Lähettäjä:* Rahkonen Jukka (MML) 
>> *Lähetetty:* perjantai 29. marraskuuta 2019 13.56
>> *Vastaanottaja:* Vitor Fonseca ;
>> andrea.a...@geo-solutions.it
>> *Kopio:* geoserver-users 
>> *Aihe:* Re: [Geoserver-users] WMS GetFeatureInfo on several layers
>>
>>
>>
>> Hi,
>>
>>
>>
>> There may be other issues as well but I have some evidence that Geoserver
>> counts total number of features instead of features per layer. If you have
>> Geoserver running with the demo layers you can test yourself
>>
>>
>>
>>
>> http://localhost:8080/geoserver/topp/wms?SERVICE=WMS=1.1.1=GetFeatureInfo=image%2Fpng=true_LAYERS=topp%3Atasmania_cities%2Ctopp%3Atasmania_roads=topp%3Atasmania_cities%2Ctopp%3Atasmania_roads=application%2Fvnd.ogc.se_inimage_FORMAT=text%2Fhtml=50=50=EPSG%3A4326==101=101=146.173095703125%2C-43.96728515625001%2C148.392333984375%2C-41.7480468751
>>
>>
>>
>> Query returns 1 feature from Tasmania_cities only. Now add
>> _count=10
>>
>>
>>
>>
>> http://localhost:8080/geoserver/topp/wms?SERVICE=WMS=1.1.1=GetFeatureInfo=image%2Fpng=true_LAYERS=topp%3Atasmania_cities%2Ctopp%3Atasmania_roads=topp%3Atasmania_cities%2Ctopp%3Atasmania_roads=application%2Fvnd.ogc.se_inimage_FORMAT=text%2Fhtml=50=50=EPSG%3A4326==101=101=146.173095703125%2C-43.96728515625001%2C148.392333984375%2C-41.7480468751_count=10
>>
>>
>>
>> You’ll get one feature from Tasmania_cities and one feature from
>> Tasmania_roads.
>>
>>
>>
>> Tested with Geoserver 2.16.1 on Windows.
>>
>>
>>
>> -Jukka Rahkonen-
>>
>>
>>
>>
>>
>>
>>
>> *Lähettäjä:* Vitor Fonseca 
>> *Lähetetty:* perjantai 29. marraskuuta 2019 13.01
>> *Vastaanottaja:* andrea.a...@geo-solutions.it
>> *Kopio:* geoserver-users 
>> *Aihe:* Re: [Geoserver-users] WMS GetFeatureInfo on several layers
>>
>>
>>
>>
>>
>> I don't think that's the problem.
>>
>>
>>
>> He doesn't mention the number of features returned, but *only features
>> from one layer* are returned.
>>
>> I came across a similar problem a while ago.
>>
>>
>>
>> Can you show an example request url? I think it's related to the values
>> in the "layers" and "query_layers" params. In my case they are exactly the
>> same (and in the same order).
>>
>>
>>
>>
>>
>> Andrea Aime  escreveu no dia sexta,
>> 29/11/2019 à(s) 10:48:
>>
>> On Fri, Nov 29, 2019 at 11:42 AM Alexandre Gacon <
>> alexandre.ga...@gmail.com> wrote:
>>
>> Hi,
>>
>>
>>
>> I am trying to send WMS GetFeatureInfo request to my geoserver instance
>> for several layers at the same time (both for layers and query_layers
>> parameters).
>>
>>
>>
>> It seems that only the information of first layer with information at the
>> clicked place is returned : is it something expected ?
>>
>>
>>
>> It is, the GetFeatureInfo request has a FEATURE_COUNT parameter, that
>> indicate the max number of feature infos to be returned.
>>
>> That defaults to 1, if not specified, by WMS specification.
>>
>>
>>
>> The GeoServer layer preview sets it to 50, for example, to show more
>> results, check the URLs the preview is using when clicking on the map.
>>
>>
>>
>> Cheers
>>
>> Andrea
>>
>>
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
>> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
>> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
>> http://www.geo-solutions.it http://twitter.com/geosolutions_it
>> --- *Con riferimento
>> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
>> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
>> circostanza inerente alla presente email (il suo contenuto, gli eventuali
>> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
>> destinatario/i indicati dallo scrivente. Se il 

Re: [Geoserver-users] [Geoserver-devel] reminder: geoserver cite automation proposals due next week

2019-11-27 Thread Gabriel Roldan
Hey all,

just an FYI I've all intents to send a proposal as an independent
contractor, just waiting until next week once I'm more relieved from my
current project, since it looks I'd need to gather some more insights on
the current state of affairs and think of what a possible solution could be.

Cheers,
Gabriel.

On Sun, 24 Nov 2019 at 20:52, Jody Garnett  wrote:

> Interested parties are asked to send their proposal to geoserver-devel
> email list next week.
>
> For more information: CITE Test Automation Request for Proposal
> 
>
> Thanks again to Gaia3D, OSGeo:UK and everyone who has sponsored or donated
> to make this activity possible.
> --
> Jody Garnett
> ___
> Geoserver-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>


-- 
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver differs two days from sql

2019-11-26 Thread Gabriel Roldan
Nice,

see the other answer from Mark Prins, looks like what you need is a driver
upgrade.

Cheers,

On Tue, 26 Nov 2019 at 09:30, Vanden Bulcke Francis
 wrote:

> Hi Gabriel,
>
>
>
> Thanks for your answer.
>
> We are not using the Arcsde connector, but have the sql server plugin
> instead.
>
>
>
> Kind regards,
>
> Francis
>
>
>
>
>
>
>
> *Van:* Gabriel Roldan 
> *Verzonden:* maandag 25 november 2019 15:37
> *Aan:* Vanden Bulcke Francis 
> *CC:* geoserver-users 
> *Onderwerp:* Re: [Geoserver-users] geoserver differs two days from sql
>
>
>
> Hello,
>
>
>
> so, are you using GeoServer's ArcSDE DataStore?
>
>
>
> I used to be the maintainer for the ArcSDE connector but I don't have
> access
>
> to an ArcSDE instance anymore since a long time ago, so I'm afraid it's
> gonna be hard
>
> to reproduce/help. Unless you have an instance I can hit from the internet?
>
>
>
> Cheers,
>
> Gabriel
>
>
>
>
>
> On Mon, 25 Nov 2019 at 10:53, Vanden Bulcke Francis <
> francis.vandenbul...@digipolis.gent> wrote:
>
> Hi All,
>
>
>
> A lot of our data in geoserver comes from Arcgis SDE database in SQL. We
> discovered lately that there is a problem with datetime fields.
>
>
>
> When we use OpenLayers or every other option to consult the geoserver
> data: the date in geosever differs two days from Arcgis SDE database.
>
>
>
> See the example below:
>
>
>
> *SDE database SQL Server 2016*
>
>
>
> *Open Layers Geoserver version 2.13.2*
>
>
>
>
>
> Can anyone explain this?
>
>
>
> Thanks a lot,
>
>
>
> Met vriendelijke groeten,
>
>
>
> *Francis Vanden Bulcke*
>
> Technisch Applicatiespecialist GIS
>
> Projecten, Ontwikkeling en Nazorg
> Domein DIG (*D*ata, *I*nformatie en *G*IS)
>
>
>
> *Digipolis*
> Bellevue 1, 9050 Gent
> Tel.: +32 (0)92660972
> http://www.digipolis.gent
> Disclaimer <http://www.digipolis.be/disclaimer>
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> --
>
> Gabriel Roldán
>


-- 
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver differs two days from sql

2019-11-25 Thread Gabriel Roldan
Hello,

so, are you using GeoServer's ArcSDE DataStore?

I used to be the maintainer for the ArcSDE connector but I don't have
access
to an ArcSDE instance anymore since a long time ago, so I'm afraid it's
gonna be hard
to reproduce/help. Unless you have an instance I can hit from the internet?

Cheers,
Gabriel


On Mon, 25 Nov 2019 at 10:53, Vanden Bulcke Francis
 wrote:

> Hi All,
>
>
>
> A lot of our data in geoserver comes from Arcgis SDE database in SQL. We
> discovered lately that there is a problem with datetime fields.
>
>
>
> When we use OpenLayers or every other option to consult the geoserver
> data: the date in geosever differs two days from Arcgis SDE database.
>
>
>
> See the example below:
>
>
>
> *SDE database SQL Server 2016*
>
>
>
> *Open Layers Geoserver version 2.13.2*
>
>
>
>
>
> Can anyone explain this?
>
>
>
> Thanks a lot,
>
>
>
> Met vriendelijke groeten,
>
>
>
> *Francis Vanden Bulcke*
>
> Technisch Applicatiespecialist GIS
>
> Projecten, Ontwikkeling en Nazorg
> Domein DIG (*D*ata, *I*nformatie en *G*IS)
>
>
>
> *Digipolis*
> Bellevue 1, 9050 Gent
> Tel.: +32 (0)92660972
> http://www.digipolis.gent
> Disclaimer 
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Hazelcast clustering

2019-04-29 Thread Gabriel Roldan
Hi Jason,

As a side note, I found the JMS cluster module pretty easy to set up on a
scalable cluster deployment using docker and docker-compose.
Check out this docker-compose file [1]

It sets up a proxy and a scalable geoserver image. You should be able to do
docker-compose up -d
docker-compose scale geoserver=5 #ramp up to 5 instances
docker-compose scale geoserver=1 #ramp down to 1 instance

All that while using sticky sessions to access the UI through the proxy at
localthost:8000

As for the Hazelcast approach, it's been years since I've used it, but I
concur events instead of reload is the way to go.

[1] <
https://github.com/groldan/2019_foss4g-ar_taller_geoserver/blob/master/docker/broker_externo_scale/docker-compose.yml
>


El lun., 15 de abr. de 2019 a la(s) 14:26, Jason Cradit (
jasoncra...@gmail.com) escribió:

> Hello - I've been looking into clustering and would like to follow the
> Hazelcast approach instead of the JMS.  However, I'm striking out finding
> the installation.  I don't see it in the community modules.
>
> Any guidance on finding the download for it?
>
> Thanks,
> Jason
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Gabriel Roldán
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geosrever 2.13.3-2.15.0 ImageMosaic overlapping transparent from alpha band

2019-03-08 Thread Gabriel Roldan
Try disabling "Tile Recycling" under Settings/Image Processing.

I had a similar issue on a 2.12.5 instance recently and that fixed it.

Gabriel

El vie., 8 de mar. de 2019 a la(s) 21:23, Łukasz Bocianiak (
lukasz.bocian...@gmail.com) escribió:

> Hi Andrea,
>
> Thank you for your response. You have right, that was not the best site I
> could upload the files with, I updated it with direct download
>
> And created the ticket and attached files at
> https://osgeo-org.atlassian.net/browse/GEOS-9143
>
> Lukas
>
>
>
> *From:* Andrea Aime 
> *Sent:* Friday, March 8, 2019 4:07 PM
> *To:* Lukas B. 
> *Cc:* GeoServer Mailing List List 
> *Subject:* Re: [Geoserver-users] Geosrever 2.13.3-2.15.0 ImageMosaic
> overlapping transparent from alpha band
>
>
>
> Hi Lukas,
>
> can you open a ticket at
> https://osgeo-org.atlassian.net/projects/GEOS/summary
>
> and attache the tiff files there? I don't know about others, but I'm not
> particularly eager
>
> to give my mail address to random web sites
>
>
>
> Cheers
>
> Andrea
>
>
>
> On Tue, Mar 5, 2019 at 1:29 PM Lukas B. 
> wrote:
>
> Hi All,
>
> I'm migrating from OracleJDK1.7/Geoserver2.8.3 to
> OpenJDK11/GeoServer2.15.0,
> and have issues with ImageMosiac layers. In short words - can't configure
> two geotiffs to glue together where they overlap.
>
> Tried and searched everything, installed 10 versions of Geoserver and
> figured out it stopped working in Geoserver 2.13.3 (GeoTools 19.3). In
> GeoTools release notes I found that some transparency issues were fixed
> then, but it stopped working for me.
>
> I understand that I have alpha band in my files, not "no data" so popular
> problems with no-data and enabling JAI-EXT, setting transparency color is
> not the problem/solution.
>
> It works fine with no configuration (just clean geoserver install, create
> store and publish layer, only set names) with JAVA8 / Geoserver 2.8.3,
> 2.12.5., 2.13.0, 2.13.2 but not 2.13.3 and next releases.
>
> Here are details and samples:
>
> https://gis.stackexchange.com/questions/313758/geoserver-2-13-3-2-15-0-imagemosaic-blank-transparent-spaces-with-overlapping
> <
> https://gis.stackexchange.com/questions/313758/geoserver-2-13-3-2-15-0-imagemosaic-blank-transparent-spaces-with-overlapping>
>
>
> Regards
> Lukas B
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> --- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> 

Re: [Geoserver-users] Production Config

2016-02-03 Thread Gabriel Roldan
how come there's no space between JVM arguments?, like in
"-server-Xmx2048M-..."
should be "-server -Xmx2048M -..."

Is that just a copy error or is that how you're actually passing
them, cause if it is I doubt they'll have any impact, or at least I've
never seen JVM args passed in that way

On Wed, Feb 3, 2016 at 4:48 AM, David Alda Fernandez de Lezea <
da...@hazi.eus> wrote:

> Hi,
>
> To add more info... I've found that we have several JAVA HEAP SPACE errors
> in the logs.
>
> How con confirm that the java options are set as I specified in the Tomcat
> Monitor?
>
> Any ideas to improve our performance?
>
> Thanks in advance.
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> da...@hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *  LEGE OHARRA   ***   AVISOLEGAL
> ***   DISCLAIMER   *
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
> -Mensaje original-
> De: David Alda Fernandez de Lezea [mailto:da...@hazi.eus]
> Enviado el: martes, 02 de febrero de 2016 11:21
> Para: GeoServer Users
> Asunto: [Geoserver-users] Production Config
>
> Hi List,
>
> After migrating our GeoServer 2.0.2 instance to the 2.8 version I've got a
> couple of questions regarding the configuration of GeoServer in a
> production environment. One thing that confused me was that on my older
> installation the process tomcat was able to consume up to 2 GB of ram,
> which is fine as we have plenty of RAM on that server, and to be honest we
> haven't had any problem, but in the new  version I see that the process
> consumes up to 300 MB and I feel that when loading WMS vector layers it
> doesn't do as good as it was done by the older version. Perhaps it has to
> be like that and it's OK so I decided to go for a production tuning for
> GeoServer.
>
> The first thing I saw is that according to GeoServer documentation  (1)
> the 1.8 java version is not supported, and we installed that version...
> It's been working but perhaps those problems with 1.8 version were related
> to our performance problems.. So I decided to downgrade to java 1.7 and
> point tomcat to that version.  But I still feel that GeoServer is not
> working at his best..
>
> So I need some advice on advanced configuration. So far I've added these
> parameters to the java options on the apache tomcat monitor..
>
>
> -server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC
>
> I don't know if they're really OK. Can someone tell me if they're more or
> less OK?
>
> My Set up:
>
> Intel Xeon CPU @ 2.0 GHz
> 8 GB RAM
> Window Server 2012 R2 64 bit.
>
> Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) Client VM) -> 32 bit
> Tomcat 7 -> 32 bit
>
>
> 1 -
> http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre
>
>
> Help is much appreciated.
>
> Thanks
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> da...@hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de
> Arkaute s/n | 01192 Arkaute - Araba
>
> *  LEGE OHARRA   ***   AVISOLEGAL
> ***   DISCLAIMER   * Mezu hau
> pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago
> legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance APM
> + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor
> end-to-end web transactions and take corrective actions now Troubleshoot
> faster and improve end-user experience. Signup 

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 ga...@afrispatial.co.za 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 ga...@afrispatial.co.za
 wrote:

 We've now upgraded to geoserver 2.2.3 and changed the wmsUrl 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:

 ?xml version=1.0 encoding=utf-8?
 gwcConfiguration xmlns:xsi=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;
 version1.3.0/version
 backendTimeout120/backendTimeout
 gridSets
   gridSet
 nameEPSG:900913/name
 descriptionThis 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./description
 srs
   number900913/number
 /srs
 extent
   coords
 double-2.003750834E7/double
 double-2.003750834E7/double
 double2.003750834E7/double
 double2.003750834E7/double
   /coords
 /extent
 alignTopLeftfalse/alignTopLeft
 resolutions
   double156543.03390625/double
   double78271.516953125/double
   double39135.7584765625/double
   double19567.87923828125/double
   double9783.939619140625/double
   double4891.9698095703125/double
   double2445.9849047851562/double
   double1222.9924523925781/double
   double611.4962261962891/double
   double305.74811309814453/double
   double152.87405654907226/double
   double76.43702827453613/double
   double38.218514137268066/double
   double19.109257068634033/double
   double9.554628534317017/double
   double4.777314267158508/double
   double2.388657133579254/double
   double1.194328566789627/double
   double0.5971642833948135/double
   double0.29858214169740677/double
   double0.14929107084870338/double
   double0.07464553542435169/double
 /resolutions
 metersPerUnit1.0/metersPerUnit
 pixelSize2.985823029317633E-4/pixelSize
 scaleNames
   stringEPSG:900913:0/string
   stringEPSG:900913:1/string
   stringEPSG:900913:2/string
   stringEPSG:900913:3/string
   stringEPSG:900913:4/string
   stringEPSG:900913:5/string
   stringEPSG:900913:6/string
   stringEPSG:900913:7/string
   stringEPSG:900913:8/string

Re: [Geoserver-users] geowebcache issue

2013-01-28 Thread Gabriel Roldan
)
 at
 org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
 at
 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 at
 org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
 at
 org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
 at
 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 at
 org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
 at
 org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
 at
 org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Thread.java:662)

 /ServiceException/ServiceExceptionReport


 [3]

 2013-01-17 16:20:13,716 DEBUG [diskquota.LayerCacheInfoBuilder] -
 Gathering cache information for
 'drakensteinv2'/EPSG:900913/paramId:default/zlevel:18
 2013-01-17 16:20:15,716 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
 Committing TileSet[drakensteinv2#EPSG:900913#image/png]1200 aggregated
 updates, 976 different pages, accum quota diff: 99.41 MB, created
 2003ms ago] to quota store due to too many pending commits
 2013-01-17 16:20:18,716 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
 Committing TileSet[drakensteinv2#EPSG:900913#image/png]764 aggregated
 updates, 686 different pages, accum quota diff: 57.9 MB, created
 2030ms ago] to quota store due to max wait time reached
 2013-01-17 16:20:19,651 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
 Committing TileSet[drakensteinv2#EPSG:900913#image/png]1197 aggregated
 updates, 1000 different pages, accum quota diff: 94.73 MB, created
 811ms ago] to quota store due to too many pending commits


 --
 regards

 Gavin

 Gavin Fleming
 http://afrispatial.co.za
 t: 0218620670
 c: 0845965680
 f: 0866164820



 --
 regards

 Gavin

 Gavin Fleming
 http://afrispatial.co.za
 t: 0218620670
 c: 0845965680
 f: 0866164820


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers

Re: [Geoserver-users] Geoserver 2.2 RC-3, GWC ignoring non-default styles

2012-09-21 Thread Gabriel Roldan
On Fri, Sep 21, 2012 at 1:06 AM, Tom Kunicki tkuni...@usgs.gov wrote:
 I think i've identified an (the?) issue.  If one creates a new style and adds 
 it to the layer after per-style caching is enabled one needs to disable 
 cacheing for the layer, save, then reenable it and save again.  Do you need 
 an issue submitted for this?  Again, using GeoServer 2.2 RC-3.

Yes please. I don't think that's how it should work.


 This caching is good stuff!

glad you like it.
Cheers,
Gabriel

 Tom



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 RC-3, GWC ignoring non-default styles

2012-09-19 Thread Gabriel Roldan
On Wed, Sep 19, 2012 at 4:23 AM, Tom Kunicki tkuni...@usgs.gov wrote:

 Hi,

 I am having an issue with GWC endpoints in GeoServer 2.2 RC-3 ignoring 
 non-default styles.

 I'm running testing GeoServer 2.2 RC-3 with layer backed by vector data 
 served via GWC endpoints including integrated-WMS and WMS-C.  The layer I am 
 testing has 2 available rendering styles.  I've setup an openlayers client 
 (based on 2.12) against the endpoints using 3 service options for base 
 layers; WMS (tiled=false), WMS (tiled=true) and WMS-C.  As expected the 
 latter 2 endpoints cache as verified by performance and investigation of the 
 HTTP-Response Headers.  The issue I have is that the cached endpoints ignore 
 the requested style and always provided tiles rendered with the default 
 style.  The WMS (tiled=false) endpoint reacts as expected when the alternate 
 style is requested.  The options available per-layer (Create a separate 
 cache for each STYLE = true) as well as the option under Caching Defaults 
 (Automatically cache non-default styles') would seem to indicate that 
 non-default styles would be supported and rendered with the GeoServer/GWC 
 integration where the specification of the service used supports it.

I think that probably auto cache styles may not be enabled for your
layers? you'd need to check layer by layer, because if those layers
already existed it is probably not enabled for them?
the setting in the global gwc settings page affect newly added layers,
but every layer has its own setting.


 I did wipe my GEOSERVER_DATA_DIR after updating to 2.2 RC-3 and setup my 
 workspace, datastore and layers in case there were some vestigial files 
 laying about from older RCs.

 Thanks,

 Tom Kunicki
 Center for Integrated Data Analytics
 U.S. Geological Survey
 8505 Research Way
 Middleton, WI  53562


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 RC-3, GWC ignoring non-default styles

2012-09-19 Thread Gabriel Roldan
On Wed, Sep 19, 2012 at 5:40 PM, Tom Kunicki tkuni...@usgs.gov wrote:

 On Sep 19, 2012, at 1:38 PM, Gabriel Roldan grol...@opengeo.org wrote:

 On Wed, Sep 19, 2012 at 4:23 AM, Tom Kunicki tkuni...@usgs.gov wrote:

 Hi,

 I am having an issue with GWC endpoints in GeoServer 2.2 RC-3 ignoring 
 non-default styles.

 I'm running testing GeoServer 2.2 RC-3 with layer backed by vector data 
 served via GWC endpoints including integrated-WMS and WMS-C.  The layer I 
 am testing has 2 available rendering styles.  I've setup an openlayers 
 client (based on 2.12) against the endpoints using 3 service options for 
 base layers; WMS (tiled=false), WMS (tiled=true) and WMS-C.  As expected 
 the latter 2 endpoints cache as verified by performance and investigation 
 of the HTTP-Response Headers.  The issue I have is that the cached 
 endpoints ignore the requested style and always provided tiles rendered 
 with the default style.  The WMS (tiled=false) endpoint reacts as expected 
 when the alternate style is requested.  The options available per-layer 
 (Create a separate cache for each STYLE = true) as well as the option 
 under Caching Defaults (Automatically cache non-default styles') would 
 seem to indicate that non-default styles would be supported and rendered 
 with the GeoServer/GWC integration where the specification of the service 
 used supports it.

 I think that probably auto cache styles may not be enabled for your
 layers? you'd need to check layer by layer, because if those layers
 already existed it is probably not enabled for them?
 the setting in the global gwc settings page affect newly added layers,
 but every layer has its own setting.

 Thanks for the response.  Create a separate cache for each STYLE was true 
 for the layer in question.  Based on your comment I took the following steps 
 in the layer configuration:  disabled caching, saved, reenabled the layer and 
 per-style caching, saved.  Now everything works.  This is great, thanks.

 I don't know the exact sequence of steps taken to induce my issue, if I can 
 reproduce I will submit an issue.  My workflow thus far has been to work with 
 the per-layer configuration first, then look at the global cache settings.

Yes, please do. I'm curious as well and it could certainly have been a bug.

Cheers,
Gabriel

 Thanks again,  Tom.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geowebcache.xml for different EPSG - pattern for Geoserver 2.1.4

2012-08-08 Thread Gabriel Roldan
It is not clear to me whether you solved your problem or not?

On Tue, Aug 7, 2012 at 12:33 AM, cmaul christian.m...@dse.vic.gov.au wrote:
 add-on: You can also enter the scale denominators directly:

 scaleDenominators
double2500/double
double250/double
double25/double
double5/double
 /scaleDenominators

 I did it the way as shown before because I am cutting raster tiles and
 cutting one genuine pixel into four looks just awful. So the resolutions tag
 .

  double0.6614596562526459/double
   double0.33072982812632296/double
   double0.2116670984669/double
 /resolutions

 tells me when to stop, i.e. if I have 35 cm/pixel photography I do not cut
 the last to resolutions, with 10cm/pixel I do. But both ways of defining are
 valid.



 -
 

 Dr Christian Maul
 Project Manager

 Information Services Branch
 Department of Sustainability and Environment
 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.n6.nabble.com/geowebcache-xml-for-different-EPSG-pattern-for-Geoserver-2-1-4-tp4992716p4993527.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geowebcache.xml for different EPSG - pattern for Geoserver 2.1.4

2012-08-04 Thread Gabriel Roldan
There you go. Not sure if the scales are what you need. Created it
through the UI. You can try it out by yourself by downloading the
latest 2.2.x snapshot[1]. Go to the Gridsets page and edit it as you
please.
Hope that helps,
Gabriel.
[1] http://gridlock.opengeo.org/geoserver/2.2.x/geoserver-2.2.x-latest-bin.zip

On Thu, Aug 2, 2012 at 11:39 AM, konto gmail spec...@gmail.com wrote:
 hi

 i try to make my EPSG:2177 to work with geoserver wms cache.

 Can anybody send/paste geowebcache.xml  file which work , i look for
 different EPSG as 4326 or 900913

 i  try to use it as pattern.


 Geoserver 2.1.4 , ubuntu 12.04





 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
?xml version=1.0 encoding=utf-8?
gwcConfiguration xmlns:xsi=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;
  version1.3.0/version
  backendTimeout120/backendTimeout
  gridSets
gridSet
  nameEPSG:2177/name
  srs
number2177/number
  /srs
  extent
coords
  double6390979.511107589/double
  double5465906.99282432/double
  double6609020.488892411/double
  double6078869.006636486/double
/coords
  /extent
  alignTopLeftfalse/alignTopLeft
  scaleDenominators
double1.0E7/double
double500.0/double
double250.0/double
double100.0/double
double50.0/double
double25.0/double
double10.0/double
double5.0/double
double25000.0/double
double1.0/double
double5000.0/double
double2500.0/double
double1000.0/double
double500.0/double
double250.0/double
double100.0/double
  /scaleDenominators
  metersPerUnit1.0/metersPerUnit
  pixelSize2.8E-4/pixelSize
  scaleNames
stringEPSG:2177:0/string
stringEPSG:2177:1/string
stringEPSG:2177:2/string
stringEPSG:2177:3/string
stringEPSG:2177:4/string
stringEPSG:2177:5/string
stringEPSG:2177:6/string
stringEPSG:2177:7/string
stringEPSG:2177:8/string
stringEPSG:2177:9/string
stringEPSG:2177:10/string
stringEPSG:2177:11/string
stringEPSG:2177:12/string
stringEPSG:2177:13/string
stringEPSG:2177:14/string
stringEPSG:2177:15/string
  /scaleNames
  tileHeight256/tileHeight
  tileWidth256/tileWidth
  yCoordinateFirstfalse/yCoordinateFirst
/gridSet
  /gridSets
  layers/
/gwcConfiguration--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Integrated geowebcache issues

2012-07-24 Thread Gabriel Roldan
Hello,

I want to help you but I'm not sure where is the problem.
Would you elaborate a bit more on how're you configuring the external
application and would you copy the geowebcache.xml file from
geoserver data dir/gwc? (that's where your definition for the
EPSG:2154 gridset is stored when you configure it through the UI).
Basically, if your external application uses the same configuration
than the demo page, it should work. Otherwise there's something
strange going on. But I can only know if you provide all the details.

Cheers,
Gabriel

On Wed, Jul 18, 2012 at 1:01 PM, Cyril.S z...@hotmail.com wrote:
 I'm trying to make use of the geowebcache integrated in geoserver to cache my
 tiles.

 I've upgraded my geoserver to version 2.2-RC1 because there is a better UI
 for geowebcache.

 My issue is that the caching only works when I try the demo link (preview
 column is the UI). When I try to access my layer from another application,
 its tiles don't get cached. I didn't find any error about this in the logs.

 On my previous geoserver version (2.1.4), I had made it by editing the
 geowebcache.xml, adding a new layer with a different name. But I don't like
 this process. I would like my layers to be automatically cached once they
 are well configured in geoserver, and no additional layers.

 For information, I'm using a custom projection (EPSG:2154), but I don't
 think it really matters since the demo works.

 I've investigated a bit the geoserver logs. I've noticed that the getmap
 requests are slightly different in the demo, there are additional
 GWC_SEED_INTERCEPT=true and transparent = true parameters. But I don't
 know if it's relevant. I would like not having to modify the requests in my
 application.

 I probably did something wrong, but I don't know what, any idea ?



 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Integrated-geowebcache-issues-tp4989112.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] obtaining TMS URL for uploaded raster

2012-07-24 Thread Gabriel Roldan
At the right of  the GeoServer home page, beneath the Service
Capabilities section, you should have a link to the TMS 1.0 root
document, and you can go from there. Something like
http://localhost:8080/geoserver/gwc/service/tms/1.0.0
Is that what you mean?

On Tue, Jul 24, 2012 at 11:38 AM, Jim Proctor jproc...@lclark.edu wrote:
 I've now successfully set up GeoServer and uploaded a GeoTIFF I can preview 
 in OpenLayers. TMS service is enabled on the GeoWebCache settings page. How 
 do I retrieve a URL along the lines of http://some.server/Z/X/Y.png for this 
 image?  I need it to run a Python routine for adding as a source to Gaia GPS 
 (www.gaiagps.com).

 Many thanks,

 Jim P.
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GWC Disk-Quota exceeded

2012-07-18 Thread Gabriel Roldan
Hi Robert,

looks like you ran out of free inodes, despite there's still space
left on the device, the file system has all its inodes allocated by
those little files.

XFS is known to do well, especially if the partition is  1TB and you
use the inode64 mount option:
http://xfs.org/index.php/XFS_FAQ#Q:_What_is_the_inode64_mount_option_for.3F

So, it looks like if you need to create so many tiles, you'll need a
new partition.
BTW, what's the partition size, file system, and disk block size you're using?
And around how many tiles did it get bloated?

Cheers,
Gabriel

On Wed, Jul 18, 2012 at 5:03 AM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 Hi,

 Ubuntu 10.04
 Geoserver 2.13

 Overnight I was creating caches of layers in geowebcache. This morning the
 server crashed. Disk-Quota Exceeded. This sounds to me like I don´t have
 enough memory on my harddrive, but when I check with  the df -l command I
 see that Use is only by 30%.

 However with df -i I see this

 FilesystemInodes   IUsed   IFree IUse% Mounted on
 /dev/vzfs18446744069458024216 18446744069416099868 41924348
 100%


 How should I interpret this? Have the gwc tiles in the caches filled up the
 sectors on the disk? But then why does is show only 38% used?

 thanks for any tips,

 Robert

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoWebCache Log error: any clues?

2012-07-17 Thread Gabriel Roldan
 ---
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
 at
 com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
 at
 com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:68)
 at
 com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
 at
 com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
 at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
 at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:899)
 at
 org.geowebcache.config.XMLConfiguration.loadConfiguration(XMLConfiguration.java:366)
 at org.geowebcache.config.XMLConfiguration.init(XMLConfiguration.java:178)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
 ... 81 more
 Caused by:
 com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot
 construct org.geowebcache.grid.SRS as it does not have a no-args constructor
 at
 com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
 at
 com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
 at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
 ... 110 more


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImageIO temp cache files written out

2012-07-11 Thread Gabriel Roldan
On Wed, Jul 11, 2012 at 2:46 PM, Andrea Aime
andrea.a...@geo-solutions.it wrote:
 Nope, it's in coverage access, the field is ImageIO cache memory
 threshold.

Right, I found that myself the hard way.
As a consequence, now If you have ImageIio cache memory threshold
unset in coverage access, when you open the gwc config page you'll
get a warning message at the top of the page stating that 'The
Coverage Access page ImageIO Cache Memory Threshold is unset, and
can cause a severe performance penalty when seeding tiles. A value of
1024K should suffice for the most common tile sizes.'

Just a FYI.
Gabriel
-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] try again: can't get geoserver to start

2012-06-28 Thread Gabriel Roldan
)
         at
 org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at
 org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
         at
 org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
         at
 org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:384)
         at
 org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
         at
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
         at
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
         at
 org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
         at
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
         at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
         at
 org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1251)
         at
 org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:613)
         at
 org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
         at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
         at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Thread.java:662)

 --
 Stephen Crawford
 Center for Environmental Informatics
 The Pennsylvania State University


 --
 Stephen Crawford
 Center for Environmental Informatics
 The Pennsylvania State University
 src...@psu.edu
 814.865.9905



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Strange state after using REST Api

2012-05-24 Thread Gabriel Roldan
(AbstractPageableView.java:258)
 at
 org.apache.wicket.markup.repeater.AbstractPageableView.getRowCount(AbstractPageableView.java:240)
 at
 org.apache.wicket.markup.repeater.AbstractPageableView.getViewSize(AbstractPageableView.java:352)
 at
 org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:105)
 at
 org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
 at
 org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
 at
 org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
 at org.apache.wicket.Component.internalBeforeRender(Component.java:1071) at
 org.apache.wicket.Component.beforeRender(Component.java:1105) at
 org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
 ... 92 more Caused by: java.lang.NoSuchMethodException: Unknown property
 'default' at
 org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122)
 at
 org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
 at
 org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
 at
 org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
 at
 org.geoserver.web.wicket.GeoServerDataProvider$BeanProperty.getPropertyValue(GeoServerDataProvider.java:475)
 ... 106 more



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] limiting parallel requests

2012-05-10 Thread Gabriel Roldan
As Andrea mentioned, up until 2.2.x I don't think gwc was ever
affected by limits.
If you have 2000 stuck threads, does that mean that your servlet
container is open to that many threads? most of them have a bounded
thread pool, and usually limit it by default to 200 or so.

Now, on to a newer version of geoserver. In 2.1.x you can set the wms
limits with control-flow, and gwc tile requests that need to generate
tiles on demand will be bound to that. In 2.2.x you can even configure
control-flow limits for gwc itself.

If upgrading to a newer geoserver version is not an option for you,
then I would recommend decoupling gwc from geoserver, setting up a
standalone gwc instance on top of your 1.7.x geoserver. And use GWC
1.3-RC3 standalone. GWC has a back end (to the WMS) concurrency level
of 32 threads per layer. You can tune that on your wmsLayer
configuration through the concurrency wmsLayer config element
http://geowebcache.org/schema/1.3.0/geowebcache.xsd

Hope that helps,
Gabriel

On Thu, May 10, 2012 at 9:35 AM, Imran Rajjad raj...@gmail.com wrote:
 Well it just happened that 2500 number of parallel requests landed on the
 integrated GWC , which also makes a getmap request further through a
 different channel on the same GS instance. This caused the container to slow
 down and show a pool of over 2000 stuck threads, however no exceptions at GS
 end.

 regards,
 Imran


 On Thu, May 10, 2012 at 5:15 PM, Andrea Aime andrea.a...@geo-solutions.it
 wrote:

 On Thu, May 10, 2012 at 2:00 PM, Imran Rajjad raj...@gmail.com wrote:

 Hi list,

 Does anybody recall how total number of parallel requests globally
 against wms and gwc, were limited in the old GS 1.7.x. A few times I have
 encountered too many threads getting stuck due to no limit on client side,
 the new version supports it very nicely, but I recall the services.xml was
 used to do this in old version. Really appreciate if somebody remembers
 because the documentation has information on limiting the size and not the
 number of requests.


 In order to limit the number of parallel requests served by GeoServer one
 can use the control-flow extension,
 but I don't believe it was available for GeoServer 1.7.x (not sure, 1.7.x
 is so old),
 and GWC has never been affected by it, at least in stable versions, afaik
 in 2.2.x it is instead

 Cheers
 Andrea

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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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




 --
 I.R

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Layer Group Visibility

2012-05-09 Thread Gabriel Roldan
The Layer advertise checkbox function is rather the inverse, being
able of hiding a layer while still being part of a layer group.
Unfortunately layer groups have no enabled or advertised
properties. They should, IMHO. There's a jira issue to add an enabled
property[1], but so far nobody has put the resources to make it
happen.

Cheers,
Gabriel
[1] http://jira.codehaus.org/browse/GEOS-4471

On Wed, May 9, 2012 at 2:34 PM, Willem Buitendyk wil...@pcfish.ca wrote:
 I'm using Geoserver 2.1.3 and have found that no matter I do I cannot hide a 
 layer group.  For all layers in the layer group I have unchecked the 
 advertise box and if accessed individually they do not appear.  However, if 
 they belong to a layer group that layer group is still visible.  How do I 
 resolve this?

 Thanks

 Willem
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoWebCache 1.3-RC3 Released

2012-05-08 Thread Gabriel Roldan
The GeoWebCache Community is glad to announce the availability of the
third Release Candidate of the 1.3 series.

GeoWebCache is a LGPL Java web application used to cache map tiles
coming from a variety of sources such as OGC Web Map Service (WMS). It
implements various service interfaces (such as WMS-C, WMTS, TMS,
Google Maps KML, Virtual Earth) in order to accelerate and optimize
map image delivery. It can also recombine tiles to work with regular
WMS clients, and comes integrated with GeoServer.

This is the third release candidate of the 1.3 series, and hopefully
the last one. So be prepared for the big 1.3.0 launch in the near
future.
If you haven't upgraded yet from GeoWebCache 1.2.x, we encourage you
to give 1.3-RC3 a try and report back any issue to the users mailing
list.

Links:
+

Download: 
https://sourceforge.net/projects/geowebcache/files/geowebcache/1.3-RC3/
Online documentation: http://geowebcache.org/docs/current/
Source code for this release:
https://github.com/GeoWebCache/geowebcache/tree/1.3-RC3
Full list of resolved issues:
https://github.com/GeoWebCache/geowebcache/issues?milestone=11page=1state=closed

Improvements:


- Added documentation on how to manage layers with the REST API.
- Added documentation on how to configure min/max cached zoom levels
and pass-through to the backend WMS for the rest of the published zoom
levels.
- Report back tile cache miss/hit, crs, gridset, and bounds as HTTP
response headers. E.g.:
 curl -v http://localhost:8080/geowebcache/service/wms?LAYERS=.
  HTTP/1.1 200 OK
  geowebcache-cache-result: HIT
  geowebcache-tile-index: [3, 5, 3]
  geowebcache-tile-bounds: -112.5,22.5,-90.0,45.0
  geowebcache-gridset: EPSG:4326
  geowebcache-crs: EPSG:4326
  Content-Type: image/gif
  Content-Length: 29083
- Various improvements to REST API to query and kill running tasks:
  * Querying for the status of seed/truncate tasks returns an array
sized by the actual number of submitted tasks instead of the thread
pool capacity;
  * Querying to /rest/seed.json returns the array of task status for
all the layers, but querying to /rest/seed/.json returns only the
submitted tasks for that specific layer;
  * The returned array contains both running and pending tasks, with
two extra bits of information: the task id and the status (pending,
running, finished, or aborted);
  * POST'ing to /rest/seed/ with the kill_all form parameter only
kills tasks for that specific layer instead of for all layers;
  * POST'ing to /rest/seed with the kill_all form parameter kills
tasks for all layers;
  * It is possible to specify whether to kill only the running tasks
(previous behavior), pending tasks, or both running and pending.


Bug fixes:


- JDBC MetaStore can get NullPointerException inside H2 connection
pool under concurrency.
- geowebcache_empty.xml template file is schema invalid in case of uncommenting.
- Error computing zoom level when truncating, metastore disabled, and
gridset id not like XXX_NNN.
- Incompatibility in returned GetCapabilities document with WMS 1.1.1 DTD.
- Unable to run GeoWebCache with OpenJDK 6.
- Can't use two GridSets for the same CRS on a single layer.
- GWC_METASTORE_DISABLED parameter sometimes ignored.
- Layers mis-configured after adding a layer through the REST interface.


-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS performance

2012-05-07 Thread Gabriel Roldan
On Mon, May 7, 2012 at 1:04 PM, Chris Holmes chol...@opengeo.org wrote:
 On Mon, May 7, 2012 at 3:42 PM, Andrea Aime
 andrea.a...@geo-solutions.it wrote:
 On Mon, May 7, 2012 at 5:30 PM, Chris Holmes chol...@opengeo.org wrote:

 It should, though you have to be sure you've also enabled direct WMS
 integration in GeoWebCache, or it'll just a small in memory tile thing in
 geoserver. I think in 2.1.3 there's an option to turn it on in the geoserver
 admin.


 Direct GWC integration + tile requests matching an official GWC grid,
 otherwise you end up
 on the standard WMS path.
 Better, imho, to hit directly GWC, if a request is not cacheable because
 outside of the
 pre-defined grid you at least get back an error message


 +1. _especially_ when testing.

If, by the other hand, you do want to use direct WMS integration, when
testing you can check the HTTP response header named
geowebcache-tile-index.
If present, the request was served by gwc, otherwise by the regular WMS.

Cheers,
Gabriel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS requests not getting into FF and Chrome cache

2012-05-02 Thread Gabriel Roldan
On Wed, May 2, 2012 at 6:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote:
 I'm not really familiar with all settings you can make in GWC. But for
 the GeoServer integrated GWC, by default, only ETag headers are used:

 Cache-Control:no-cache
 Content-Disposition:attachment; filename=medford-citylimits.png
 Content-Length:662
 Content-Type:image/png
 Date:Wed, 02 May 2012 09:20:05 GMT
 Etag:f22aa7147e100a3420768b2d05925dd
 Geowebcache-Tile-Index:[1301, 5159, 13]
 Server:Jetty(6.1.8)

 And you're right, the use case for this is layers with data that
 changes frequently.

Right. That happens only with direct WMS integration. I.e. hitting
gwc through the /geoserver/wms or /geoserver/ows?service=WMS end
points.
Reason is the feature was added to support GeoNode's dynamic changes
of styles and feature edition. That said, it would be a good thing to
be able of configuring that. It's just that there are so, so many
things that can or could be configured, that's hard to draw a line.
But in any case, feel free to raise a jira issue about it.

Cheers,
Gabriel

 Andreas.

 On Wed, May 2, 2012 at 10:58 AM, Andrea Aime
 andrea.a...@geo-solutions.it wrote:
 On Wed, May 2, 2012 at 10:44 AM, Andreas Hocevar ahoce...@opengeo.org
 wrote:

 GWC sends ETag headers. Looks like these get stripped by your IIS.


 Does it do that by default? I thought that had to be configured manually.

 Moreover... ETag requires another request to check if the tag changed,
 which is great if the tiles are used for editing for example, but for more
 long lived caches it might be better to just tell the browser to keep
 the tiles for a day or so, isnt' it?

 Cheers
 Andrea


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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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

 ---

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 --
 Andreas Hocevar
 OpenGeo - http://opengeo.org/
 Expert service straight from the developers.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cloning a workspace

2012-04-27 Thread Gabriel Roldan
On Fri, Apr 27, 2012 at 8:43 AM, Charles Galpin cgal...@lhsw.com wrote:
 I know I have asked this before, but far more often than I'd like I have the 
 need to clone a workspace. Yes, essentially everything is identical except 
 the DB name on the store (and the name of the workspace of course). I know 
 there is a rest api but haven't been given time to automate this, nor do I 
 have time myself otherwise I would do this for sure.

 Can anyone who knows about the internals tell me if featureType ids are 
 globally unique, or just unique per workspace? Because if not globally 
 unique, I think I can just copy the workspace and change the namespace id, 
 and store ids in all featuretype.xml and be done.
they're globally unique, as per what the geoserver instance concerns.
They're going to become _globally_ unique when Andrea changes the
usage of UID by UUID.

It wouldn't be hard to create a tool (like in the tools menu in the
user interface) to copy or clone a workspace and all its contents.

 I just don't want to break anything while doing this :)

 Thanks,
 charles


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver cant access my local drive

2012-04-26 Thread Gabriel Roldan
plz help won't get you any closer to an answer. You need to provide
as much information as you can so that the other people in the list
don't have to guess what you're doing, what you're expecting, and
what's actually happening. Always provide which version of every piece
of relevant software your're using (operating system, servlet
container, geoserver version, etc).

Cheers,
Gabriel

On Thu, Apr 26, 2012 at 1:54 PM, golfakias83 golfakia...@gmail.com wrote:
 plz help!!

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Geoserver-cant-access-my-local-drive-tp4911053p4931279.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cached Store

2012-04-20 Thread Gabriel Roldan
If you mean, building up some sort of image pyramid coverage store out
of a seeded tile cache, that'd be neat and certainly something that
already crossed my mind. But no, you can't do that, so far. If you're
into coding it'd be a really cool contribution though.

Cheers,
Gabriel

2012/4/20 Nikolaos Theodosakis nick.the...@hotmail.com:
 Hi!
 Can i delete a specific store and use the cached directory as store that
 geowebcache made?
 Thank you!

 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tiny improvement to GWC seeding tool

2012-04-19 Thread Gabriel Roldan
yup, that'd be cool.
Mind raising an improvement request?
https://github.com/GeoWebCache/geowebcache/issues

Cheers,
Gabriel

On Wed, Apr 18, 2012 at 1:08 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I am reseeding GWC cache with new orthophotos scattered around the country 
 and it starts to irritate to copy-paste min-max values of the BBOX to four 
 separate input boxes.  I would like to see another box in the UI that accepts 
 minx,miny,maxx,maxy as a one comma separated string or as WKT formatted 
 polygon.

 -Jukka Rahkonen-
 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.1.3 and GWC Tile Zoom Limit

2012-04-18 Thread Gabriel Roldan
Hi Bryan,

glad you figured it out.
For the record, GWC's 900913 gridset used to come with 31 zoom levels.
That means up to 0.0001m pixel resolution, which also means a full
coverage of 1000 billions x 1000 billions tiles at the higher zoom
level. Which, if my math is correct, means a fully seeded layer with a
rather small average tile size of 4KB would take more than 3.7 billion
terabytes. Besides I don't think there's a single GIS dataset with a
spatial resolution of 1x10-4m.
The WMTS spec defines it up to zoom level 18. That proved to be too
low for some users, so on trunk we restored back the gridset
definition to its original shape. But I still think it wouldn't make
sense for zoom level  24 (i.e. almost 1mm spatial resolution), which
is still 33.5M x 33.5M tiles at full world coverage. Which still would
be 4 billion terabytes for the highest zoom level with 4KB tiles.
Hopefully you define your layers with a restricted number of zoom
levels. But it'd make sense to have something saner as a default
value, hence the idea on limiting the number for pre-defined zoom
levels, although you can extend them if you want.

Cheers,
Gabriel

On Wed, Apr 18, 2012 at 5:41 PM, Hall, Bryan D Civ USAF AFSPC 38
OSS/OSM bryan.hall@tinker.af.mil wrote:
 That figures… after I give up and write that email, I find the answer:



 http://osgeo-org.1560.n6.nabble.com/GeoServer-tiles-generation-issue-above-zoom-level-18-in-Google-Maps-td4356763.html



 I just had to extend it to level 22, and it works fine now. After the server
 upgrade, I’ll write something up on this.



 Regards,



 Bryan Hall




 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Error on resolution settings

2012-04-15 Thread Gabriel Roldan
apparently we lost the ability of logging the full wms request with
the stack trace. I'll file a bug report about that.
But in any case it looks more like the client is misconfigured or
trying to use the WMS-C end point as a pure WMS.
Check out the list of advertised resolutions for the two gridsets, the
requested one (0.11861801147460932) is way too far from any of them:
view-source:http://atlas.track.gov.au:8080/geoserver/gwc/demo/HCVAE?gridSet=EPSG:4326format=image/png
view-source:http://atlas.track.gov.au:8080/geoserver/gwc/demo/HCVAE?gridSet=EPSG:900913format=image/png

I'd say that except if you're actually experiencing this with a valid
request, as your service is public, it looks more like someone is
playing with it with a wms client instead of a wms-c one?

Cheers,
Gabriel

On Sun, Apr 15, 2012 at 9:09 PM, John Brisbin j...@boab.info wrote:
 G'Day all,
 We started seeing this message popping up in the logs after a big
 session of adding new data to our GeoServer 2.1.2 installation,
 Has anyone seen similar or have a clue where to track this down?
  
 575 ERROR [geowebcache.GeoWebCacheDispatcher] - Requested horizontal
 resolution: 0.11861801147460932 , best match: 0.087890625 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://atlas.track.gov.au:8080/geoserver/gwc/service/wms
 
 Is there some way to figure out which layer is requesting the bad
 resolution?
 Thanks in advance,
 JB

 --
 John Brisbin
 Managing Director, BoaB interactive Pty Ltd
 POB 802 Townsville, QLD 4810

 M: 0407 471 565 | P: 07 3103 0574
 Skype: boabjohn | Twitter: @boabjohn


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Error on resolution settings

2012-04-15 Thread Gabriel Roldan
On Sun, Apr 15, 2012 at 9:53 PM, Gabriel Roldan grol...@opengeo.org wrote:
 apparently we lost the ability of logging the full wms request with
 the stack trace. I'll file a bug report about that.
 But in any case it looks more like the client is misconfigured or
 trying to use the WMS-C end point as a pure WMS.
 Check out the list of advertised resolutions for the two gridsets, the
 requested one (0.11861801147460932) is way too far from any of them:
 view-source:http://atlas.track.gov.au:8080/geoserver/gwc/demo/HCVAE?gridSet=EPSG:4326format=image/png
 view-source:http://atlas.track.gov.au:8080/geoserver/gwc/demo/HCVAE?gridSet=EPSG:900913format=imag
  ise/png

 I'd say that except if you're actually experiencing this with a valid
 request, as your service is public, it looks more like someone is
 playing with it with a wms client instead of a wms-c one?

That is, if it turns out it's not a problem in the server, but just a
client making bad requests, the log message shouldn't be logged as
ERROR, but perhaps just at the debug or info level. Bad user input is
not a server problem, and the error response an expected output.
Unfortunately both the geoserver and geowebcache code bases are
infested of this mistake, presumably just because the developer
thought it was easy to catch his attention during testing.

So try to check whether some application if yours or your users is
failing when hitting the server with valid input, and if it's not (as
it seems to be the case), just ignore the log message.

regards,
Gabriel

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] REST API layer thumbnails?

2012-04-15 Thread Gabriel Roldan
On Sun, Apr 15, 2012 at 10:23 PM, Adon Metcalfe adon.metca...@gmail.com wrote:
 I had the same problem and ended up crafting a WMS GetMap request based on
 the bounding box retreived via REST, with a proportional size, e.g.

 GET /geoserver/rest/workspaces/myworkspace/featuretypes/mylayer.json

 
 'latLonBoundingBox': {u'crs': u'EPSG:4326',
    u'maxx': 129.00192885,
    u'maxy': -10.412389867,
    u'minx': 96.816817116,
    u'miny': -35.189938267},
 
 then create url like:

 GET
 /geoserver/myworkspace/wms?STYLES=LAYERS=mylayerSERVICE=WMSFORMAT=image/pngMAXFEATURES=10REQUEST=GETMAPSRS=EPSG:4326HEIGHT=395WIDTH=800VERSION=1.1.1BBOX=96.816817116,-10.412389867,129.00192885,-35.189938267

 I'm proportionally calculating the pixels from the ratio of x/y, it does the
 job =)

hint: you can save yourself some work by using the wms reflector
instead. For example:
http://demo.opengeo.org/geoserver/wms/reflect?layers=topp:states
It till fill up automatically any missing parameter to some sensible default.

Cheers,
Gabriel

 On Mon, Apr 16, 2012 at 9:03 AM, Jay L. jzl5...@psu.edu wrote:

 List,

 I am using the REST API to create a layer picker (using openlayers) which
 programmatically displays the the available wms layers in a given
 workspace.  In this way users can explore the layer metadata prior to adding
 them to the map and thereby reducing load time so lots of layers are not
 loaded onto the page.

 I want to provide the user with a representative thumbnail of the image in
 this layer picker.  I am currently doing this via a flat file system where I
 take a screenshot of the layer in QGIS and then resize it for display on the
 webpage.  The metadata is loading programmatically, but the thumbnails are
 hand codednot good!

 Is it possible to access a preview of a wms layer via the REST API?

 Thanks,
 Jay


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2

 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 --
 Regards,

 Adon Metcalfe

 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2

 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem using the control-flow extension

2012-04-12 Thread Gabriel Roldan
Did you create a controlflow.properties file in the data directory
with some rules as exemplified in the documentation?

On Thu, Apr 12, 2012 at 1:01 PM, David R Robison
drrobi...@openroadsconsulting.com wrote:
 I am trying to use the control-flow extension built from the trunk but
 it does not seem to be being activated. The only possible error I see in
 the log is

 11:56:19,489 SEVERE [org.geoserver] (MSC service thread 1-3) Extension
 lookup occured, but ApplicationContext is unset.

 Is there something I need to do to include the extension? David

 --

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



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


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem using the control-flow extension

2012-04-12 Thread Gabriel Roldan
On Thu, Apr 12, 2012 at 5:13 PM, David R Robison
drrobi...@openroadsconsulting.com wrote:
 Yes. I think it is working now. I guess I expected some output
 indicating that it was active.
yeah, it'd be good to have something logged.

I am getting Out Of Memory exceptions
 when running 330 concurrent users, even when setting ows.wms=20. Not
 sure what is going on... David

hmmm dunno. Make sure the OOM is not due to a small perm gen space
(run java with -XX:MaxPermSize=256m or so).
Other than that, is it possible that even 20 concurrent getmap
requests are producing a heap OOM? how big are the images being
requested and what's the -Xmx jvm argument.
The more information you can provide to the list the higher the chance
to get a solution. Id there a stack trace?

Cheers,
Gabriel


 On 4/12/2012 2:41 PM, Gabriel Roldan wrote:
 Did you create a controlflow.properties file in the data directory
 with some rules as exemplified in the documentation?

 On Thu, Apr 12, 2012 at 1:01 PM, David R Robison
 drrobi...@openroadsconsulting.com  wrote:
 I am trying to use the control-flow extension built from the trunk but
 it does not seem to be being activated. The only possible error I see in
 the log is

 11:56:19,489 SEVERE [org.geoserver] (MSC service thread 1-3) Extension
 lookup occured, but ApplicationContext is unset.

 Is there something I need to do to include the extension? David

 --

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



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


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



 --

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



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




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE database geoserver WMS getFeatureInfo request

2012-04-10 Thread Gabriel Roldan
On Tue, Apr 10, 2012 at 5:05 PM, Andrea Aime
andrea.a...@geo-solutions.it wrote:

 Il giorno 10/apr/2012 02:56, cmaul christian.m...@dse.vic.gov.au ha
 scritto:


 There is also a completely absurd behaviour with views. A view containing
 the parcel table above and additional non-spatial fields returns
 getFeatureInfo information in an instant until you start to pan or zoom a
 5-6 times and then it does the full table scan as again. Why is that so?

 Geoserver does two queries, one to determine how many features are in the
 pixel you queried and one to determine the actual features. Normally that is
 pretty fast since the area queried is so small, I guess either the SDE
 connector is missing some optimization or the underlying database is missing
 either a spatial index or has outdates statistics and it is not using the
 index. Hard to tellwithout access to the actual data.

The ArcSDE connector can't do optimized count on ArcSDE + Oracle
_only_ if the table is registered as versioned in ArcSDE. The
proprietary arcsde jar produces an error if you try to compute table
statistics on versioned tables. That said, by looking at the code [1]
it looks to me like there's actually a bug in there. I think the query
scan should only be done if that's the case, but the control statement
is not enclosing it. But I am not sure, would need to re-test it and
document what's the actual behavior with oracle. Can't do that right
now though due to other priorities. Chances are you create a jira
issue and assign it to me so I don't forget, or if you have some
coding skills you can send a patch.

Cheers,
Gabriel

[1] 
https://github.com/geotools/geotools/blob/2.7.x/modules/plugin/arcsde/datastore/src/main/java/org/geotools/arcsde/data/ArcSDEQuery.java#L613

 Cheers
 Andrea


 Cheers

 Christian


 -
 

 Dr Christian Maul
 Project Manager

 Information Services Branch
 Department of Sustainability and Environment
 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.n6.nabble.com/ArcSDE-database-geoserver-WMS-getFeatureInfo-request-tp4722371p4722371.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoServer 2.1.3 GeoWebCaching error

2012-04-05 Thread Gabriel Roldan
That is strange, I thought that issue should be fixed on 2.1.3 already
as per http://jira.codehaus.org/browse/GEOS-4993

Would you indicate the exact steps to reproduce?
Does it happen both if you were already logged into geoserver and not?

2012/4/5 marwa El-said melsaid2...@hotmail.com:
 Dear all,

 I'm using geoServer version 2.1.3, but when i used the geoWebcache Service i
 found the following error:
 Unknown or malformed request. Please try again, somtimes the form is not
 properly received. This frequently happens on the first POST after a
 restart. The POST was to /geoserver/gwc/rest/seed/nsce:Cairo

 I don't know what happened and how can i avoid this error and run caching on
 the right way?...

 Regards,

 Marwa Elsaid


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] XY get swapped after WFS-T Update with EPSG:3007

2012-03-30 Thread Gabriel Roldan
Jukka, you're right the transaction should come with the urn style crs
identifier.
The behavior is not a bug, is by design. As he's using WFS 1.1, the
urn style crs identifier should be used to respect the ESPG database
axis order. Using the EPSG:xxx crs style identifier to mean force
X/Y lon/lat axis order


Cheers,
Gabriel

On Fri, Mar 30, 2012 at 1:05 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 You are right, things should go in a similar way, right or wrong, with both 
 inserts and updates. This feels like a bug.

 Could you have another try with this urn-style srsName
 urn:ogc:def:crs:EPSG::3007

 And then it would not harm to add srsName also to the geometries in 
 inserts/updates. Then there is less play with the defaults. We seem to get 
 this kind of inputs for our system

 gml:Point srsName=urn:ogc:def:crs:EPSG::3067
 gml:pos srsDimension=2385338.63323124044 6680121.5237366/gml:pos
 /gml:Point

 -Jukka Rahkonen-

 Sjoerd Brandsma wrote:

 Hi Jukka,

 Thanks for your answer. I'm not really an coordinate system export but
 when it's an easting, northing issue things should also fail when
 doing an insert?

 What basically happens (when using EPSG:3007 and Geoserver 2.1.1):

 Insert two values (let's call them A and B) with WFS-T insert. With
 Postgresql this is read back as A,B
 Update two values (let's call them A' and B') with WFS-T update. With
 Postgresql this is read back as B', A'

 I cannot think of any reason why I should swap A and B when doing an
 update and not doing this with an insert.


 Thanks for your help.

 Best regards,
 Sjoerd Brandsma
 CycloMedia

 On Fri, Mar 30, 2012 at 6:26 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
  Hi,
  Are these EPSG data correct?
 
 
 http://www.epsg-registry.org/report.htm?type=selectionentity=
 urn:ogc:def:crs:EPSG::3007reportDetail=shortstyle=urn:uuid:report- 
 style:default-with-urnstyle_name=OGP%20Default%20With%20Urntitle=swe
 
  It tells that the first coordinate is northing, second
 easting. PostGIS lists coordinates always as easting,
 northing.  If EPSG info is t´right, you should flip the
 coordinates in your update GML into
  gml:pos 6397415.081100176 145944.27274535838/gml:pos
 
  -Jukka Rahkonen-
  
  Sjoerd Brandsma wrote:
 
  Hi,
 
  I'm experiencing some weird problems with a WFS-T update
 with EPSG:3007.
 
  When inserting a point with the following transaction:
 
  wfs:Transaction service=WFS version=1.1.0
  xmlns:wfs=http://www.opengis.net/wfs;
   wfs:Insert inputFormat=text/xml; subtype=gml/3.1.1
 srsName=EPSG:3007
     SE:inventory_project_e45got_verkeer_2012
  xmlns:SE=http://www.cyclomedia.se;
       SE:the_geom xlink:type=simple
  xmlns:xlink=http://www.w3.org/1999/xlink;
         gml:Point xmlns:gml=http://www.opengis.net/gml;
           gml:pos145944.27274535838 6397415.081100176/gml:pos
         /gml:Point
       /SE:the_geom
     /SE:inventory_project_e45got_verkeer_2012
   /wfs:Insert
  /wfs:Transaction
 
  The following PostgreSql is executed to get the point information:
  SELECT st_asewkt(the_geom) FROM
 inventory_project_e45got_verkeer_2012
  This gives the following (correct) result:
  SRID=3007;POINT(145944.272745358 6397415.08110018)
 
  Then an update transaction is performed:
 
  wfs:Transaction service=WFS version=1.1.0
  xmlns:wfs=http://www.opengis.net/wfs;
   wfs:Update typeName=SE:inventory_project_e45got_verkeer_2012
  inputFormat=text/xml; subtype=gml/3.1.1 srsName=EPSG:3007
  xmlns:SE=http://www.cyclomedia.se;
     wfs:Property
       wfs:NameSE:the_geom/wfs:Name
       wfs:Value
         gml:Point xmlns:gml=http://www.opengis.net/gml;
           gml:pos145944.30681447688 6397415.045897427/gml:pos
         /gml:Point
       /wfs:Value
     /wfs:Property
     ogc:Filter xmlns:ogc=http://www.opengis.net/ogc;
       ogc:GmlObjectId
  gml:id=inventory_project_e45got_verkeer_2012.696
  xmlns:gml=http://www.opengis.net/gml/
     /ogc:Filter
   /wfs:Update
 
  With the SQL query the point now has X and Y swapped
  SRID=3007;POINT(6397415.04589743 145944.306814477)
 
 
  Any idea what can be the problem here?
 
  Thanks,
 
  Sjoerd Brandsma
  CycloMedia
 
 
 --
 
  This SF email is sponsosred by:
  Try Windows Azure free for 90 days Click Here
  http://p.sf.net/sfu/sfd2d-msazure
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users

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



-- 
Gabriel Roldan
OpenGeo - http

Re: [Geoserver-users] XY get swapped after WFS-T Update with EPSG:3007

2012-03-30 Thread Gabriel Roldan
gah, that happens for reading too quickly and replying without thinking.
Looks like a bug indeed.

On Fri, Mar 30, 2012 at 1:52 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I did not read the original message propertly either. The real problem is 
 that the similar gml:Point leads to different axis order with wfs:Insert and 
 wfs:Update. Thas feels odd.

 -Jukka-


 
 Lähettäjä: Gabriel Roldan [grol...@opengeo.org]
 Lähetetty: 30. maaliskuuta 2012 22:42
 Vastaanottaja: Rahkonen Jukka
 Kopio: Sjoerd Brandsma; geoserver-users@lists.sourceforge.net
 Aihe: Re: [Geoserver-users] XY get swapped after WFS-T Update with EPSG:3007

 Jukka, you're right the transaction should come with the urn style crs
 identifier.
 The behavior is not a bug, is by design. As he's using WFS 1.1, the
 urn style crs identifier should be used to respect the ESPG database
 axis order. Using the EPSG:xxx crs style identifier to mean force
 X/Y lon/lat axis order


 Cheers,
 Gabriel

 On Fri, Mar 30, 2012 at 1:05 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 You are right, things should go in a similar way, right or wrong, with both 
 inserts and updates. This feels like a bug.

 Could you have another try with this urn-style srsName
 urn:ogc:def:crs:EPSG::3007

 And then it would not harm to add srsName also to the geometries in 
 inserts/updates. Then there is less play with the defaults. We seem to get 
 this kind of inputs for our system

 gml:Point srsName=urn:ogc:def:crs:EPSG::3067
 gml:pos srsDimension=2385338.63323124044 6680121.5237366/gml:pos
 /gml:Point

 -Jukka Rahkonen-

 Sjoerd Brandsma wrote:

 Hi Jukka,

 Thanks for your answer. I'm not really an coordinate system export but
 when it's an easting, northing issue things should also fail when
 doing an insert?

 What basically happens (when using EPSG:3007 and Geoserver 2.1.1):

 Insert two values (let's call them A and B) with WFS-T insert. With
 Postgresql this is read back as A,B
 Update two values (let's call them A' and B') with WFS-T update. With
 Postgresql this is read back as B', A'

 I cannot think of any reason why I should swap A and B when doing an
 update and not doing this with an insert.


 Thanks for your help.

 Best regards,
 Sjoerd Brandsma
 CycloMedia

 On Fri, Mar 30, 2012 at 6:26 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
  Hi,
  Are these EPSG data correct?
 
 
 http://www.epsg-registry.org/report.htm?type=selectionentity=
 urn:ogc:def:crs:EPSG::3007reportDetail=shortstyle=urn:uuid:report- 
 style:default-with-urnstyle_name=OGP%20Default%20With%20Urntitle=swe
 
  It tells that the first coordinate is northing, second
 easting. PostGIS lists coordinates always as easting,
 northing.  If EPSG info is t´right, you should flip the
 coordinates in your update GML into
  gml:pos 6397415.081100176 145944.27274535838/gml:pos
 
  -Jukka Rahkonen-
  
  Sjoerd Brandsma wrote:
 
  Hi,
 
  I'm experiencing some weird problems with a WFS-T update
 with EPSG:3007.
 
  When inserting a point with the following transaction:
 
  wfs:Transaction service=WFS version=1.1.0
  xmlns:wfs=http://www.opengis.net/wfs;
   wfs:Insert inputFormat=text/xml; subtype=gml/3.1.1
 srsName=EPSG:3007
     SE:inventory_project_e45got_verkeer_2012
  xmlns:SE=http://www.cyclomedia.se;
       SE:the_geom xlink:type=simple
  xmlns:xlink=http://www.w3.org/1999/xlink;
         gml:Point xmlns:gml=http://www.opengis.net/gml;
           gml:pos145944.27274535838 6397415.081100176/gml:pos
         /gml:Point
       /SE:the_geom
     /SE:inventory_project_e45got_verkeer_2012
   /wfs:Insert
  /wfs:Transaction
 
  The following PostgreSql is executed to get the point information:
  SELECT st_asewkt(the_geom) FROM
 inventory_project_e45got_verkeer_2012
  This gives the following (correct) result:
  SRID=3007;POINT(145944.272745358 6397415.08110018)
 
  Then an update transaction is performed:
 
  wfs:Transaction service=WFS version=1.1.0
  xmlns:wfs=http://www.opengis.net/wfs;
   wfs:Update typeName=SE:inventory_project_e45got_verkeer_2012
  inputFormat=text/xml; subtype=gml/3.1.1 srsName=EPSG:3007
  xmlns:SE=http://www.cyclomedia.se;
     wfs:Property
       wfs:NameSE:the_geom/wfs:Name
       wfs:Value
         gml:Point xmlns:gml=http://www.opengis.net/gml;
           gml:pos145944.30681447688 6397415.045897427/gml:pos
         /gml:Point
       /wfs:Value
     /wfs:Property
     ogc:Filter xmlns:ogc=http://www.opengis.net/ogc;
       ogc:GmlObjectId
  gml:id=inventory_project_e45got_verkeer_2012.696
  xmlns:gml=http://www.opengis.net/gml/
     /ogc:Filter
   /wfs:Update
 
  With the SQL query the point now has X and Y swapped
  SRID=3007;POINT(6397415.04589743 145944.306814477)
 
 
  Any idea what can be the problem here?
 
  Thanks,
 
  Sjoerd Brandsma
  CycloMedia
 
 
 --
 
  This SF email is sponsosred

Re: [Geoserver-users] Full WMS with integrated geowebcache

2012-03-28 Thread Gabriel Roldan
On Tue, Mar 27, 2012 at 8:44 PM, Mark Volz volzm...@yahoo.com wrote:
 Gabriel,

 Thank you for your reply.  I tried to modify geowebcache.xml, and geoserver
 would not start at all.
That's unfortunate, but I can only share your pain. If you give some
more information on what you tried and what errors you're getting I
would perhaps also be able to help you :)

 I also tried to copy the file
 geowebcache-wms-context.xml.  Geoserver started, but would not work with
 regular wms clients.
copying it where? could you be more specific? I don't think you should
be doing that?

Cheers,
Gabriel

 Mark


 
 From: Gabriel Roldan grol...@opengeo.org
 To: Mark Volz volzm...@yahoo.com
 Cc: geoserver-users@lists.sourceforge.net
 geoserver-users@lists.sourceforge.net
 Sent: Monday, March 26, 2012 11:42 PM
 Subject: Re: [Geoserver-users] Full WMS with integrated geowebcache

 It should be possible, as long as you go through the regular gwc
 endpoint (i.e. /geoserver/gwc/service/wms) instead of using direct
 wms integration (i.e. /geoserver/wms), and you set the fullWMS
 property to true in data dir/gwc/geowebcache.xml.

 That said I never tried it myself, but it should work as long as it
 works on the standalone gwc version.

 Cheers,
 Gabriel

 On Sun, Mar 25, 2012 at 12:14 PM, Mark Volz volzm...@yahoo.com wrote:
 Hello,

 Can we use the integrated GeoWebCache to serve to regular WMS clients?
 Please see the seciton on Support for Regular WMS Clients in
 http://geowebcache.org/docs/current/services/wms.html

 Thanks



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




 --
 Gabriel Roldan
 OpenGeo - http://opengeo.org
 Expert service straight from the developers.





-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Geoserver showing stale tiles

2012-03-28 Thread Gabriel Roldan
What kind of update?
Did you clear your web browser cache?

On Wed, Mar 28, 2012 at 1:15 AM, vm86 sit.r...@gmail.com wrote:
 Hai,

 I have a problem with geoserver. It seems that the geoserver is caching the
 old tiles, even though there is an update. But if I zoom in/out I can see
 the updated tiles. Is it a common problem or am I doing some thing wrong ?
 Can any one help me on this issue.


 Thanks and Regards,
 VM

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Geoserver-showing-stale-tiles-tp4663507p4663507.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Full WMS with integrated geowebcache

2012-03-26 Thread Gabriel Roldan
It should be possible, as long as you go through the regular gwc
endpoint (i.e. /geoserver/gwc/service/wms) instead of using direct
wms integration (i.e. /geoserver/wms), and you set the fullWMS
property to true in data dir/gwc/geowebcache.xml.

That said I never tried it myself, but it should work as long as it
works on the standalone gwc version.

Cheers,
Gabriel

On Sun, Mar 25, 2012 at 12:14 PM, Mark Volz volzm...@yahoo.com wrote:
 Hello,

 Can we use the integrated GeoWebCache to serve to regular WMS clients?
 Please see the seciton on Support for Regular WMS Clients in
 http://geowebcache.org/docs/current/services/wms.html

 Thanks


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




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Cascading remote WMS in Geoserver

2012-03-21 Thread Gabriel Roldan
I tried with trunk, but as far as I can tell the 2.1.x series' wms
client is identical.
Have you tried other combinations of geoserver version and JDK
version? Unfortunately I don't have time to dig deeper with so little
detail. If there's a stack trace or error message it'd be easier to
diagnose.

On Wed, Mar 21, 2012 at 5:39 AM, Mustafa646 noorc...@gmail.com wrote:
 I am using Geoserver 2.1 nighty version. The exact link is below:

 http://gridlock.opengeo.org/geoserver/2.1.x/geoserver-2.1.x-latest-bin.zip

 I am woring with this version since last one year and everything goes
 perfect except the problem i mentioned, it could not preview remote wms
 layer in openlayers.



 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Cascading-remote-WMS-in-Geoserver-tp4636976p4639879.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Third party WMS getcapability URL

2012-03-21 Thread Gabriel Roldan
On Wed, Mar 21, 2012 at 8:03 AM, Mustafa646 noorc...@gmail.com wrote:

 i need some third party WMS Getcapabilities URLs. From where i can get those
 URLs.

Google?
I want to test those URLs in my Geoserver.

 Please send some links


 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Third-party-WMS-getcapability-URL-tp4640224p4640224.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


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

2012-03-21 Thread Gabriel Roldan
I don't think it's postgis specific, but WMS'.

Grab the generated URL for the image and do curl -v url  /dev/null
There's hopefully a response http header telling you what's going on.
It can be either of the WMS settings Max rendering memory, Max
rendering time, Max rendering errors.

Hope that helps,
Gabriel
On Wed, Mar 21, 2012 at 11:40 AM, vrbikdan vrbik...@gmail.com wrote:
 Hi all,
 funny thing. If I have web broswer as full window my postgis layer doesn't
 show. But after resizing broswer window and make it smaller, everything is
 ok. Is any restriction in resolution of untiled postgis layer? Or is problem
 anywhere in geoserver, postgis or openlayers?

 For loading layer I'm using this code:

 pscAvonWMS = new OpenLayers.Layer.WMS(
                    zony, http://localhost:8080/geoserver/zk/wms;,
                    {
                        layers: 'zk:pscAvonDB',
                        styles: '',
                        srs: 'EPSG:4326',
                        format: 'image/png',
                        tilesOrigin : map.maxExtent.left + ',' +
 map.maxExtent.bottom,
                        transparent: 'true'
                    },
                        {singleTile: true,
                        yx : {'EPSG:4326' : false}}
                );

 And if I use shapefile instead of postgis, everythink is ok. Do you have any
 idea where is problem?
 Thanks a lot
 Dan

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

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] List of valid resolutions in Geowebcache

2012-03-20 Thread Gabriel Roldan
Hi Steve, moving the discussion to the geowebcache-users list as the
topic's gonna be of more relevance there. Still cc'ing the
geoserver-users list for this last message though.

On Tue, Mar 20, 2012 at 11:10 AM, Stephen V. Mather
s...@clevelandmetroparks.com wrote:
 We have a semi-official one for Ohio State Plane North that allows for 
 engineering scales at the higher resolutions.  I say semi-official, as the 
 State doesn't care, but we do.

sounds good to me, as long as there's more than one entity using it.
What about we start with a wiki page [1] where we start collecting
these gridset definitions so that they can be easily shared with
others and we include them in future gwc releases? Sounds like a good
idea?

Note GridSets have a description attribute now, so it'd be good if
these shared gridset definitions have a description of its intended
purpose, audience, author, whatever is relevant. Some examples from
the WMTS spec:

GlobalCRS84Scale: This well-known scale set has been defined for
global cartographic products. Rounded scales have been chosen for
intuitive cartographic representation of vector data. Scale
denominator is only accurate near the equator.

GoogleMapsCompatible: 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.

GoogleCRS84Quad: This well-known scale set has been defined to allow
quadtree pyramids in CRS84. Level 0 allows representing the whole
world in a single 256x256 pixels (where the first 64 and last 64 lines
of the tile are left blank). 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.

and so on..

[1] https://github.com/GeoWebCache/geowebcache/wiki/Community-GridSets

Cheers,
Gabriel

 Steve

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





 -Original Message-
 From: Gabriel Roldan [mailto:grol...@opengeo.org]
 Sent: Monday, March 19, 2012 5:34 PM
 To: Rahkonen Jukka
 Cc: geoserver-users@lists.sourceforge.net
 Subject: Re: [Geoserver-users] List of valid resolutions in Geowebcache

 Hey Jukka,
 that's cool. Have you tried the GridSet configuration user interface
 in GeoServer trunk?
 It'd be cool to have those recommended tile matrix sets included out
 of the box, and any other official or semi-officially defined ones for
 other projections.

 Cheers,
 Gabriel
 On Mon, Mar 19, 2012 at 10:10 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 It is your decision. In Finland we made a public recommendation for 
 ETRS-TM35FIN grids (EPSG:3067). Resolution table is on page 12 of the 
 document annex 
 http://docs.jhs-suositukset.fi/jhs-suositukset/JHS180_liite1/JHS180_liite1.pdf
  and it turns like this into geowebcache.xml

 gridSets
 gridSet
  nameJHS180:EPSG:3067/name
  srsnumber3067/number/srs
  extent
   coords
    double-548576/double
    double6291456/double
    double1548576/double
    double8388608/double
   /coords
  /extent
  alignTopLeftfalse/alignTopLeft
  resolutions
   double8192/double
   double4096/double
   double2048/double
   double1024/double
   double512/double
   double256/double
   double128/double
   double64/double
   double32/double
   double16/double
   double8/double
   double4/double
   double2/double
   double1/double
   double0.5/double
   double0.25/double
   !-- define the complete set of resolutions --
  /resolutions
  tileHeight256/tileHeight
  tileWidth256/tileWidth
  /gridSet
  gridSet

 -Jukka Rahkonen-

 -Alkuperinen viesti-
 Lhettj: Mustafa646 [mailto:noorc...@gmail.com]
 Lhetetty: 19. maaliskuuta 2012 13:59
 Vastaanottaja: geoserver-users@lists.sourceforge.net
 Aihe: [Geoserver-users] List of valid resolutions in Geowebcache

 i am adding a custom projection to geowebcache EPSG:3011. I
 have added all
 the require parameters like name, srs number, srs extent etc.
 But i dont
 know what values should i use for resolutions tag for EPSG:3011
 projection. i see this example
 http://geowebcache.org/docs/current/configuration/layers/proje
 ctions.html

 in this example, the list of resolutions values are defined
 for EPSG: 2263.

 similarly, i want to know which resolutions values should i
 use for EPSG:
 3011.



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/List-of-valid-resolutions-
 in-Geowebcache-tp4633017p4633017.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure

Re: [Geoserver-users] Cascading remote WMS in Geoserver

2012-03-20 Thread Gabriel Roldan
It looks good to me (see attached). What GeoServer version are you using?

On Tue, Mar 20, 2012 at 11:59 AM, Mustafa646 noorc...@gmail.com wrote:
 i am publishing a layer from remote WMS server by using this Capabilities
 URL:
 http://www2.demis.nl/wms/wms.asp?wms=WorldMaprequest=getcapabilitiesversion=1.0.7

 I publish Topography layer from list of layers. The layer published
 successfully, but when i preview it in openlayers, i could not see the
 layer, it only shows a grid with brown color.

 i am following this link:

 http://geo-solutions.blogspot.se/2010/10/wms-cascading-in-latest-geoserver.html

 can anybody explain why layer is not viewing? any suggestion?

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Cascading-remote-WMS-in-Geoserver-tp4636976p4636976.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
attachment: cascaded_topography_layer.png--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] List of valid resolutions in Geowebcache

2012-03-19 Thread Gabriel Roldan
Hey Jukka,
that's cool. Have you tried the GridSet configuration user interface
in GeoServer trunk?
It'd be cool to have those recommended tile matrix sets included out
of the box, and any other official or semi-officially defined ones for
other projections.

Cheers,
Gabriel
On Mon, Mar 19, 2012 at 10:10 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 It is your decision. In Finland we made a public recommendation for 
 ETRS-TM35FIN grids (EPSG:3067). Resolution table is on page 12 of the 
 document annex 
 http://docs.jhs-suositukset.fi/jhs-suositukset/JHS180_liite1/JHS180_liite1.pdf
  and it turns like this into geowebcache.xml

 gridSets
  gridSet
    nameJHS180:EPSG:3067/name
    srsnumber3067/number/srs
    extent
      coords
       double-548576/double
       double6291456/double
       double1548576/double
       double8388608/double
      /coords
    /extent
    alignTopLeftfalse/alignTopLeft
    resolutions
      double8192/double
      double4096/double
      double2048/double
      double1024/double
      double512/double
      double256/double
      double128/double
      double64/double
      double32/double
      double16/double
      double8/double
      double4/double
      double2/double
      double1/double
      double0.5/double
      double0.25/double
      !-- define the complete set of resolutions --
    /resolutions
    tileHeight256/tileHeight
    tileWidth256/tileWidth
   /gridSet
   gridSet

 -Jukka Rahkonen-

 -Alkuperäinen viesti-
 Lähettäjä: Mustafa646 [mailto:noorc...@gmail.com]
 Lähetetty: 19. maaliskuuta 2012 13:59
 Vastaanottaja: geoserver-users@lists.sourceforge.net
 Aihe: [Geoserver-users] List of valid resolutions in Geowebcache

 i am adding a custom projection to geowebcache EPSG:3011. I
 have added all
 the require parameters like name, srs number, srs extent etc.
 But i dont
 know what values should i use for resolutions tag for EPSG:3011
 projection. i see this example
 http://geowebcache.org/docs/current/configuration/layers/proje
 ctions.html

 in this example, the list of resolutions values are defined
 for EPSG: 2263.

 similarly, i want to know which resolutions values should i
 use for EPSG:
 3011.



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/List-of-valid-resolutions-
 in-Geowebcache-tp4633017p4633017.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Username, password in Geowebcache

2012-03-19 Thread Gabriel Roldan
Perhaps you should route this question to the geowebcache users
mailing list. In any case, yes, those are the user credentials you
should use as long as you're using the standalone version of gwc. If
using the geoserver integrated one, then the geoserver's admin
user/pwd.

What version of gwc are you using? perhaps it's a bug in that specific version


On Mon, Mar 19, 2012 at 8:12 AM, Mustafa646 noorc...@gmail.com wrote:
 I have installed geowebcache and make some changes in
 geowebcache-core-context.xml and want to reload configurations. when i press
 reload configuration button at this page
 http://localhost:8080/geowebcache/demo, then a small window comes requiring
 username/password. The username / password is configured in
 WEB-INF/user.properties as geowebcache=secured,ROLE_ADMINISTRATOR. I used
 this information to login for reload configuration. but i get this error
 HTTP Status 401 - Bad credentials

 I want to know which user name/password should i use ?

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Username-password-in-Geowebcache-tp4632921p4632921.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] problem to map a linearring with app-schema

2012-03-16 Thread Gabriel Roldan
On Fri, Mar 16, 2012 at 1:17 PM, alessandro marrone
alessand...@hotmail.it wrote:
 Hello Gabriel
 you're confusing, womlcore:boundary does not extend gml:polygon, maybe you
 were referring to another mail of mine
indeed I was. Sorry for the confusion. Just remembered looking at the
schema link you sent before and thinking about it but not having time
to reply and thinking that kind of answer was no constructive in any
case.

Cheers,
Gabriel
 here the definition:
 http://xml.fmi.fi/namespace/woml/core/2011/11/15/index150.html#id437


 From: grol...@opengeo.org
 Date: Thu, 15 Mar 2012 11:46:20 -0300

 Subject: Re: [Geoserver-users] problem to map a linearring with app-schema
 To: alessand...@hotmail.it
 CC: ben.caradoc-dav...@csiro.au; geoserver-users@lists.sourceforge.net


 FWIW, that womlcore schema looks weird to me. I don't think
 womlcore:boundary should extend gml:polygon, but instead it should
 define a property that contains a gml:polygon plus any other desired
 property (i.e. use composition instead of inheritance). But surely
 you're not in charge of the schema definition and just need to deal
 with it. It just looks like bad (gml) practice to me. What does it
 adds to the polygon that justifies an is-a relationship?

 That said, I don't think it's possible to map geometries with app-schema?

 On Fri, Mar 9, 2012 at 5:35 AM, alessandro marrone
 alessand...@hotmail.it wrote:
  Thank you, Ben
  I'm using postgis, but I'm not able to map this neither typing it
  directly
  in the mapping file as a constant
 
  Date: Fri, 9 Mar 2012 11:13:48 +0800
  From: ben.caradoc-dav...@csiro.au
  To: alessand...@hotmail.it
  CC: geoserver-users@lists.sourceforge.net
  Subject: Re: [Geoserver-users] problem to map a linearring with
  app-schema
 
 
  app-schema uses the core GeoServer/GeoTools bindings for geometry and
  geometry property types, so it supports all the geometry types
  supported
  for simple features. There are bindings for both LinearRing and
  LinearRingPropertyType in GML 3.2.
 
  My understanding is that a LinearRing is not a geometry but instead a
  part of a geometry; what data sources provide them? Is your problem
  because your data source cannot provide a LinearRing?
 
  Kind regards,
  Ben.
 
  On 08/03/12 18:00, alessandro marrone wrote:
   hi
  
   I should map this:
  
   womlcore:boundary
   gml:LinearRing
   gml:posList
   34.24498197434621 9.907156299072678
   34.51123360972705 20.91411541572156
   /gml:posList
   /gml:LinearRing
   /womlcore:boundary
  
   boundary is a gml:LinearRingPropertyType
  
   it seems impossible
  
   but would be an huge limitations(especially in my case) if app-schema
   couldn't map this type
  
   is there a way to solve this?
  
 
  --
  Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
  Software Engineer
  CSIRO Earth Science and Resource Engineering
  Australian Resources Research Centre
 
 
  --
  Virtualization  Cloud Management Using Capacity Planning
  Cloud computing makes use of virtualization - but cloud computing
  also focuses on allowing computing to be delivered as a service.
  http://www.accelacomm.com/jaw/sfnl/114/51521223/
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users
 



 --
 Gabriel Roldan
 OpenGeo - http://opengeo.org
 Expert service straight from the developers.



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] problem to map a linearring with app-schema

2012-03-15 Thread Gabriel Roldan
FWIW, that womlcore schema looks weird to me. I don't think
womlcore:boundary should extend gml:polygon, but instead it should
define a property that contains a gml:polygon plus any other desired
property (i.e. use composition instead of inheritance). But surely
you're not in charge of the schema definition and just need to deal
with it. It just looks like bad (gml) practice to me. What does it
adds to the polygon that justifies an is-a relationship?

That said, I don't think it's possible to map geometries  with app-schema?

On Fri, Mar 9, 2012 at 5:35 AM, alessandro marrone
alessand...@hotmail.it wrote:
 Thank you, Ben
 I'm using postgis, but I'm not able to map this neither typing it directly
 in the mapping file as a constant

 Date: Fri, 9 Mar 2012 11:13:48 +0800
 From: ben.caradoc-dav...@csiro.au
 To: alessand...@hotmail.it
 CC: geoserver-users@lists.sourceforge.net
 Subject: Re: [Geoserver-users] problem to map a linearring with app-schema


 app-schema uses the core GeoServer/GeoTools bindings for geometry and
 geometry property types, so it supports all the geometry types supported
 for simple features. There are bindings for both LinearRing and
 LinearRingPropertyType in GML 3.2.

 My understanding is that a LinearRing is not a geometry but instead a
 part of a geometry; what data sources provide them? Is your problem
 because your data source cannot provide a LinearRing?

 Kind regards,
 Ben.

 On 08/03/12 18:00, alessandro marrone wrote:
  hi
 
  I should map this:
 
  womlcore:boundary
  gml:LinearRing
  gml:posList
  34.24498197434621 9.907156299072678
  34.51123360972705 20.91411541572156
  /gml:posList
  /gml:LinearRing
  /womlcore:boundary
 
  boundary is a gml:LinearRingPropertyType
 
  it seems impossible
 
  but would be an huge limitations(especially in my case) if app-schema
  couldn't map this type
 
  is there a way to solve this?
 

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

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




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] Custom projection in GeoWebCache

2012-03-14 Thread Gabriel Roldan
On Wed, Mar 14, 2012 at 2:00 PM, Mustafa646 noorc...@gmail.com wrote:
 i have defined a custom projection (EPSG 3008) in geowebcache and assign a
 WMS layer (third party image tile world imagery) to this projection which is
 coming from WMS server (Geoserver). In geoserver, that layer is defined in
 EPSG 4326 projection. when i will render the map (third party imagery) from
 geowebcache in web application, then in which projection, the layer will be
 shown, in EPSG 4326 or EPSG 3008?

 Is geowebcache will change the projection from EPSG 4326 to EPSG 3008 ? or
 something else will happen?
geowebcache will perform a WMS GetMap request in EPSG 3008, GeoSever
will take the raw data in EPSG 4326 and reproject on the fly to the
requested projection, so that the returned image is as expected.
Does that answer your question?

Gabriel

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Custom-projection-in-GeoWebCache-tp4579000p4579000.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

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



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] GeoWebCache geowebcache.xml bug? custom GridSet and applying it to a layer

2012-03-14 Thread Gabriel Roldan
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] WMS getCapabilities

2012-03-12 Thread Gabriel Roldan
On Sat, Mar 10, 2012 at 12:13 PM, Xiaoming Yahoo qinxm2...@yahoo.comwrote:

 List:
 WMS getCapabilities returns all services available on geoserver. Is there
 a way to specify just one service or services in one data store?

Two and a half ways to filter out stuff, then it's up to you how to set up
your data to be filtered as you want:
1- namespace vendor specific parameter:
.../geoserver/wms?request=GetCapabilitiesnamespace=topp
2- virtual services: .../geoserver/topp/wms?request=GetCapabilities
2a: specific layer: .../geoserver/topp/states/wms?request=GetCapabilities

hope that helps.
Gabriel


 Thanks
 Xiaoming

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




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoWebCache geowebcache.xml bug? custom GridSet and applying it to a layer

2012-03-04 Thread Gabriel Roldan
Hello (cheesybiscuits?),

Thanks for the extensive and explanatory message. You forgot yo mention
which version of GeoServer you're running though.
I've tried the attached geowebcache.xml file (essentially the same you
provided)  with GeoServer 2.1.3 and it seems to work just fine both for
seeding and on-demand caching.
Please try it out and report back, or tell which version you're using. If
problems persists and you're not using 2.1.3 perhaps you should consider
upgrading.

I'll try to answer some of your questions inline:

On Thu, Mar 1, 2012 at 9:24 PM, cheesybiscuits thomaschrist...@gmail.comwrote:

 I'm having trouble understanding how GeoWebCache and GeoServer fit together
 when it comes to new GridSets - this may be a bug but I'm not sure.

 I have defined a new GridSet which seems fine (no more messages in
 GeoServer's log when I reload geowebcache.xml). I found out here:

 http://osgeo-org.1560.n6.nabble.com/GeoSserver-and-GeoWebCache-td3799862.html
 that I need to specify which layers implement this GridSet.

 The documentation I found for geowebcache.xml
 (
 http://geowebcache.org/docs/current/_sources/configuration/layers/projections.txt
 )
 says when I define a wmsLayer element within layers I can choose any name I
 want. At first I wondered how GeoWebCache would know which layer I actually
 wanted to cache, when all I tell it about the URL is the WMS end-point with
 no layer argument, but then I read here:

 http://osgeo-org.1560.n6.nabble.com/gwc-layer-naming-convention-td4481580.html
 about using the wmsLayers element to specify the layers within the service
 I
 want.

That is about right.


 However, it doesn't work.

 If I use the GeoServer name for a layer in geowebcache.xml it doesn't show
 up in the list of layers I can seed, because the layer is already listed
 there by default and only has the default 4326 and 900913 GridSets.

Indeed, that's a known regression. Although with the upcoming work on
configuring geoserver tile layers through the UI (just committed on trunk)
that's not gonna be needed anymore.


 If I
 give it a new name, which doesn't match a GeoServer layer - e.g. the new
 layer, it shows up as a seed-able layer with my custom GridSet (and
 neither
 of the defaults), but seeding fails with the message Unexpected response
 code from backend: 404 for http://host_name:8080/geoserver/test/wms?;.

I wonder if there's a problem using the workspace qualifier here (/test),
given your example config worked fine for me.


 If I
 use the preview available with the GWC seed page I can see that the WMS URL
 it uses contains ...wms?LAYERS=the new layer - it is using the layer name
 I provided which is supposed to be arbitrary, instead of the layers I
 explicitly provided within the wmsLayers element.

That is right. The layer name you provided is how gwc publishes the layer.
Internally it will generate WMS requests to the backend WMS using the layer
names provided  in the wmsLayers config attribute.



 Is this a bug in GeoWebCache, or something going wrong in my configuration
 file?

The above behavior seems right.


 I disabled Automatically configure a cached layer for newly added
 layers and added a new layer in GeoServer, thinking that it wouldn't
 appear
 in the seed-able list with the default GridSets, and therefore I could
 safely use the GeoServer layer name, but it DID show up in the seed-able
 list by default, so I'm no better off.

This might actually be a bug. But please try 2.1.3 first if that's not what
you're using?

Cheers,
Gabriel
?xml version=1.0 encoding=utf-8?
gwcConfiguration xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns=http://geowebcache.org/schema/1.3.0;
  xsi:schemaLocation=http://geowebcache.org/schema/1.3.0 http://geowebcache.org/schema/1.3.0/geowebcache.xsd;
  version1.3.0/version
  backendTimeout120/backendTimeout
gridSets
   gridSet
 nameTest_GridSet/name
 srs
   number900913/number
 /srs
 extent
   coords
 double-20037508/double
 double-20037508/double
 double20037508/double
 double20037508/double
   /coords
 /extent
 metersPerUnit1/metersPerUnit
 tileHeight256/tileHeight
 tileWidth256/tileWidth
   /gridSet
/gridSets

  layers
   wmsLayer
 namethe new layer/name
 wmsLayersbluemarble:bluemarble/wmsLayers
 mimeFormats
   stringimage/gif/string
   stringimage/jpeg/string
   stringimage/png/string
   stringimage/png8/string
 /mimeFormats
 gridSubsets
   gridSubset
 gridSetNameTest_GridSet/gridSetName
   /gridSubset
 /gridSubsets
 wmsUrl
   stringhttp://maps.opengeo.org/geoserver/wms/string
 /wmsUrl
   /wmsLayer
  /layers  
/gwcConfiguration
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a 

Re: [Geoserver-users] Common problem with GWC: error creating bean with name 'gwcFacade' defined in URL

2012-03-04 Thread Gabriel Roldan
On Fri, Feb 24, 2012 at 4:43 AM, markusin markus.innereb...@inf.unibz.itwrote:

 I think I can define this behaviour as a bug, since the geowebcache xml
 example file, provided in the jar file gwc-2.1.3.jar is invalid in case of
 uncommenting those test layers, I will open issue in Jira.

Indeed.Thanks for the report, fixed as per 
http://jira.codehaus.org/browse/GEOS-4967

Cheers,
Gabriel


 M.

 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Common-problem-with-GWC-error-creating-bean-with-name-gwcFacade-defined-in-URL-tp4495695p4501648.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


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




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


Re: [Geoserver-users] Using GeoServer with shared data directory

2012-03-04 Thread Gabriel Roldan
Hey,

sounds like a reasonable solution to me. Please report back on your
experience?

Cheers,
Gabriel.

2012/2/22 Sebjørn Birkeland sebjorn.birkel...@bekk.no

  Hi,

  Thank you for your response.

  Regarding using multiple GWC-instances with separate directories, I was
 thinking of using completely separate directories both for the metastore
 and the blobstore. This would mean that the two instances will not share
 any infomation. This will, of course, result in two tile caches. But I
 cannot see any other solution than having duplicated cache if we wish to
 have redundancy / no single point of failure. This will be exactly the same
 as deploying GWC on two different servers. It seems like this is the only
 option if we want multiple GWC-instances.

  Pehaps there is little actual experience in using GWC in a Weblogic
 cluster environment the same way we are trying to do. The environment
 architecture is a decision outside of our control :)

  Best regards,
 Sebjørn Birkeland

  --
 *Fra:* andrea.a...@gmail.com [andrea.a...@gmail.com] på vegne av Andrea
 Aime [andrea.a...@geo-solutions.it]
 *Sendt:* 22. februar 2012 16:11
 *To:* Sebjørn Birkeland
 *Cc:* Gabriel Roldan; geoserver-users@lists.sourceforge.net

 *Emne:* Re: [Geoserver-users] Using GeoServer with shared data directory

   On Wed, Feb 22, 2012 at 3:58 PM, Sebjørn Birkeland 
 sebjorn.birkel...@bekk.no wrote:

  Hi Andrea and Gabriel,


  We rely on using parameterFilters for our GWC-layers, so I guess that
 means that we cannot disable the metastore-functionality.
 Does that mean that our only option is to use a single GWC-instance with
 multiple GeoServer-instances? Would not this result in a single point of
 failure?


  I believe this is your only option at the moment. And yes, it will
 result in a single point of failure.



  Does anyone use multiple GWC-instances on Weblogic with a shared data
 directory? Is it perhaps possible to configure the servers so that each
 instance can use a seperate blob store directory?


  Separate blob stores... hmmm.. this might work but you'll end up wit two
 separate tile caches too,
 as far as I remember once the metastore is enabled GWC will check the
 existance of the tile
 in the meta-store too.

  A solution that would require some modifications to GWC would be to have
 the metastore become
 pluggable and allow for usage of a centralized database, like a shared
 Oracle/PostgreSQL.
 And then some way for the two GWC to avoid stepping on each other toes so
 that they
 don't try to write the same tiles in parallel.

  Cheers
 Andrea

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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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

 ---




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


Re: [Geoserver-users] How could I hardcode more coordinate systems for gwc?

2012-03-04 Thread Gabriel Roldan
On Mon, Feb 20, 2012 at 6:52 PM, Robert Buckley robertdbuck...@yahoo.comwrote:

 Hi,

 Is it possible to hardcode other gwc coordinate systems into geoserveer so
 I don´t have to rewrite/reload geowebcache.xml all the time?


Not possible so far. But it's something that's been rounding my mind for a
while.
The thing is the internal gridsets are defined in code. What I'd like to do
instead is to have them defined in an internal xml file, which you could
override once. Say $GEOWEBCACHE_CACHE_DIR/gridsets.xml

Mind creating a task in the issue tracker? 
https://github.com/GeoWebCache/geowebcache/issues

Cheers,
Gabriel

 Has anyone done this?

 yours,

 Rob





 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




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


Re: [Geoserver-users] Integrated GWC, and GeoServer - TILED=true vs tiled=yes

2012-03-04 Thread Gabriel Roldan
Hello Mark,

tiled=true is the prescribed way to use the wms end point as WMS-C. So
use that. GWC will request a metatile, meaning that GeoServer's WMS
metatiling won't be involved (otherwise you'd be double-meta-tiling).

To set the GWC meta tiling factors go to the GeoServer's GWC config
page and change the Default meta-tiling factors.

Hope that helps.

Cheers,
Gabriel
On Mon, Feb 20, 2012 at 10:33 AM, Mark Volz volzm...@yahoo.com wrote:

 Hello,

 While working on trying to enable metatiling for a layer that that is using 
 the integrated geowebcache, I noticed that there was a possible issue with 
 the documentation.  The documentation seems somewhat ambiguous.  According to 
 GeoWebCache integration with GeoServer WMS we can use TILED=true have 
 geoserver cache and retrieve tiles from the integrated GWC.   I tried this 
 out, and it works great.  The next step I noticed is that I have issues with 
 duplicate labels at every single tile, so I looked up the documentation on 
 how to make metatiles.  I found documentation to create metatiles under WMS 
 Vendor Parameters.  According to that documentation I should set tiled=yes 
 and it will create a default 3*3 metatile.  The issue I have is TILED has 
 already been set.

 If we want to use GeoWebCache integration with GeoServer WMS and metatiles do 
 we wet tiled to true or do we set tiled to yes?

 The WMS vendor parameters state that by default GeoServer uses a 3*3 
 metatile.  GeoWebcache states that the default metatile is 4*4, and the 
 default can be changed in the server configuration.  How can we change the 
 values from the default  (both in GeoServer, and in the integrated GWC - if 
 there is a difference)

 The documentation that I found is located at:
 http://docs.geoserver.org/latest/en/user/services/wms/vendor.html
 http://docs.geoserver.org/stable/en/user/services/wms/vendor.html#tiled

 Thank You

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] problem with maxCachedLevel

2012-03-04 Thread Gabriel Roldan
On Tue, Feb 21, 2012 at 1:59 PM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 hi,

 The use of minCachedLevel in my geowebcache.xml threw errors and broke.
 ...Is it necessary to use  zoomStart /zoomStartzoomStop/zoomStop
 together with mincachedLevel or is something else wrong?
I think it is not necessary to declare zoomStart and zoomStop as long
as the min/maxCached levels are between the zoom level range of the
gridset.

Would you provide your geowebcache.xml? At a first glance it seems to
work for me with 2.1.3, although I had to use 4326 instead cause I
don't have your definition of EPSG:25832.
Also, there seems to be no zgb:Uebersichtskarte_500 layer, which I'm
not sure if it's related or not.

Please provide more information on how to reproduce the issue.
geowebcache.xml and any stack trace you get would be useful.

Cheers,
Gabriel



 a snippet of my geowebcache.xml

  wmsLayer
     nameUebersichtskarte_500_gwc/name
     gridSubsets
        gridSubset
         gridSetNameEPSG:25832/gridSetName
       extent
         coords
           double504614/double
           double5696761/double
           double719654/double
           double5885761/double
        /coords
       /extent
       minCachedLevel0/minCachedLevel
       maxCachedLevel4/maxCachedLevel
       /gridSubset
     /gridSubsets
     wmsUrlstringhttp://maps.zgb.de/geoserver/wms/string/wmsUrl
     wmsLayerszgb:Uebersichtskarte_500/wmsLayers
   /wmsLayer


 Thanks,

 ROb

 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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


Re: [Geoserver-users] gwc layer naming convention

2012-02-17 Thread Gabriel Roldan
wmsLayer
...
namebasemap/name
wmsUrlstringSERVERPATH/wms?/wmsUrl
wmsLayersocean,border,river,landcover/wmsLayers
/wmsLayer

On Fri, Feb 17, 2012 at 5:55 PM, Robert Buckley robertdbuck...@yahoo.comwrote:

 Hi,

 I´m just reading through the geowebcache documentation, and don´t quite
 understand something about the naming of layers in geowebcache.xml.


 name The layer name as published by GeoWebCache. It can be the same
 name as known to the WMS (for example, in GeoServer, this would be
 namespace:layername) or not.

 If the layername is something different from the wms layer, how can gwc
 know which layer is to be displayed by gwc?

 eg. I have a layer named zgb:Grenzen_ZGB.

 the wms url is
 .SERVERPATH/wms?service=WMSversion=1.1.0request=GetMaplayers=zgb:Grenzen_ZGB

 geowebcache reads this from the wms url and creates a gwc tiled
 representation.so if the layername is something different, how can gwc
 know which layers is to be tiled?


 furthermorecan anyone tell me why I would first define a layer with
 wmslayer etcand then again in the  wmslayers section? Is this for
 configurations which span more than just one layer?


 thanks,

 Rob



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




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


Re: [Geoserver-users] TMS Service worked with 2.1.3 : swap jars?

2012-02-14 Thread Gabriel Roldan
On Tue, Feb 14, 2012 at 10:26 AM, Robert Buckley
robertdbuck...@yahoo.comwrote:

 Hi,
 As I was working briefly with 2.1.3 I found that the TMS service worked!
  With my 2.1.2 version of geoserver tms always gave me status

 400: Unable to find handler for service tms

 Would it be possible to just take the jar files from 2.1.3 and put them in
 2.1.2 to make it work?

I'm not sure, but if you don't want to take the risk do this instead:
unjar gwc-2.1.2.jar:
$ mkdir tmsfix  cd tmsfix  jar xvf ../gwc-2.1.2.jar
apply this change :
https://github.com/groldan/geoserver/commit/3374d8328b596c7ef1e4edebbc06cdd36037a016

rejar:
$ jar cvf ../gwc-2.1.2.jar ./*

done.



 yours,

 Rob


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GWC HTTP Cache Expiry through GeoServer [SEC=UNCLASSIFIED]

2012-02-14 Thread Gabriel Roldan
Hello Andrew,

unfortunately it is not and was never possible to do such customization(s)
on the embedded cached layers (sigh).
Things are about to change though. As for your specific requirement, I
wonder whether it'd be better to stick to the (geoserver) layer cache
expiration settings or to configure a different one for the associated gwc
layer.

In any case, for the time being your only option is to configure the layer
as you want in a wmsLayer element inside geowebcache.xml. In the short
term, it'll be possible to configure almost every aspect of a cached layer
through the UI.

Cheers,
Gabriel
On Mon, Feb 13, 2012 at 10:29 PM, Dwyer, Andrew 
andrew.dw...@dsto.defence.gov.au wrote:

 *UNCLASSIFIED*

 Hi,

 ** **

 Can someone please tell me how to set the HTTP cache expiry for auto
 configured layers in GeoWebCache?  Currently, requests to the embedded GWC
 for tiles are returned with no expiry headers.  For manually configured
 layers I would use the “expireClients” XML element to define client expiry,
 but I can’t see a way to do this for auto configured layers.  

 ** **

 I’m using GeoServer version 2.1.3 with embedded GWC.

 ** **

 Cheers

 ** **

 Andrew Dwyer

 ** **

 *IMPORTANT*: This email remains the property of the Department of Defence
 and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If
 you have received this email in error, you are requested to contact the
 sender and delete the email.


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver-2.1.3: stdrange locatation of GWC directory

2012-02-14 Thread Gabriel Roldan
On Tue, Feb 14, 2012 at 3:36 AM, Robert Buckley robertdbuck...@yahoo.comwrote:

 Hi,

 After a new install of geoserver-2.1.3 the gwc directory is now in
 /tmp/tomcat6-tmp/geowebcache...??

 Why?

Because you don't have GEOSERVER_DATA_DIR nor GEOWEBCACHE_CACHE_DIR set I
bet.
That said, I think it'd be probably better if gwc defaulted to the same
data directory geoserver does when no data dir is specified.  My
understanding is that the behavior you're seeing is like it always was
though.

Cheers,
Gabriel


 yours,

 Robert


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Using GeoServer with shared data directory

2012-02-14 Thread Gabriel Roldan
2012/2/14 Sebjørn Birkeland sebjorn.birkel...@bekk.no

 Hi Andrea,

 Thank you for your answer.

 We have tried removing all the jar-files related to GWC, and this seems to
 work. For the moment, this is ok, but we are not sure how we can find good
 long term solution to this. At some point we need to be able to run GS with
 GWC on our Weblogic-servers. Is the solution to use stand-alone GWC-s, or
 will this give us the same result? Perhaps someone else has GS/GWC running
 on Weblogic and can give us some input?

Yes, use standalong gwc as front end to your clustered geoservers. A single
gwc instance can round robin requests to various wms's. Just add multiple
elements to the wmsLayer wmsUrl property:

wmsUrl
   stringhttp://geoserver1/geoserver/wms/string
   stringhttp://geoserver2/geoserver/wms/string
/wmsUrl


 To disable diskquota and metastore seems, from the documentation, to
 disable core functionality of the GWC (the metastore in particular)? Would
 we not end up with a poorly configured / performing cache with these
 options disabled?

Will not end up with a poorly configured nor less performant gwc. Both
components are designed to be disabled.
Disabling the disk quota makes no (noticeable) effect on performance. Lost
functionality is... well... no disk quota enforcement.
Disabling the metastore does boost performance, as a database query does
not need to be made for each and every tile request. You loose the ability
to add parameter filters and tile expiration HTTP response headers though.

Cheers,
Gabriel


 Best regards,
 Sebjørn Birkeland

 SEBJØRN SÆTHER BIRKELAND
 SENIOR CONSULTANT
 +47 982 19 301

 sebjorn.birkel...@bekk.no | www.bekk.no | open.bekk.no

 
 Fra: andrea.a...@gmail.com [andrea.a...@gmail.com] p#229; vegne av
 Andrea Aime [andrea.a...@geo-solutions.it]
 Sendt: 14. februar 2012 14:08
 To: Sebjørn Birkeland
 Cc: geoserver-users@lists.sourceforge.net
 Emne: Re: [Geoserver-users] Using GeoServer with shared data directory

 On Tue, Feb 14, 2012 at 1:26 PM, Sebjørn Birkeland
 sebjorn.birkel...@bekk.no wrote:
 
  Hi,
 
  GeoServer 2.1.2 is deployed on Weblogic 10.3.4.0, and configured an
 external data directory as specified in web.xml. The data directory is
 shared between the two servers in the cluster.
 
  When starting GeoServer on both servers: one of the servers works fine,
 but the other one failes with an exception: Invocation of init method
 failed; nested exception is com.sleepycat.je.EnvironmentLockedException:
 (JE 4.1.7) /data/datex/geoserver_data/gwc/diskquota_page_store The
 environment cannot be locked for single writer access. ENV_LOCKED: The
 je.lck file could not be locked. Environment is invalid and must be
 closed. (see details below).
 
  Through searching the internet, we understand that this might have
 something to do with the embedded GWC.
 
  Is there a way to make GeoServer work with a shared data directory? Is
 it designed to work with a shared data directory at all? Has anyone got
 experience with installing and using GeoServer in a Weblogic server cluster?


 Yes, it has able to cluster since many years ago, unfortunately GWC
 has a couple of functionalities, enabled by
 default, that do not work in clustered mode: the disk quota module and
 the metastore.

 If you don't need GWC the easiest thing to do is to go in WEB-INF/lib
 and just remove all the *gwc* jars, the rest of
 GeoServer will be mostly unaffected (there is only one or two optional
 KML modules that actually need GWC afaik).

 Otherwise you can setup the following system variables in the JVM that
 runs GeoServer:
 -DGWC_DISKQUOTA_DISABLED=true
 -DGWC_METASTORE_DISABLED=true

 See http://geowebcache.org/docs/current/configuration/diskquotas.html and
 http://geowebcache.org/docs/current/configuration/storage.html#metastore

 Cheers
 Andrea

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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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

 ---


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from

Re: [Geoserver-users] no tiles above zoom level 18?

2012-02-09 Thread Gabriel Roldan
Check the following answer to the same question, there's an example config
file to override the default gridsets:


http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg08436.html


Cheers,
Gabriel
On Wed, Feb 8, 2012 at 8:48 AM, emiltin emil@tmf.kk.dk wrote:


 hi,

 we're using geowebcache to pull images from a high res wms service, and
 serve them as tiles. however, nothing is returned if zoom level is higher
 than 18. how do we change this?

 thank you very much in advance,
 emil tin

 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/no-tiles-above-zoom-level-18-tp4375741p4375741.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


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




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


Re: [Geoserver-users] GeoWebCache version 1.3-RC1 in GeoServer 2.1.2 and 2.1.3

2012-02-05 Thread Gabriel Roldan
Hi,

can you send your geowebcache.xml so I can check what's going on.

By any chance are you configuring a layer in geowebcache.xml with the same
name than an existing geoserver layer?
I beleave that is what is broken, like in you can't redefine the default
configuration for a geoserver layer from geowebcache.xml, although it used
to be possible in earlier versions.

In any case, if you send over your config file I'll be able of debugging.

Cheers,
Gabriel

On Fri, Feb 3, 2012 at 4:59 AM, Gottfrid Linge gottfrid.li...@astando.sewrote:

 Hi!

 ** **

 Is it possible to replace the current version of GeoWebCache 1.3-RC1 in
 GeoServer 2.1.2 and 2.1.3 with something more stable? Maybe by just
 replacing the right components?

 I haven't been able to get that version of GeoWebCache react on my
 configuration in geowebcache.xml. I have made some changes so that I can
 see that it successfully configurates in the logs, but my custom projection
 layers are not showing up in the GWC GUI.

 ** **

 Kind regards

 Gottfrid Linge

 ** **
 --

 *Gottfrid Linge*

 Certified ScrumMaster

 Tel: +46 706 904888
 gottfrid.li...@astando.se

 *Astando AB*

 Hantverkargatan 5
 112 21 Stockholm
 www.astando.se
 --
 --

 ** **


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geoserver-devel] Geowebcache migration

2012-02-03 Thread Gabriel Roldan
Hi, stopping the cross posting and sending to gs-users list only.

On Fri, Feb 3, 2012 at 4:51 PM, Sri Vinay s...@ciesin.columbia.edu wrote:
 We always had gwc metastore enabled in both instances.
 We copied the entire gwc folder. As a matter of fact the entire geoserver 
 data folder which includes the gwc.

hmm, that's odd indeed. Are the new and old machine clocks in sync?
(wondering if you have expiration rules set up, so that gwc things a
tile is expired and asking for a new one).

Other than that I'm not sure what'd be going on. Would you describe
anything else you think might be relevant to reproduce your
situation/configuration? Can you send your geowebcache.xml
 config file?

Cheers,
Gabriel
 Thanks for the response.

 Sri

 -Original Message-
 From: Gabriel Roldan [mailto:grol...@opengeo.org]
 Sent: Friday, February 03, 2012 2:33 PM
 To: s...@ciesin.columbia.edu
 Cc: geoserver-u...@lists.sourceforge.net; geoserver-
 de...@lists.sourceforge.net
 Subject: Re: [Geoserver-devel] Geowebcache migration

 could it be that you had the gwc metastore disabled before and now it's
 enabled? Did you copy the entire gwc folder or just the layer directories?


 On Fri, Feb 3, 2012 at 2:42 PM, Sri Vinay s...@ciesin.columbia.edu wrote:
  Sorry for cross posting.
 
  We recently migrated an entire geoserver data directory from one
  geoserver instance (alpha) to another one (production) including the
  Geowebcache (gwc) directory. Both instances are running Geoserver
 v2.1.2.
 
  Everything seem to work fine except that the tile are being re-created
  upon initial request to a cached layer. One of the main reason for
  migration is to avoid re-building caches --- so this is puzzling and
  defeating the purpose.
 
  Is there something we are missing?
 
  Thanks for the help.
 
  Sri Vinay
  CIESIN, Columbia University
 
 
 
 
  --
   Try before you buy = See our experts in action!
  The most comprehensive online learning library for Microsoft
  developers is just $99.99! Visual Studio, SharePoint, SQL - plus
  HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when
 you subscribe now!
  http://p.sf.net/sfu/learndevnow-dev2
  ___
  Geoserver-devel mailing list
  geoserver-de...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-devel



 --
 Gabriel Roldan
 OpenGeo - http://opengeo.org
 Expert service straight from the developers.





-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Trouble with Geowebcache 1.3 in Geoserver 2.1.3 custom projection 23031

2012-02-01 Thread Gabriel Roldan
:23031
 2012-01-31 15:47:14,572 INFO [config.XMLConfiguration] - Read GridSet 
 EPSG:23031
 2012-01-31 15:47:14,572 DEBUG [grid.GridSetBroker] - Adding EPSG:23031
 2012-01-31 15:47:14,572 INFO [config.XMLConfiguration] - Initializing layers 
 from C:\DataDir_GeoServer\gwc
 


 I'm out of ideas. What am I doing wrong?

 Thanks in advance,




 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer tiles generation issue above zoom level 18 in Google Maps

2012-02-01 Thread Gabriel Roldan
If you look at the WMTS spec [1], section E.4, Page 105, the
GoogleMapsCompatible tile matrix set is defined for zoom levels 0 to
18. At the higher zoom level, with a pixel size of 0.5971.. meters. It
seems that who defined the tile matrix set, Google or OGC, didn't
think the projection makes sense at a lower scale denominator.

So I wonder how can you seed past zoom level 18 to start with (oh, by
looking at it I see the gwc seed form do present the option of seeding
up to zoom level 21, but that's just because the other gridset,
EPSG:4326 - or GlobalCRS84Scale as per the spec - is defined up to
zoom level 21, and the gwc UI is not smart enough. Note there's a note
on it though that it's a very basic interface that doesn't check for
correctness).

If you actually need to seed past zoom level 18 though, you can define
your own GridSet, call it My900913 or something, and copy the
resolutions defined in the spec up to zoom level 18, then double/half
that depending on whether you're defining the gridset based on
resolutions or scale denominators.

Hope that helps,
Gabriel

[1] http://www.opengeospatial.org/standards/wmts

On Wed, Feb 1, 2012 at 12:35 PM, Manzoor Ahmad Mubashir
manzoor.mubas...@viewserve.com wrote:
 Hi,

 I am using GeoServer version 2.1.3 to generate tiles from a shapefile which
 are then rendered by Google Maps API V3 in my application. I can see the
 output of the shapefile until zoom level 18 without any problem but nothing
 is shown after zoom level 19 and above. The tiles generated on the disk are
 empty (blank) so the problem at hand has nothing to do with Google Maps. I
 tried clearing the tiles cache and generated them again via seeding (from
 the GeoWebCache settings) but in vain. The tiles were again empty. What
 could be the wrong here? Is there any setting that I need to tweak for
 GeoServer to start generating tiles for and above zoom level 19? Please
 suggest.

 Mubashir

 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Address already in use 8080 . problem with external GWC

2012-01-31 Thread Gabriel Roldan
On Tue, Jan 31, 2012 at 10:56 AM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 yesterday I deployed GWC 1.2.6 in tomcat6 on ubuntu 10.04 along side
 geoserver 2.1.2. It was working ok, but I restarted tomcat6 today and the
 system is now broken.

The only reason I know of having an adresss already in use error is
that the servlet container is in fact trying to open a server port
that's already in use.

When you restarted tomcat, did you check it actually shut down? I've
seen broken tomcat installations where the script in /etc/init.d
doesn't actually shut it down. Not sure why though.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] External GWC caused tomcat6 crash

2012-01-31 Thread Gabriel Roldan
On Tue, Jan 31, 2012 at 12:31 PM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 Hi,

 I installed GWC in the tomcat6 with geoserver. They are obviously both
 useing port 8080.

 Can I just simply alter the port to say..9090?    in
 /META-INF/maven/org.geowebcache/gwc-web/pom.xml

no. If you want to deploy geoserver and gwc on different servlet
containers, use the servlet container's specific way of setting the
ports.

For tomcat edit conf/service.xml and replace 8080 by 9090 for one of
the instances for example, if you're also running different tomcat
instances. Otherwise check the tomcat documentation, I don't even know
how to do that myself.

Cheers,
Gabriel



 cheers,
 Rob

 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Change to external geowebcache and delete integrated geowebcache

2012-01-30 Thread Gabriel Roldan
I guess you'll need to name your layer something different in
geowebcache.xml. I'm not sure if that was always the case but I  do
remember since a long time ago you need to do so.

Try calling it just zgb_grenze instead of zgb_nachrichtlich:zgb_grenze.


On Mon, Jan 30, 2012 at 7:21 AM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 System: Linux ubuntu 10.04, tomcat6, geoserver2.1.2

 Hi,

 my problem is this.I cannot create a geowebcache.xml file which enables
 me to server EPSG:25832.

 On my test server (which uses the OpenGeoSuite and an external GeoWebCache I
 simply wrote my definitions into geowebcache.xml and restarted tomcat6.
 The new EPSG SRS was then displayed in the GWC Demo page which could then be
 cached. I copied this geowebcache.xml file into my integrated gwc folder and
 the new gridset does not appear in the demo page.

 Yours,

 Robert







 
 Von: Gabriel Roldan grol...@opengeo.org
 An: Robert Buckley robertdbuck...@yahoo.com
 Cc: Rahkonen Jukka jukka.rahko...@mmmtike.fi;
 geoserver-users@lists.sourceforge.net
 geoserver-users@lists.sourceforge.net
 Gesendet: 3:16 Montag, 26.Dezember 2011

 Betreff: Re: [Geoserver-users] Change to external geowebcache and delete
 integrated geowebcache

 Hello Robert,

 so did Jukka's reply answered your question? If not, would you be a
 little more specific about what's not working with the integrated gwc?
 paste your geowebcache.xml if you can, and explain what's not working.

 TIA,
 Gabriel

 On Tue, Dec 13, 2011 at 6:19 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 The problem with OpenLayers is that it must be configured to suit exactly
 the corresponding tiles. We have captured the map definitions from the
 automaticly created GWC demos and reused them in our own
 applications.  This
 is an example of making OpenLayers to use our EPSG:2393 grid set

 var mapOptions = {
 resolutions: [2048.0, 1024.0, 512.0, 256.0, 128.0, 64.0, 32.0, 16.0, 8.0,
 4.0, 2.0, 1.0, 0.5, 0.25],
 projection: new OpenLayers.Projection('EPSG:2393'),
 maxExtent: new
 OpenLayers.Bounds(3050187.8969,6585228.0377,4098763.8969,8158092.0377),
 units: meters,
 controls: []
 };
 map = new OpenLayers.Map('map', mapOptions );
 map.addControl(new OpenLayers.Control.PanZoomBar({
   position: new OpenLayers.Pixel(2, 15)
 }));
 map.addControl(new OpenLayers.Control.Navigation());
 map.addControl(new OpenLayers.Control.Scale($('scale')));
 map.addControl(new OpenLayers.Control.MousePosition({element:
 $('location')}));
 var demolayer = new OpenLayers.Layer.WMS(
 GWC_ilmakuvat,../service/wms,
 {layers: 'GWC_ilmakuvat', format: 'image/png' },
 { tileSize: new OpenLayers.Size(256,256) }
 );
 map.addLayer(demolayer);


 If EPSG:3067 grid set is used a different mapOptions are needed but all
 the
 rest is the same

 var mapOptions = {
 resolutions: [8192.0, 4096.0, 2048.0, 1024.0, 512.0, 256.0, 128.0, 64.0,
 32.0, 16.0, 8.0, 4.0, 2.0, 1.0, 0.5, 0.25],
 projection: new OpenLayers.Projection('EPSG:3067'),
 maxExtent: new OpenLayers.Bounds(-548576.0,6291456.0,1548576.0,8388608.0),
 units: meters,

 -Jukka Rahkonen-

 
 Lähettäjä: Robert Buckley [mailto:robertdbuck...@yahoo.com]
 Lähetetty: 13. joulukuuta 2011 10:54
 Vastaanottaja: geoserver-users@lists.sourceforge.net
 Aihe: Re: [Geoserver-users] Change to external geowebcache and delete
 integrated geowebcache

 Hi,

 My problem is that I have to use openlayers to display the data.
 I have create gridsets for EPSG:25832 and EPSG:31467 which work in the
 opengeosuite which has an independant Geowebache, but in my
 geoserver.2.1.2
 the same gridsets are not shown.


 Udig is a great client. I didn´t realize one could change the srs on
 cached
 layers or even define your own scales.

 yours,

 Rob

 
 Von: Rahkonen Jukka jukka.rahko...@mmmtike.fi
 An: 'Robert Buckley' robertdbuck...@yahoo.com;
 'geoserver-users@lists.sourceforge.net'
 geoserver-users@lists.sourceforge.net
 Gesendet: 8:34 Dienstag, 13.Dezember 2011
 Betreff: Re: [Geoserver-users] Change to external geowebcache and delete
 integrated geowebcache

 Hi,


 If you mean self made grid sets using some other SRID than the default
 sets,
 then for sure they work. Use for example uDig for looking at your GWC
 WMS-C
 service because it can use it automatically by parsing the
 GetCapabilities.
 That way you can avoid configuration problems with OpenLayers.

 This is what I have on geowebcache for one layer.
 - gridSubsets
 - gridSubset
   gridSetNameEPSG:2393/gridSetName
   /gridSubset
 - gridSubset
   gridSetNameJHS180:EPSG:3067/gridSetName
   /gridSubset
   /gridSubsets

 And these are the corresponding grid sets



 - gridSet
   nameJHS180:EPSG:3067/name
 - srs
   number3067/number
   /srs
 - extent
 - coords
   double-548576/double
   double6291456/double
   double1548576/double
   double8388608/double
   /coords
   /extent
   alignTopLeftfalse/alignTopLeft
 - resolutions

Re: [Geoserver-users] GeoWebCache Raster Does Not Seed

2011-12-27 Thread Gabriel Roldan
Hello George,

Try RC2. That bug should be fixed. Problem was with the use of zoomStart/Stop.

Cheers,
Gabriel.

On Tue, Dec 27, 2011 at 9:55 AM, GeoGEOrge awml...@yahoo.com wrote:
 I have been able to use GeoWebCache version 1.3-RC1, built 2011-10-03
 19:08:42 to seed several shapefiles, but when I go to seed an ImageMosaic
 the seed task fails. I tried seeding one of the four JP2MrSID that make up
 the ImageMosaic and got the same error. Is this not possible or am I doing
 something wrong?


 section from geowebcache.xml

  wmsLayer
    namegwcorthoquads/name
    mimeFormats
      stringimage/png/string
    /mimeFormats
 gridSubsets
    gridSubset
    gridSetNamee2249/gridSetName
    extent
      coords
        double858000/double
        double2739000/double
        double924000/double
        double2833000/double
      /coords
    /extent
    zoomStart6/zoomStart
    zoomStop8/zoomStop
  /gridSubset
 /gridSubsets
      wmsUrl
        stringhttp://localhost:8080/geoserver/wms/string
      /wmsUrl
    wmsLayersplymouth:orthoquads/wmsLayers
  /wmsLayer


 geoserver 2.1.2 log:

 27 Dec 07:32:55 INFO [seed.SeedTask] - GWC Seeder Thread-2 begins seeding
 layer : gwcorthoA
 27 Dec 07:32:55 INFO [seed.GWCTask] - Thread group finished SEED task after
 0.0010 seconds
 27 Dec 07:32:55 ERROR [seed.MTSeeder] - SEED task #1 failed
 java.lang.ArrayIndexOutOfBoundsException: 8
        at org.geowebcache.seed.SeedTask.tileCount(SeedTask.java:213)
        at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:107)
        at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)
        at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)
        at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
 Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/GeoWebCache-Raster-Does-Not-Seed-tp7130080p7130080.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Java out-of-memory errors

2011-12-27 Thread Gabriel Roldan
FWIW, watch out your MaxPermSize. Depending on how many modules are
running I found myself needing to raise it up to 256m some times.

2c/
Gabriel

2011/12/27 Jeff Dege jeff.d...@korterra.com:
 What we had been running was:



 JAVA_OPTS=-server -Xmx1G –Xms128M -XX:SoftRefLRUPolicyMSPerMB=36000
 -XX:MaxPermSize=128m -XX:+UseParallelGC -XX:+AggressiveHeap



 I changed this, last week, to:



 JAVA_OPTS=-server -Xmx1G -Xms512M -XX:SoftRefLRUPolicyMSPerMB=36000
 -XX:MaxPermSize=128m -XX:+UseParallelGC -XX:+AggressiveHeap



 Because we were getting too-small-initial-heap errors.







 From: Juan Marín Otero [mailto:juan.marin.ot...@gmail.com]
 Sent: Wednesday, December 21, 2011 6:31 PM
 To: Jeff Dege
 Cc: geoserver-users@lists.sourceforge.net
 Subject: Re: [Geoserver-users] Java out-of-memory errors



 Jeff,



 You've set the maximum memory for the heap, but have you also done any other
 optimization on the running JVM?



 Anything with regards to the garbage collector or the PermGen?






 --
 Juan Marín Otero
 GIS Consultant

 ---Visita mi blog en-
 http://guachintoneando.blogspot.com
 ---





 On Wed, Dec 21, 2011 at 7:01 PM, Jeff Dege jeff.d...@korterra.com wrote:

 We’re running GeoServer 2.1.0 on TomCat6 on an Ubunto 10.04 box, with a
 fairly modest load (just a few dozen users), and we’re having repeated
 problems with Java out-of-memory errors.



 This seems to be when it started:



 Dec 21, 2011 12:07:23 PM org.apache.catalina.connector.CoyoteAdapter service

 SEVERE: An exception or error occurred in the container during the request
 processing

 java.lang.OutOfMemoryError: GC overhead limit exceeded

 Dec 21, 2011 12:08:51 PM org.apache.coyote.http11.Http11AprProcessor
 endRequest

 SEVERE: Error finishing response

 java.lang.OutOfMemoryError: GC overhead limit exceeded



 And since then, we’ve had repeated:



 Dec 21, 2011 4:34:02 PM org.apache.catalina.core.StandardWrapperValve invoke

 SEVERE: Servlet.service() for servlet dispatcher threw exception

 java.lang.OutOfMemoryError: Java heap space



 We’re using Sun’s JVM:



 java version 1.6.0_26

 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)



 And I’m at a loss as to what is going on.



 We’re on a machine with 8G of ram, and I’ve set  -Xmx to 1G, and I simply
 can’t see how we could be hitting memory limits at the kind of load we’ve
 been seeing.



 Any ideas?


 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users






 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Advertised layers still available as gwc layers

2011-12-26 Thread Gabriel Roldan
On Mon, Dec 26, 2011 at 8:06 AM, Andrea Aime
andrea.a...@geo-solutions.it wrote:
 On Mon, Dec 26, 2011 at 2:42 AM, Gabriel Roldan grol...@opengeo.org wrote:

 By the other side, I'd like to hear your opinions about how the
 advertised property should play with the integrated gwc tile layers.
 Right now their enabled property is synchronized so that a gwc layer
 is disabled if it's matching geoserver layer is. I guess a non
 advertised geoserver layer should always mean its associated gwc
 layer, if exists, should be non advertised too?


 Yep, that would make sense: available if you call its tiles directly, but
 not there
 in previews and capabilities documents.

jira created: https://jira.codehaus.org/browse/GEOS-4915

Cheers,
Gabriel

 Cheers
 Andrea


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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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

 Please take note that GeoSolutions will be closed for Christmas holidays
 from 27/12 to 30/12

 ---




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE Raster Store problem

2011-12-25 Thread Gabriel Roldan
Hello Hugo,

no, it is not a known error. And sorry for the late reply, I just saw
your message.
Is there any more info you can provide, like the exact stack trace
you're getting, geosever version, version of ArcSDE, the ArcSDE Java
libs, and database version?

Also, does this happen with any raster layer? would you provide the
output of sdelayer -o describe command for a failing one? (or was it
sderaster?, don't quite remember the exact command line)

TIA,
Gabriel

On Fri, Dec 9, 2011 at 2:04 PM, Hugo hfpmart...@gmail.com wrote:
 Hello all,

 I have installed geoserver and arcsde plugins on a windows server 2008 R2
 with sql server. I have no problems with publishing vector layers however,
 when i try to publish arcsde raster i always get the following
 error: org.geotools.arcsde.ArcSdeException: Can't create connection

 The thing is, that i use exactly the same parameters for the connection as i
 used for publishing vector layers. The strange thing is that when i select
 the 'same connection parameter as' and press the refresh button, geoserver
 can see my raster data iniside the database, but, as soon as i hit the save
 button the previous error appears.

 Is this a known error or is it something that i'm not doing correctly??

 Thanks in advance.
 Cheers,
 Hugo


 --
 Hugo Martins
 LabNT - ISEGI UNL
 Campus de Campolide
 1070-312 Lisboa
 N 38°43'56.84, W 9°9'35.74

 --
 Cloud Services Checklist: Pricing and Packaging Optimization
 This white paper is intended to serve as a reference, checklist and point of
 discussion for anyone considering optimizing the pricing and packaging model
 of a cloud services business. Read Now!
 http://www.accelacomm.com/jaw/sfnl/114/51491232/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Change to external geowebcache and delete integrated geowebcache

2011-12-25 Thread Gabriel Roldan
 2011 9:15
 Vastaanottaja: geoserver-users@lists.sourceforge.net
 Aihe: [Geoserver-users] Change to external geowebcache and delete integrated
 geowebcache

 Hi,

 I would like to change my geowebcache from integrated to external due to
 problems with custom srs definitions which don´t work with the integrated
 version.

 I have already cached some layers in 900913 and 4326.

 Is there anything I should consider before doing this? My method is to
 delete the following jars

 gwc-2.1.2.jar
 gwc-core-1.3-RC1.jar
 gwc-diskquota-1.3-RC1.jar
 gwc-georss-1.3-RC1.jar
 gwc-gmaps-1.3-RC1.jar
 gwc-kml-1.3-RC1.jar
 gwc-rest-1.3-RC1.jar
 gwc-tms-1.3-RC1.jar
 gwc-ve-1.3-RC1.jar
 gwc-wms-1.3-RC1.jar
 gwc-wmts-1.3-RC1.jar

 and copy the precached layers into the new geocache app


 If anyone has done this successfully before and know of a better way please
 let me know.

 thanks,

 Rob

 System:
 Linux Ubuntu 10.04
 Tomcat6
 Geoserver 2.1.2





 --
 Systems Optimization Self Assessment
 Improve efficiency and utilization of IT resources. Drive out cost and
 improve service delivery. Take 5 minutes to use this Systems Optimization
 Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Gutter parameter in geowebcache

2011-12-23 Thread Gabriel Roldan
On Fri, Dec 23, 2011 at 11:03 AM, Pierluigi Santin Fintel
p.san...@fintelengineering.it wrote:

 --Original Message--
 To: geoserver-users@lists.sourceforge.net
 Subject: Gutter parameter in geowebcache
 Sent: Dec 23, 2011 13:57

 Hi all,

 I'm playing with the gutter parameter of the geowebcache to cope with the 
 effects of rendering large simbols at the edge of a tile. I managed to apply 
 metatiling and this improves the quality of the final map but does not solve 
 completely the problem. So I'm trying with gutter.

 My question is: which is the correct value for gutter? My final tile size is 
 512x512 metatile is 3x3. I applyed a gutter value of 3: but what is the unit 
 of measure of this value? Pixels, meters ?

It's pixels. Was introduced before SLD suport for units of measure so
it only works well if the SLD has pixel sized strokes/markers.

You should set it to the larger number of pixels a marker/stroke size
is in the SLD.

Cheers,
Gabriel


 Sent from my BlackBerry® wireless device

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geoserver-devel] gwcFacade Bean Exception while debugging GeoServer

2011-12-20 Thread Gabriel Roldan
So how did you get and set up the source code for eclipse?
If may be that you have an outdated version of some gwc jar in your
local maven repo?
try mvn -U clean install eclipse:eclipse and then refresh all the
projects in eclipse.

Gabriel

On Tue, Dec 20, 2011 at 3:03 PM, Patrick D true.ea...@gmail.com wrote:
 I'm using GeoServer 2.1.snapshot and attempting to debug GeoServer via
 Eclipse. As GeoServer is starting up, the following error gets thrown:

 BeanCreationException: Error creating bean with name 'gwcFacade'
 defined in URL 
 [file:/C:/Geoserver/src/gwc/target/classes/geowebcache-geoserver-context.xml]:
 Cannot resolve reference to bean 'gwcTLDispatcher' while setting
 constructor argument;

 The gwcTLDispatcher bean is referenced in geowebcache-core-context.xml
 file, and points to the class
 org.geowebcache.layer.TileLayerDispatcher. This isn't a file located
 in the gwc project.

 I've seen another post on this mailing list - someone experienced a
 similar problem but was solved by either increasing the JVM mem size,
 or by switching from the JDK7 to JDK6. I've adjust the VM sizes, and
 I'm using JDK6 right now and still see the error. Any ideas on what's
 causing this exception and how to resolve? I'm using Win7 64bit,
 running 32bit Eclipse and 32bit JDK6.

 Thanks,
 Patrick

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Geoserver-devel mailing list
 geoserver-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Reload geowebcache configuration

2011-12-06 Thread Gabriel Roldan
Go to the geowebcache demos page. At the very bottom there's a reload
configuration link. That should work on the latest GeoServer. In
previous ones there was a security related bug that made it not work
some times.

Cheers,
Gabriel

On Mon, Dec 5, 2011 at 8:30 AM, Robert Buckley robertdbuck...@yahoo.com wrote:
 Hi,

 I am testing new gridsets in geowebcache. The GWC version is the integrated
 geoserver version inside a tomcat6 container. What is the quickest way to
 reload the geowebcache configurations after I edit the geowebcache.xml
 file?Do have to restart tomcat6 (sudo var/init.d/tomcat6 restart) or is
 there a quicker easier way?

 yours with thanks,

 Rob

 --
 All the data continuously generated in your IT infrastructure
 contains a definitive record of customers, application performance,
 security threats, fraudulent activity, and more. Splunk takes this
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Intro and first question

2011-12-01 Thread Gabriel Roldan
/double
 double0.02197265625/double
 double0.010986328125/double
 double0.0054931640625/double
 /resolutions

 /gridSet
 /gridSets
 wmsLayer
 !-- Layer details --
 nameLIMA/name
 wmsUrlstringhttp://localhost:1024/geoserver/wms/string/wmsUrl
 gridSubset
 gridSetNamePolar_Stereographic/gridSetName
 !-- Eventuell extent --
 /gridSubset
 !-- More layer details --
 /wmsLayer

 /gwcConfiguration






 On Tue, Nov 29, 2011 at 11:32 AM, brendan barrett shogun...@gmail.com
 wrote:

 I just realised I didn't reply to all, so the list wasn't getting my
 emails... sorry.

 Would my data being in polar stererographic have anything to do with the
 demos not displaying?

 On Tue, Nov 29, 2011 at 11:30 AM, brendan barrett shogun...@gmail.com
 wrote:

 Hi Andrea

 Thanks for the response.

 When I go to that page, I try out the demo by clicking jpeg next to
 either the 4326 or 900913 options of the layer, but the page it takes me to
 remains blank... with no data. In the log file, I see the following

 2011-11-29 11:27:43,086 INFO [geowebcache.GeoWebCacheDispatcher] - Read
 425 from blank PNG file (expected 425).


 On Tue, Nov 29, 2011 at 11:20 AM, Andrea Aime
 andrea.a...@geo-solutions.it wrote:

 On Tue, Nov 29, 2011 at 8:27 AM, brendan barrett shogun...@gmail.com
 wrote:

 Hey

 What an awesome project. I've been battling for days to get a reliable
 WMS. Yesterday I downloaded Geoserver, install in a few minutes and
 after a little reading I am up and running. Unbelievable. Thanks to
 everyone that has been working on this project. I hope to be able to
 contribute to it moving forward.

 Now for a question:
 I am trying to enable tile caching, but everything I do doesn't seem
 to work.

 From the beginning: I added a new WorkSpace, then added a Store
 (which
 feeds off a GeoTiff). I then published the layer. Under the
 GeoWebCache menu item, I checked Enable direct WMS integration. I
 assume this means that when I do a layer preview (using Tiled not
 Single tile), that it should be adding tiles to the cache, and
 reading from that cache when I view parts of the map I have already
 viewed.


 Nope, it's not necessarily like that. The tiled view in the GeoServer
 preview is not
 setup to be aligned to the fixed tile grid that GWC uses, so it's not
 going to
 populate the tile cache directly.

 If you are using tiling you are better off using the GWC own demo
 viewers, which
 are setup to work against the fixed GWC tile structure instead:

 http://locahost:8080/geoserver/gwc/demo

 Cheers
 Andrea

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

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

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

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

 ---






 --
 All the data continuously generated in your IT infrastructure
 contains a definitive record of customers, application performance,
 security threats, fraudulent activity, and more. Splunk takes this
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geowebcache.xml prevents Geoserver from restarting

2011-12-01 Thread Gabriel Roldan
Hi Hailey,

I'm pretty sure your set up doens't work because of a bug in gwc that
makes the configuration of a gridset using the levels property
instead of resolutions unusable.

The quick workaround would be to explicitly indicate the list of
resolutions instead.

Cheers,
Gabriel

On Thu, Nov 17, 2011 at 8:49 PM, Hailey Eckstrand
haileyeckstr...@gmail.com wrote:
 Hi All,
 I have GeoWebCache (V 1.2.6) that comes built-in with Geoserver and I am
 attempting to add the file geowebcache.xml to the gwc directory so that I
 can cache tiles in a projection other than 4326 or 900913.
 That is the only step I have taken so far. I have added that file  then I
 restarted Geoserver with a big FAIL (it wasn't able to start again until I
 moved the geowebcache.xml out of that directory).
 Is there a template somewhere where I can figure out how to write out the
 correct geowebcache.xml  what the next steps are?
 I have attached the geowebcache.xml file  a text file of the tomcat log
 when trying to restart Geoserver with the geowebcache.xml file in the gcw
 directory.

 My Geoserver build information:

 Version2.1-RC5
 Subversion Revision-1
 Build Date20-apr-2011 10:12
 GeoTools Version2.7.0.2 (rev -1)


 Thanks!
 Hailey




 --
 All the data continuously generated in your IT infrastructure
 contains a definitive record of customers, application performance,
 security threats, fraudulent activity, and more. Splunk takes this
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] pdf export: why the request for tile dimensions of 625x458

2011-12-01 Thread Gabriel Roldan
On Thu, Nov 24, 2011 at 3:53 AM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 Can anyone tell me why the mapfish print is requesting tile dimensions  of
 625x458?
I guess because it doesn't speak WMS-C but just plain WMS.


-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver TMS handler error

2011-11-29 Thread Gabriel Roldan
That is right, although the mapping for the tms endpoint was fixed on
Nov 7 so if you grab a nightly it should work.

On Tue, Nov 29, 2011 at 10:26 AM, Andrea Aime
andrea.a...@geo-solutions.it wrote:
 I am under the impression that TMS in gwc has not been working for quite
 some time.



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Testing GeoWebCache

2011-11-14 Thread Gabriel Roldan
What I do is to open the gwc demo page for the layer, copy the url for
one of the tiles (something lie right clikck - copy image URL,
depending on your browser), and then use curl to check if the
geowebcache-tile-index http response header is returned, like in the
example bellow, it returns geowebcache-tile-index: [3, 10, 4]


curl -v 
http://demo.opengeo.org/geoserver/gwc/service/wms?LAYERS=topp%3AstatesFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913BBOX=-12523442.7125,5009377.085,-10018754.17,7514065.6275WIDTH=256HEIGHT=256;/dev/null
* About to connect() to demo.opengeo.org port 80 (#0)
*   Trying 173.236.65.97...   % Total% Received % Xferd  Average
Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:--
--:--:-- 0connected
* Connected to demo.opengeo.org (173.236.65.97) port 80 (#0)
 GET 
 /geoserver/gwc/service/wms?LAYERS=topp%3AstatesFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913BBOX=-12523442.7125,5009377.085,-10018754.17,7514065.6275WIDTH=256HEIGHT=256
  HTTP/1.1
 User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e 
 zlib/1.2.3.4 libidn/1.22 librtmp/2.3
 Host: demo.opengeo.org
 Accept: */*

 HTTP/1.1 200 OK
 Date: Mon, 14 Nov 2011 11:01:51 GMT
 Server: Apache-Coyote/1.1
 Cache-Control: max-age=7200, must-revalidate
 Expires: Mon, 14 Nov 2011 13:01:51 GMT
 geowebcache-tile-index: [3, 10, 4]
 Content-Type: image/png
 Content-Length: 10729
 Via: 1.1 demo.opengeo.org

{ [data not shown]
100 10729  100 107290 0   7147  0  0:00:01  0:00:01 --:--:-- 13036
* Connection #0 to host demo.opengeo.org left intact
* Closing connection #0


On Wed, Nov 9, 2011 at 7:47 AM, jyby joanmallo...@gmail.com wrote:
 Hi, I was wondering how to test if geowebcache works with my application.
 When I load the layers some are very fast (point layers) and some are so
 slow (line layers), so I wanna know if they are loading from the cache
 (geowebcache) or not, any idea?

 Thanks in advance.

 Joan

 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/Testing-GeoWebCache-tp6977549p6977549.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] AuthenticatedCascading WMS

2011-11-08 Thread Gabriel Roldan
  2.1-SNAPSHOT
 Subversion Revision
  16547
 Build Date
  06-Nov-2011 05:04
 GeoTools Version
  2.7-SNAPSHOT (rev 38318)


 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/AuthenticatedCascading-WMS-tp6973991p6973991.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Large Volatile Point Dataset - WMS and WFS?

2011-11-06 Thread Gabriel Roldan
On Fri, Nov 4, 2011 at 1:13 AM, robpd robpodol...@yahoo.co.uk wrote:
 Hi

 We have a large and ever-expanding set of points to show on a web-map.  The
 number of points grows by the day and some points change location by the
 day.  Each point has some associated textual metadata to show on a
 point-and-click basis on the map.

 So, as indicated in other posts, I want a WMS service (using SLDs) for the
 rendering and a WFS service for the point interrogation.  However, here are
 the wrinkles..

 (a) How can we ensure that only the tiles that need to change in response to
 new/changed points do so?
At the moment there are two ways of doing that.
1) if the changes are performed through WFS (which I doubt), you don't
need to do anything. There's a WFS transaction listener that truncates
the tiles for the region affected by the transaction.
2) Set up a GeoRSS poll task on the layer
http://geowebcache.org/docs/current/configuration/layers/georss.html?highlight=georss
This implies that you'll need to develop the Atom/GeoRSS feed that's
to be polled by GWC in order to get the latest changes. The structure
needs to be like the one in this example:
https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/georss/src/test/resources/org/geowebcache/georss/test-data/mixedgeometries_feed.xml.
The bad news is that it is not yet possible to configure a georss feed
for GeoServer embedded layers, so you'll need to create separate layer
definitions in gs data dir/gwc/geowebcache.xml


 (b) We have our own (high speed) point clustering solution to provide
 point-clusters at most zoom levels - as we want to display just cluster
 centres at most zoom-levels (apart from the most 'zoomed-in'). Is there a
 better point-clustering alternative available in GeoServer?  Could I use my
 own clusters for the different zoom levels?

I'm curious what is a point cluster?


 (c) From time to time we may wish to completely recluster all points (like
 b) - thus leading to the need to replenish all tiles.

 Right now it's a green-fields situation so I'm looking for any architectural
 suggestions that use Geoserver and Geowebcache.  Any suggestions as to the
 main building blocks I should be using (including storage etc)?

Check both GeoSever and GWC production recommendations:
http://geowebcache.org/docs/current/production/index.html
http://docs.geoserver.org/stable/en/user/production/index.html

And this publication contains a couple descriptions of real world
production scenarios:
http://opengeo.org/publications/geoserver-production/

Hope that helps,
Gabriel

 Would be grateful of some direction.  Thanks.


 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/Large-Volatile-Point-Dataset-WMS-and-WFS-tp6961594p6961594.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] 2 fresh instances side-by-side

2011-11-05 Thread Gabriel Roldan
)
 

 at
 org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
 

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
 

 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
 

 ** **
 --

 [image: image001]

 *Terry Rankine
 *Research Group Leader
 CSIRO Earth Science and Resource Engineering

 26 Dick Perry Avenue, Kensington, WA 6151

 *P* +61-8-6436 8601 | *M* +61 (0)430 393 364 | *W* www.csiro.au 

 ** **

 ** **


 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


  1   2   >