[Geoserver-users] marine map (Serving OSM Data with GeoServer presentation)

2022-03-16 Thread Ashley Mort via Geoserver-users
Is the marine map (osm_marine_dark) publicly available anywhere?  It was shown 
in Andrea's youtube presentation "Serving OSM Data with GeoServer - Advanced 
Styling".

Source:
https://youtu.be/jwMNKPUL2iw?t=5721


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] trying to encrypt passwd in datastore.properties

2021-11-29 Thread Ashley Mort via Geoserver-users
I think this is a problem on my end.

It seems like if my BrowseImageMosaicStore.properties (“primary configuration 
file”) exists, then my DB table for that layer needs to already exist.  If it 
doesn’t the table won’t be auto created and it won’t have anywhere to find the 
data.

If that BrowseImageMosaicStore.properties file does not exist, then it will try 
to auto create the appropriate table in my DB.  It will fail if the DB table 
already exists.

The fix seems to be to either avoid the above 2 scenarios or do: drop table, 
delete BrowseImageMosaicStore.properties, and restart GeoServer.  Then 
everything seems to get created properly.


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Ashley Mort via Geoserver-users 
Sent: Monday, November 29, 2021 6:29 AM
To: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] trying to encrypt passwd in 
datastore.properties

I am seeing an error like this now.  It seems to work the first time (it 
creates a table inside my DB for my Store) but then when I restart GeoServer 
(or try to re-save my Store) and try to layer preview my layer, I get the 
following error.

I have tried deleting the BrowseImageMosaicStore table in my DB but still get 
the error.  Any ideas on this one?

My BrowseImageMosaicStore datastore.properties just has:
StoreName=ArchiveQuery:ImageMosaicPostGIS

That ImageMosaicPostGIS Store seems to connect successfully.


29 Nov 12:13:26 INFO [gce.imagemosaic] - Now indexing file seedImage.jpg 29 Nov 
12:13:26 DEBUG [gce.imagemosaic] - Thread Name qtp1279149968-162 class 
org.geotools.gce.imagemosaic.ImageMosaicEventHandlers Now indexing file 
seedImage.jpg 29 Nov 12:13:26 DEBUG [gce.arcgrid] - ArcGridFormatFactory is 
available. 29 Nov 12:13:26 DEBUG [gce.arcgrid] - Creating a new ArcGriFormat. 
29 Nov 12:13:26 DEBUG [gce.image] - Unable to find crs, continuing with default 
CRS 29 Nov 12:13:26 TRACE [util.factory] - ENTRY (FeatureTypeFactory, 
FEATURE_TYPE_FACTORY) 29 Nov 12:13:26 TRACE [util.factory] - RETURN 
(FeatureTypeFactory, FEATURE_TYPE_FACTORY): found implementation Optional. 29 
Nov 12:13:26 ERROR [gce.imagemosaic] - Schema 'BrowseImageMosaicStore' already 
exists java.lang.IllegalArgumentException: Schema 'BrowseImageMosaicStore' 
already exists at 
org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:723) at 
org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:146) at 
org.geotools.gce.imagemosaic.catalog.AbstractGTDataStoreGranuleCatalog.createType(AbstractGTDataStoreGranuleCatalog.java:614)
 at 
org.geotools.gce.imagemosaic.catalog.RepositoryDataStoreCatalog.createType(RepositoryDataStoreCatalog.java:38)
 at 
org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog.createType(CachingDataStoreGranuleCatalog.java:92)
 at 
org.geotools.gce.imagemosaic.RasterManager.createStore(RasterManager.java:1446) 
at 
org.geotools.gce.imagemosaic.ImageMosaicReader.createCoverage(ImageMosaicReader.java:1147)
 at 
org.geotools.gce.imagemosaic.ImageMosaicConfigHandler.updateConfiguration(ImageMosaicConfigHandler.java:1592)
 at 
org.geotools.gce.imagemosaic.ImageMosaicWalker.handleFile(ImageMosaicWalker.java:255)
 at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.handleFile(ImageMosaicDirectoryWalker.java:96)
 at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367) at 
org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335) at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.(ImageMosaicDirectoryWalker.java:117)
 at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker.run(ImageMosaicDirectoryWalker.java:203)
 at org.geotools.gce.imagemosaic.Utils.createMosaic(Utils.java:517) at 
org.geotools.gce.imagemosaic.Utils.checkSource(Utils.java:1512) at 
org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:534)
 at 
org.geotools.gce.imagemosaic.ImageMosaicReader.(ImageMosaicReader.java:487)
 at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:586)
 at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:111)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1567)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1513)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1500)
 at 
org.geoserver.web.data.store.CoverageStoreEditPage.onSave(CoverageStoreEditPage.java:125)

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
Sent: Friday, November 26, 2021 10:22 AM
To: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: [External] Re: [Geoserver-users] trying to encrypt passwd in 
datastore.properties

Oh I see.  That is now working for me

Re: [Geoserver-users] trying to encrypt passwd in datastore.properties

2021-11-29 Thread Ashley Mort via Geoserver-users
I am seeing an error like this now.  It seems to work the first time (it 
creates a table inside my DB for my Store) but then when I restart GeoServer 
(or try to re-save my Store) and try to layer preview my layer, I get the 
following error.

I have tried deleting the BrowseImageMosaicStore table in my DB but still get 
the error.  Any ideas on this one?

My BrowseImageMosaicStore datastore.properties just has:
StoreName=ArchiveQuery:ImageMosaicPostGIS

That ImageMosaicPostGIS Store seems to connect successfully.


29 Nov 12:13:26 INFO [gce.imagemosaic] - Now indexing file seedImage.jpg 29 Nov 
12:13:26 DEBUG [gce.imagemosaic] - Thread Name qtp1279149968-162 class 
org.geotools.gce.imagemosaic.ImageMosaicEventHandlers Now indexing file 
seedImage.jpg 29 Nov 12:13:26 DEBUG [gce.arcgrid] - ArcGridFormatFactory is 
available. 29 Nov 12:13:26 DEBUG [gce.arcgrid] - Creating a new ArcGriFormat. 
29 Nov 12:13:26 DEBUG [gce.image] - Unable to find crs, continuing with default 
CRS 29 Nov 12:13:26 TRACE [util.factory] - ENTRY (FeatureTypeFactory, 
FEATURE_TYPE_FACTORY) 29 Nov 12:13:26 TRACE [util.factory] - RETURN 
(FeatureTypeFactory, FEATURE_TYPE_FACTORY): found implementation Optional. 29 
Nov 12:13:26 ERROR [gce.imagemosaic] - Schema 'BrowseImageMosaicStore' already 
exists java.lang.IllegalArgumentException: Schema 'BrowseImageMosaicStore' 
already exists at 
org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:723) at 
org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:146) at 
org.geotools.gce.imagemosaic.catalog.AbstractGTDataStoreGranuleCatalog.createType(AbstractGTDataStoreGranuleCatalog.java:614)
 at 
org.geotools.gce.imagemosaic.catalog.RepositoryDataStoreCatalog.createType(RepositoryDataStoreCatalog.java:38)
 at 
org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog.createType(CachingDataStoreGranuleCatalog.java:92)
 at 
org.geotools.gce.imagemosaic.RasterManager.createStore(RasterManager.java:1446) 
at 
org.geotools.gce.imagemosaic.ImageMosaicReader.createCoverage(ImageMosaicReader.java:1147)
 at 
org.geotools.gce.imagemosaic.ImageMosaicConfigHandler.updateConfiguration(ImageMosaicConfigHandler.java:1592)
 at 
org.geotools.gce.imagemosaic.ImageMosaicWalker.handleFile(ImageMosaicWalker.java:255)
 at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.handleFile(ImageMosaicDirectoryWalker.java:96)
 at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367) at 
org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335) at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.(ImageMosaicDirectoryWalker.java:117)
 at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker.run(ImageMosaicDirectoryWalker.java:203)
 at org.geotools.gce.imagemosaic.Utils.createMosaic(Utils.java:517) at 
org.geotools.gce.imagemosaic.Utils.checkSource(Utils.java:1512) at 
org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:534)
 at 
org.geotools.gce.imagemosaic.ImageMosaicReader.(ImageMosaicReader.java:487)
 at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:586)
 at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:111)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1567)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1513)
 at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1500)
 at 
org.geoserver.web.data.store.CoverageStoreEditPage.onSave(CoverageStoreEditPage.java:125)

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Ashley Mort via Geoserver-users 
Sent: Friday, November 26, 2021 10:22 AM
To: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] trying to encrypt passwd in 
datastore.properties

Oh I see.  That is now working for me.  Thanks again!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime 
mailto:andrea.a...@geosolutionsgroup.com>>
Sent: Thursday, November 25, 2021 12:48 PM
To: Ashley Mort mailto:ashley_c_m...@raytheon.com>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: [External] Re: [Geoserver-users] trying to encrypt passwd in 
datastore.properties

Hi Ahsley,
there is no way to encrypt credentials in those property files... but there is 
another possible approach.
You can configure the postgis connection as a datastore in GeoServer (that 
encrypts the password)
and then refer to it from the properties file, see the StoreName property 
here<https://docs.geoserver.org/stable/en/user/data/raster/imagemosaic/configuration.html>.
Support for that property has been added sometimes in 2017, it's not available 
in old GeoServer versions.

Cheers
Andrea


On Thu, Nov 25, 2021 at 3:53 PM Ashley Mort via Geoserver-users 
mailto:geose

Re: [Geoserver-users] trying to encrypt passwd in datastore.properties

2021-11-26 Thread Ashley Mort via Geoserver-users
Oh I see.  That is now working for me.  Thanks again!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime 
Sent: Thursday, November 25, 2021 12:48 PM
To: Ashley Mort 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] trying to encrypt passwd in 
datastore.properties

Hi Ahsley,
there is no way to encrypt credentials in those property files... but there is 
another possible approach.
You can configure the postgis connection as a datastore in GeoServer (that 
encrypts the password)
and then refer to it from the properties file, see the StoreName property 
here<https://docs.geoserver.org/stable/en/user/data/raster/imagemosaic/configuration.html>.
Support for that property has been added sometimes in 2017, it's not available 
in old GeoServer versions.

Cheers
Andrea


On Thu, Nov 25, 2021 at 3:53 PM Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
I have an ImageMosaic that uses datastore.properties to connect to PostGIS.  
Plain text password works but I would like to encrypt the password (preferably 
strong PBE).

Is there a recommended way to create an encrypted password for use in a 
datastore.properties file?  Thanks!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards,

Andrea Aime

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


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 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: 
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] trying to encrypt passwd in datastore.properties

2021-11-25 Thread Ashley Mort via Geoserver-users
I have an ImageMosaic that uses datastore.properties to connect to PostGIS.  
Plain text password works but I would like to encrypt the password (preferably 
strong PBE).

Is there a recommended way to create an encrypted password for use in a 
datastore.properties file?  Thanks!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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 hangs when POSTing external.imagemosaic with concurrent WMS requests

2021-11-17 Thread Ashley Mort via Geoserver-users
Using PostGIS for indexing seems to have solved my problems.  Thanks!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime 
Sent: Wednesday, November 17, 2021 9:16 AM
To: Ashley Mort 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] GeoServer hangs when POSTing 
external.imagemosaic with concurrent WMS requests

Ashley, I strongly recommend against using Shapefile for holding the index of a 
mosaic that needs to be updated
at runtime. The shapefile update is not a quick in-place process, it builds a 
new shapefile and then replaces the old one.
While it would be possible to make concurrent edit better, in the best 
scenario, it would still be very slow.

Do yourself a favour and switch to PostGIS

Cheers
Andrea

On Wed, Nov 17, 2021 at 3:06 AM Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
So thanks to Simone helping me find some sample JMeter data, I was able to 
piece together a JMeter to find what has been causing my GeoServer 2.17.2 to 
become non-responsive.

The JMeter test is (5threads/users repeated for 10 iterations) basically as 
follows.  I will attach it here.  I hope that’s ok as it’s only 15KB.
GET WMS request
GET WMS request
GET WMS request
POST external.imagemosaic (given a directory of images: /data/browse)
Note: the image mosaic is ~100 JPEG granules each w/ a corresponding .jgw 
worldfile.  We add a few images a few times each day.
It seems once this JMeter is iterated a few times, I will eventually get an 
error like below (usually missing .shp or missing .qix file) then my GeoServer 
WMS requests will all hang and GeoServer Java process utilization will stay 
high.  A restart of GeoServer sometimes totally resolves the issue and 
sometimes the Shapefile data files of my ImageMosaic Store get hosed and I have 
to manually delete and let GeoServer re-create them.

Is there something I could be doing better here?  If I could provide the exact 
image file path for each external.imagemosaic POST update instead of just 
giving it the parent directory of my images, would that help?  Any thoughts are 
appreciated.  Thanks!



17 Nov 01:16:27 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:362)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:275)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:135)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:749)
at org.geoserver.wms.GetMap.run(GetMap.java:300)
at org.geoserver.wms.GetMap.run(GetMap.java:123)
at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:246)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:38)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:55)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:31)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:61)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:41)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:50)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy104.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor310.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.geoserver.ows.Dispatcher.e

[Geoserver-users] GeoServer hangs when POSTing external.imagemosaic with concurrent WMS requests

2021-11-16 Thread Ashley Mort via Geoserver-users
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: 
/mapdata/geoserver_data_dir/data/ArchiveQuery/BrowseImageMosaicStore/BrowseImageMosaicStore.shp
 (No such file or directory)
at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:165)
at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:52)
at org.geotools.data.DataUtilities.bounds(DataUtilities.java:2725)
at 
org.geotools.gce.imagemosaic.RasterLayerRequest.computeCoverageBoundingBox(RasterLayerRequest.java:383)
at 
org.geotools.gce.imagemosaic.RasterLayerRequest.(RasterLayerRequest.java:288)
at 
org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1315)
at 
org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:905)
at 
org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:886)
at 
org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:132)
at 
org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:234)
at 
org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:222)
at 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:642)
at 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverageInEnvelope(GridCoverageReaderHelper.java:371)
at 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverages(GridCoverageReaderHelper.java:247)
at 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:690)
at 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:639)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:1059)
... 130 more
Caused by: java.io.FileNotFoundException: 
/mapdata/geoserver_data_dir/data/ArchiveQuery/BrowseImageMosaicStore/BrowseImageMosaicStore.shp
 (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at 
org.geotools.data.shapefile.files.ShpFiles.getReadChannel(ShpFiles.java:746)
at 
org.geotools.data.shapefile.shp.ShapefileReader.(ShapefileReader.java:261)
at 
org.geotools.data.shapefile.ShapefileSetManager.openShapeReader(ShapefileSetManager.java:64)
at 
org.geotools.data.shapefile.ShapefileFeatureSource.getReaderInternal(ShapefileFeatureSource.java:375)
at 
org.geotools.data.shapefile.ShapefileFeatureStore.getReaderInternal(ShapefileFeatureStore.java:133)
at 
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:619)
at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:163)
... 146 more
17 Nov 01:16:35 INFO [geoserver.wms] -
Request: getServiceInfo


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell



TestPlanGeoServer.jmx
Description: TestPlanGeoServer.jmx
___
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] looking for sample JMeter .jmx files for GeoServer

2021-11-16 Thread Ashley Mort via Geoserver-users
Is there anywhere I can find some free/public .jmx files to get started with 
load testing my GeoServer setup?  The ones in the GeoServer training seem like 
they'd be great but I don't know if they're publicly available.

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] ImageMosaic problem with grayscale JPEG image

2021-11-07 Thread Ashley Mort via Geoserver-users
I just wanted to follow up on this and say that the solution I ended up using 
was to convert every single band grayscale image to a 3band image using GDAL.  
Then every file in my image mosaic was 3 bands and then color and grayscale 
images would display as expected with no further modifications or style 
customizations needed.

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Vera Green 
Sent: Wednesday, May 26, 2021 2:35 PM
To: Daniele Romagnoli 
Cc: Ashley Mort ; GeoServer Mailing List List 

Subject: [External] Re: [Geoserver-users] ImageMosaic problem with grayscale 
JPEG image

I concur with that request for gdal info. We have had to use custom styles for 
gray scale images to display properly, tailor the style to the DN range if your 
data.

Vera

On Mon., May 24, 2021, 3:00 a.m. Daniele Romagnoli, 
mailto:daniele.romagn...@geo-solutions.it>> 
wrote:
Hi Ashley,
could you please run a gdalinfo on that image and report its output?

Are you applying any style on it?



On Fri, May 21, 2021 at 12:41 AM Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that’s 1908 x 
9804 pixels.  When I put it into an ImageMosaic, the image shows up totally 
black.  If I use GDAL to make it into a 3band color image, then it displays 
properly in my ImageMosaic.

Is it possible to have single band grayscale images in an ImageMosaic?  Are 
there any special requirements for doing this that I need to be aware of?  
Thanks!!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net<mailto: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-re

[Geoserver-users] updating an existing ImageMosaic problem

2021-11-07 Thread Ashley Mort via Geoserver-users
I have an ImageMosaic Store pointing to a folder in my data_dir.  There is a 
separate application that adds image files to that folder, then I need the 
ImageMosaic to see each new image so that the mosaic gets updated.

I've been using the following command to achieve what I want but at some point 
it seems to simply stop working and the ImageMosaic (and .dbf file in that 
folder) won't see new image paths.  It works for 5 or 10 or 100 images but I 
can't figure out at what point it stops actually updating because it always 
seems to return '200'.

Any tips on what I could do better?  I haven't gotten to the point where I 
attach a debugger to the source and step through the code yet.  I am using 
GeoServer 2.17.2 right now on rhel.

curl -u admin:geoserver -v -XPOST -H "Content-type: text/plain" -d 
file:///local/amort/sampleImagery 
http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/mort/external.imagemosaic

I have also tried:
curl -u admin:geoserver -v -XPOST -H "Content-type: text/plain" -d 
file:///local/amort/sampleImagery 
http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/mort/external.imagemosaic?recalculate=nativebbox,latlonbbox


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] ImageMosaic problem with grayscale JPEG image

2021-05-20 Thread Ashley Mort via Geoserver-users
I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that's 1908 x 
9804 pixels.  When I put it into an ImageMosaic, the image shows up totally 
black.  If I use GDAL to make it into a 3band color image, then it displays 
properly in my ImageMosaic.

Is it possible to have single band grayscale images in an ImageMosaic?  Are 
there any special requirements for doing this that I need to be aware of?  
Thanks!!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] DataSource not available after calling dispose() or before being set

2021-04-25 Thread Ashley Mort via Geoserver-users
s.supportsPropertySorting(JDBCQueryCapabilities.java:77)
at 
org.geotools.jdbc.JDBCQueryCapabilities.supportsSorting(JDBCQueryCapabilities.java:54)
at 
org.geotools.data.store.ContentFeatureSource$2.supportsSorting(ContentFeatureSource.java:1172)
at 
org.geotools.data.gen.PreGeneralizedFeatureSource$1.supportsSorting(PreGeneralizedFeatureSource.java:342)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:364)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:71)
at 
org.geotools.renderer.lite.StreamingRenderer.getFeatures(StreamingRenderer.java:2336)
at 
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2213)
at 
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:900)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:601)
... 43 more
2021-04-25 20:59:48,354 ERROR [seed.MTSeeder] - Problem communicating with 
GeoServer
org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:657)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:852)
at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:140)
at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:78)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:33)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:22)
at 
org.geoserver.gwc.seed.SeederThreadLocalTransferExecutor.lambda$submit$1(SeederThreadLocalTransferExecutor.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got null
at 
org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:709)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:651)
... 10 more


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime 
Sent: Wednesday, March 10, 2021 8:49 AM
To: Jody Garnett 
Cc: Ashley Mort ; 
geoserver-users@lists.sourceforge.net
Subject: [External] Re: [Geoserver-users] DataSource not available after 
calling dispose() or before being set

Hi,
I think I know what's going on. The pre-generalized data store is used there to 
have multiple generalized tables behind a single
layer. The store uses Repository to fetch the original stores and features 
sources... which per se is not bad, but it ends up
holding on to them, which is bad instead.
The ResourcePool under pressure, or due to re-configuration, can dispose of the 
store instances and create new ones, and then
the pre-generalized store ends up having dangling objects which throw that 
exception.

The work-around is to call "reset" after config changes.
The fix is to go into the pre-generalized store and make it stop holding 
references, and call onto the Repository every time
it needs a FeatureSource.

A bug report is welcomed, an actual fix much more so.

Cheers
Andrea




On Wed, Mar 10, 2021 at 3:33 PM Jody Garnett 
mailto:jody.garn...@gmail.com>> wrote:
Ashley:

You are the first person to report this error (although I suspect others may of 
also seen it and assumed someone else has reported).

Can I ask for some more detail? There should be a stack tract in the logs 
associated with this error; it may give us a clue which DataSource is causing 
problems.

The changing the database connection parametes is a good clue! I may expect a 
problem for rendering that occurs *right when* the connection is interrupted.

Jody

On Tue, Mar 9, 2021 at 5:22 PM Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
I am getting:
code=”internalError”Rendering process failed
DataSource not available after calling dispose() or before being set.

I am on GeoServer 2.17.2 on RedHat and using Andrea’s workspace from the 
osm-styles repo and connecting to a PostGIS DataStore which I loaded with some 
OSM data via imposm.

I get this error somewhat randomly and if I restart GeoServer, it seems to stop 
happening for a while but will eventually come back (even when making the exact 
same WMS request for an exact / known area that worked earlier).

Is this something that may be fixed in a later version of GeoServer?  Does it 
have something to do with the speed of the connection to my DataStore?  Any 
tips would be appreciated as this is a tough one for me.  Thank you!


PS: If I re-enter my DataStore passwd and Save, that seems like it may trigger 
the error on subsequent requests.



Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 ce

[Geoserver-users] DataSource not available after calling dispose() or before being set

2021-03-09 Thread Ashley Mort via Geoserver-users
I am getting:
code=”internalError”Rendering process failed
DataSource not available after calling dispose() or before being set.

I am on GeoServer 2.17.2 on RedHat and using Andrea’s workspace from the 
osm-styles repo and connecting to a PostGIS DataStore which I loaded with some 
OSM data via imposm.

I get this error somewhat randomly and if I restart GeoServer, it seems to stop 
happening for a while but will eventually come back (even when making the exact 
same WMS request for an exact / known area that worked earlier).

Is this something that may be fixed in a later version of GeoServer?  Does it 
have something to do with the speed of the connection to my DataStore?  Any 
tips would be appreciated as this is a tough one for me.  Thank you!


PS: If I re-enter my DataStore passwd and Save, that seems like it may trigger 
the error on subsequent requests.



Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell
___
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] GeoSolutions multidimensional / image mosaic training files

2020-06-06 Thread Ashley Mort via Geoserver-users
Do these multidim training files exist anywhere currently?  I am trying to find 
the files like gome2.zip and temperature.zip to help me understand how to 
create an ImageMosaic pointing to a directory of .jpg/.jgw files using the REST 
interface.



Re: [Geoserver-users] GeoSolutions multidimensional / image mosaic training 
files
From: Daniele Romagnoli  - 2015-03-31 07:38:44
Attachments: Message as 
HTML

Hi Mike,

They should be contained in the full training archive.

http://geoserver.geo-solutions.it/downloads/training/windows/multidim/Training_2.6.X-32-V5-Multidim.zip



Please, let me know if that's what you need.



Best Regards,

Daniele





==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 for more information.

==



Ing. Daniele Romagnoli

Senior Software Engineer



GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054  Massarosa (LU)

Italy

phone: +39 0584 962313

fax:  +39 0584 1660272



http://www.geo-solutions.it

http://twitter.com/geosolutions_it



___
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-manager useful for 2.17

2020-06-05 Thread Ashley Mort via Geoserver-users
Is geoserver-manager still appropriate to use with newer versions of GeoServer 
like 2.17?

https://github.com/geosolutions-it/geoserver-manager

___
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.16 and GDAL problems

2019-09-13 Thread Ashley Mort
r.doStart(ContextHandler.java:852)
at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46)
at 
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192)
at 
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:502)
at 
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151)
at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:172)
at 
org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:416)
at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:65)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:145)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:576)
at 
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:238)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.server.Server.start(Server.java:418)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:382)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
at 
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:220)
at org.eclipse.jetty.start.Main.start(Main.java:490)
at org.eclipse.jetty.start.Main.main(Main.java:77)
2019-09-13 13:50:14.205:INFO:oejs.AbstractConnector:main: Started 
ServerConnector@333dd51e{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2019-09-13 13:50:14.211:INFO:oejs.Server:main: Started @34562ms

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] GDAL version

2018-12-10 Thread Ashley Mort
It seems GeoServer needs GDAL 1.9 for its extensions.  Will GDAL 2.x ever be 
used?  We are looking for some fixes in RPFTOC that have been made in GDAL 
1.10+.  Is there any way to integrate this version of GDAL or is that a major 
undertaking?  Thanks!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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] [External] Re: performance questions

2018-09-01 Thread Ashley Mort
Interesting info there that I was unaware of with the jai-ext startup 
parameter.  We have a bunch of ImageMosaic layers served as PNG with a default 
GeoServer 2.13.0 install (no native JAI installed).

Would the recommended setting generally be to use 
-Dorg.geotools.coverage.jaiext.enabled=true then leave the defaults in 
GeoServer Image Processing settings like below?

PNG Encoder: PNGJ based encoded (recommended)
JPEG Native Acceleration: off
Mosaic Native Acceleration: off
Warp Native Acceleration: off
JAI/JAIEXT Setup
JAIEXT Operations
all

JAI OPERATIONS
none

Ashley Mort
Sr. Software Engineer

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Saturday, September 1, 2018 5:20 AM
To: Bessette-Halsema, Dominique E 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] performance questions

Hi,
yes, the performance drop looks bad. Have you enabled jai-ext in 2.13.x? (it 
does more work, more comprehensive
ROI handling and NODATA Handling which was not there before) so for a simple 
scale it's slower also in my local tests,
that said we are running all production envs with jai-ext enabled with no 
complaints (probably because bottleneck are elsewhere,
network storage, JPEG2000 decompression and the like).

If you did not enable jai-ext in both environments, did you install native JAI 
in both?

Cheers
Andrea


On Sat, Sep 1, 2018 at 1:48 AM Bessette-Halsema, Dominique E 
mailto:dominique.besse...@gdit.com>> wrote:
Hello

I was recently doing some performance tests on the v2.5 GeoServer.

Jmeter Test configuration:
The tests were for WMS 1.3.0 getMap requests for a 74x96 deg of a GeoTiff.
The interpolation is set to bilinear and each test run is performed 100 times 
in a loop.
Each loop is paused for 200-500 milliseconds before sending out the next batch 
of concurrent requests.

Example request:
https://localhost:8443/geoserver/test/wms?layers=test:grid&width=512&height=666&bbox=73.0,-19.0,147.0,77.0&srs=CRS:84&format=image/png&version=1.3.0&service=WMS&request=GetMap.

To be candid, The average response time is much worse in v2.13 compared to 
v2.5.   I ended up updated v2.13 to use Marlin but the performance is still not 
as good as compared to v2.5.  Attached are the before/after updates.

I know there were a lot of updates between the versions but is there a global 
setting, cache, or configuration property that I should be looking into?

Dominique Bessette

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
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<mailto: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.
--
Check out the vibrant tech community on one of the world

Re: [Geoserver-users] GeoPackage (tiles) store via GeoServer REST?

2018-08-20 Thread Ashley Mort
Ok that worked too.  Here’s what I did.  Thanks!

POST http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/coveragestores
{
  "coverageStore": {
"name": "CIB25",
"workspace": " MyWorkspace ",
"type": "GeoPackage (tiles)",
"url": "file://D:/testdata/CIB.gpkg",
"enabled": "true"
  }
}

GET http://localhost:12121/geoserver/rest/workspaces/ MyWorkspace 
/coveragestores/CIB25/coverages?list=all
//then do this for each layer returned

POST http://localhost:12121/geoserver/rest/workspaces/ MyWorkspace /coverages
{
  "coverage": {
    "name": "layer1 ",
"title": "testLayer1",
"store": "CIB25",
"nativeCoverageName" : "layer1 "
  }
}

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Monday, August 20, 2018 1:13 PM
To: Ashley Mort 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] GeoPackage (tiles) store via 
GeoServer REST?

Hi,
again, haven't done it myself, but I'd look into something like:

  *   Get the list of coverages, one by one, using the "coverages" endpoint 
below your newly created store, with list=all, see 
http://docs.geoserver.org/latest/en/api/#/1.0.0/coverages.yaml
  *   Then do a POST for each one (same docs as above to look at), to create 
them, providing an almost empty json description, mostly just the name, and 
hope GeoServer fills in the blank for you
Cheers
Andrea

On Mon, Aug 20, 2018 at 7:11 PM Ashley Mort 
mailto:ashley_c_m...@raytheon.com>> wrote:
Oh ok that works!  Thanks!

So I have my coverage store and can see coverages with

http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/coveragestores/CIB25/coverages/workspace_fort_irwin_rpf_images__rpf_cb05_tiles?list=all

Is there any way to publish all the layers in the coverage automatically with 
the defaults that the UI would detect when doing “New Layer” from the UI 
console?

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime 
[mailto:andrea.a...@geo-solutions.it<mailto:andrea.a...@geo-solutions.it>]
Sent: Monday, August 20, 2018 11:56 AM
To: Ashley Mort mailto:ashley_c_m...@raytheon.com>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: [External] Re: [Geoserver-users] GeoPackage (tiles) store via 
GeoServer REST?

I have never tried to do that, but the endpoint for raster data sources is not 
the one you're using,
you should be looking at this one instead:

http://docs.geoserver.org/latest/en/api/#/1.0.0/coveragestores.yaml

Cheers
Andrea


On Mon, Aug 20, 2018 at 6:07 PM Ashley Mort 
mailto:ashley_c_m...@raytheon.com>> wrote:
Is there a way to create a “GeoPackage (tiles)” store via GeoServer REST?  All 
I can seem to create is the regular “GeoPackage” store which is a vector data 
source (below).  What would I have to change to get it to be a GeoPackage 
(tiles) store?  Thanks!


http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/datastores
{
  "dataStore": {
"name": "CIB",
"connectionParameters": {
  "entry": [

{"@key":"database","$":"file://D:/testdata/CIB.gpkg"},
{"@key":"dbtype","$":"geopkg"}
  ]
}
  }
}
Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
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<mailto: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 
---

Re: [Geoserver-users] GeoPackage (tiles) store via GeoServer REST?

2018-08-20 Thread Ashley Mort
Oh ok that works!  Thanks!

So I have my coverage store and can see coverages with

http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/coveragestores/CIB25/coverages/workspace_fort_irwin_rpf_images__rpf_cb05_tiles?list=all

Is there any way to publish all the layers in the coverage automatically with 
the defaults that the UI would detect when doing “New Layer” from the UI 
console?

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Monday, August 20, 2018 11:56 AM
To: Ashley Mort 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] GeoPackage (tiles) store via 
GeoServer REST?

I have never tried to do that, but the endpoint for raster data sources is not 
the one you're using,
you should be looking at this one instead:

http://docs.geoserver.org/latest/en/api/#/1.0.0/coveragestores.yaml

Cheers
Andrea


On Mon, Aug 20, 2018 at 6:07 PM Ashley Mort 
mailto:ashley_c_m...@raytheon.com>> wrote:
Is there a way to create a “GeoPackage (tiles)” store via GeoServer REST?  All 
I can seem to create is the regular “GeoPackage” store which is a vector data 
source (below).  What would I have to change to get it to be a GeoPackage 
(tiles) store?  Thanks!


http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/datastores
{
  "dataStore": {
"name": "CIB",
"connectionParameters": {
  "entry": [

{"@key":"database","$":"file://D:/testdata/CIB.gpkg"},
{"@key":"dbtype","$":"geopkg"}
  ]
}
  }
}
Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
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<mailto: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.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] GeoPackage (tiles) store via GeoServer REST?

2018-08-20 Thread Ashley Mort
Is there a way to create a "GeoPackage (tiles)" store via GeoServer REST?  All 
I can seem to create is the regular "GeoPackage" store which is a vector data 
source (below).  What would I have to change to get it to be a GeoPackage 
(tiles) store?  Thanks!


http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/datastores
{
  "dataStore": {
"name": "CIB",
"connectionParameters": {
  "entry": [
{"@key":"database","$":"file://D:/testdata/CIB.gpkg"},
{"@key":"dbtype","$":"geopkg"}
  ]
}
  }
}
Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] another Importer REST question

2018-08-17 Thread Ashley Mort
In summary, I am unable to use PUT modify either of the following without 
getting a com.sun.proxy.$Proxy error using geoserver 2.13.2 on Windows.

/imports//task/
/imports//tasks//layer

Any help is a blessing.  Thanks once again!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Ashley Mort
Sent: Friday, August 17, 2018 5:44 PM
To: geoserver-users@lists.sourceforge.net
Subject: [External] [Geoserver-users] another Importer REST question

I am trying to handle importing multiple layers with the same name in the REST 
interface.  If I use the web interface (Import Data link) and I import A.TOC 
from one folder and an A.TOC from another data folder then it will create me 
two data stores which work great (A and A0).  Is there a way to duplicate this 
behavior with the REST interface?  I will try to explain what I have tried.

I tried to edit the targetStore/dataStore name in my rest/imports POST but that 
fails and says the targetStore doesn't exist.  I have tried to use PUT to edit 
the coverageStore:name or layer:name in the rest/imports/0/tasks/0 but those 
error out saying store doesn't exist or layer doesn't exist.  It looks like I 
can't change anything with the "task" with PUT even if it's in the "READY" (not 
executed) state.

Is there any way to use the Importer REST interface to load 2 files with the 
same name and change either the store or layer name so they are both created?  
For example A and A0 for my layers just like the web interface creates?  I 
would be happy if I could change either the store name or layer name via REST 
without losing the feature that auto-detects and creates my store.


POST http://localhost:12121/geoserver/rest/imports
{"import":

{"targetWorkspace":{"workspace":{"name":"VegaWorkspace"}},"data":{"type":"file",
"file":"D:\\testdata\\RPF\\CDRG\\GNC\\RPF\\A.TOC"}}}

POST http://localhost:12121/geoserver/rest/imports/0
 the above works great


POST http://localhost:12121/geoserver/rest/imports
{"import":

{"targetWorkspace":{"workspace":{"name":"VegaWorkspace"}},"data":{"type":"file",
"file":"D:\\testdata\\RPF\\CDRG\\TPC\\RPF\\A.TOC"}}}

POST http://localhost:12121/geoserver/rest/imports/1
---this fails with the error below---
17 Aug 17:29:45 WARN [geoserver.importer] - Task failed during import: 
org.geoserver.importer.ImportTask@b05<mailto:org.geoserver.importer.ImportTask@b05>
java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to 
org.geoserver.catalog.impl.ResourceInfoImpl
at org.geoserver.catalog.impl.CatalogImpl.resolve(CatalogImpl.java:1664)
at org.geoserver.catalog.impl.CatalogImpl.add(CatalogImpl.java:393)
at 
org.geoserver.security.SecureCatalogImpl.add(SecureCatalogImpl.java:1202)
at 
org.geoserver.catalog.impl.AbstractFilteredCatalog.add(AbstractFilteredCatalog.java:586)
at 
org.geoserver.catalog.impl.AbstractCatalogDecorator.add(AbstractCatalogDecorator.java:205)
at org.geoserver.importer.Importer.addToCatalog(Importer.java:1524)
at org.geoserver.importer.Importer.doDirectImport(Importer.java:1030)



---

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] another Importer REST question

2018-08-17 Thread Ashley Mort
I am trying to handle importing multiple layers with the same name in the REST 
interface.  If I use the web interface (Import Data link) and I import A.TOC 
from one folder and an A.TOC from another data folder then it will create me 
two data stores which work great (A and A0).  Is there a way to duplicate this 
behavior with the REST interface?  I will try to explain what I have tried.

I tried to edit the targetStore/dataStore name in my rest/imports POST but that 
fails and says the targetStore doesn't exist.  I have tried to use PUT to edit 
the coverageStore:name or layer:name in the rest/imports/0/tasks/0 but those 
error out saying store doesn't exist or layer doesn't exist.  It looks like I 
can't change anything with the "task" with PUT even if it's in the "READY" (not 
executed) state.

Is there any way to use the Importer REST interface to load 2 files with the 
same name and change either the store or layer name so they are both created?  
For example A and A0 for my layers just like the web interface creates?  I 
would be happy if I could change either the store name or layer name via REST 
without losing the feature that auto-detects and creates my store.


POST http://localhost:12121/geoserver/rest/imports
{"import":

{"targetWorkspace":{"workspace":{"name":"VegaWorkspace"}},"data":{"type":"file",
"file":"D:\\testdata\\RPF\\CDRG\\GNC\\RPF\\A.TOC"}}}

POST http://localhost:12121/geoserver/rest/imports/0
 the above works great


POST http://localhost:12121/geoserver/rest/imports
{"import":

{"targetWorkspace":{"workspace":{"name":"VegaWorkspace"}},"data":{"type":"file",
"file":"D:\\testdata\\RPF\\CDRG\\TPC\\RPF\\A.TOC"}}}

POST http://localhost:12121/geoserver/rest/imports/1
---this fails with the error below---
17 Aug 17:29:45 WARN [geoserver.importer] - Task failed during import: 
org.geoserver.importer.ImportTask@b05
java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to 
org.geoserver.catalog.impl.ResourceInfoImpl
at org.geoserver.catalog.impl.CatalogImpl.resolve(CatalogImpl.java:1664)
at org.geoserver.catalog.impl.CatalogImpl.add(CatalogImpl.java:393)
at 
org.geoserver.security.SecureCatalogImpl.add(SecureCatalogImpl.java:1202)
at 
org.geoserver.catalog.impl.AbstractFilteredCatalog.add(AbstractFilteredCatalog.java:586)
at 
org.geoserver.catalog.impl.AbstractCatalogDecorator.add(AbstractCatalogDecorator.java:205)
at org.geoserver.importer.Importer.addToCatalog(Importer.java:1524)
at org.geoserver.importer.Importer.doDirectImport(Importer.java:1030)



---

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 2.13.0 importer- updating a task?

2018-08-16 Thread Ashley Mort
Ok, done.  Thank you!

https://osgeo-org.atlassian.net/projects/GEOS/issues/GEOS-8896

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Alessio Fabiani [mailto:alessio.fabi...@geo-solutions.it]
Sent: Thursday, August 16, 2018 2:23 AM
To: Ashley Mort 
Cc: geoserver-users 
Subject: [External] Re: [Geoserver-users] GeoServer 2.13.0 importer- updating a 
task?

Hello,
yes please, open a JIRA about that along with logs and, possibly, instructions 
to reproduce.

Thanks,
Alessio.


Il giorno gio 16 ago 2018 alle ore 03:25 mortac8 
mailto:ashley_c_m...@raytheon.com>> ha scritto:
Would this qualify as a bug?  I can make a Jira issue for it if that would
help.  Thanks!


mortac8 wrote
> Hello all!  I am getting an error in GeoServer 2.13.0 when I am trying to
> update a task via the Importer REST API.
>
> Basically, my goal is for my Importer to always 'REPLACE' to handle the
> case if the user imports an updated file with the same name but updated
> data.  I was trying to just set all my Tasks to be update mode: "REPLACE"
> but that gives me the confusing error below.  Can anyone provide any tips
> or ideas?  Thanks so much!!
>
>
> 13 Aug 18:43:10 ERROR [geoserver.rest] - com.sun.proxy.$Proxy27 cannot be
> cast to org.geoserver.catalog.impl.LayerInfoImpl
> java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to
> org.geoserver.catalog.impl.LayerInfoImpl
> at
> org.geoserver.importer.rest.ImportTaskController.updateLayer(ImportTaskController.java:442)
> at
> org.geoserver.importer.rest.ImportTaskController.handleTaskPut(ImportTaskController.java:364)
> at
> org.geoserver.importer.rest.ImportTaskController.lambda$taskPut$4(ImportTaskController.java:167)
> at
> org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeJSON(ImportWrapperMessageConverter.java:84)
> at
> org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeInternal(ImportWrapperMessageConverter.java:67)
> at
> org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeInternal(ImportWrapperMessageConverter.java:26)
> at
> org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)
>
>
> POST http://localhost:12121/geoserver/rest/imports
> {"import":{"targetWorkspace":{"workspace":{"name":"myWorkspace"}},"data":{"type":"file","file":"D:\\testdata\\CIB.gpkg"}}}
>
> {
> "import": {
> "id": 24,
> "href": "http://localhost:12121/geoserver/rest/imports/24";,
> "state": "PENDING",
> "archive": false,
> "targetWorkspace": {
> "workspace": {
> "name": " myWorkspace ",
> "isolated": false
> }
> },
> "data": {
> "type": "file",
> "format": "GeoPackage (tiles)",
> "file": "CIB.gpkg"
> },
> "tasks": [
> {
> "id": 0,
> "href":
> "http://localhost:12121/geoserver/rest/imports/24/tasks/0";,
> "state": "READY"
> }
> ]
> }
> }
>
> PUT http://localhost:12121/geoserver/rest/imports/24/tasks/0
> {"task":{"updateMode":"REPLACE"}}





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==
Ing. Alessio 

[Geoserver-users] GeoServer 2.13.0 importer- updating a task?

2018-08-14 Thread Ashley Mort
Hello all!  I am getting an error in GeoServer 2.13.0 when I am trying to 
update a task via the Importer REST API.

Basically, my goal is for my Importer to always 'REPLACE' to handle the case if 
the user imports an updated file with the same name but updated data.  I was 
trying to just set all my Tasks to be update mode: "REPLACE" but that gives me 
the confusing error below.  Can anyone provide any tips or ideas?  Thanks so 
much!!


13 Aug 18:43:10 ERROR [geoserver.rest] - com.sun.proxy.$Proxy27 cannot be cast 
to org.geoserver.catalog.impl.LayerInfoImpl
java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to 
org.geoserver.catalog.impl.LayerInfoImpl
at 
org.geoserver.importer.rest.ImportTaskController.updateLayer(ImportTaskController.java:442)
at 
org.geoserver.importer.rest.ImportTaskController.handleTaskPut(ImportTaskController.java:364)
at 
org.geoserver.importer.rest.ImportTaskController.lambda$taskPut$4(ImportTaskController.java:167)
at 
org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeJSON(ImportWrapperMessageConverter.java:84)
at 
org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeInternal(ImportWrapperMessageConverter.java:67)
at 
org.geoserver.importer.rest.converters.ImportWrapperMessageConverter.writeInternal(ImportWrapperMessageConverter.java:26)
at 
org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)


POST http://localhost:12121/geoserver/rest/imports
{"import":{"targetWorkspace":{"workspace":{"name":"myWorkspace"}},"data":{"type":"file","file":"D:\\testdata\\CIB.gpkg"}}}

{
"import": {
"id": 24,
"href": "http://localhost:12121/geoserver/rest/imports/24";,
"state": "PENDING",
"archive": false,
"targetWorkspace": {
"workspace": {
"name": " myWorkspace ",
"isolated": false
}
},
"data": {
"type": "file",
"format": "GeoPackage (tiles)",
"file": "CIB.gpkg"
},
    "tasks": [
{
"id": 0,
"href": 
"http://localhost:12121/geoserver/rest/imports/24/tasks/0";,
"state": "READY"
}
]
}
}

PUT http://localhost:12121/geoserver/rest/imports/24/tasks/0
{"task":{"updateMode":"REPLACE"}}


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] GWC on cascading-WMS store

2014-11-17 Thread Ashley Mort
I have a cascading WMS store with a large amount of cached tiles. The 
source WMS is no longer accessible and when I use the gwc/service/wms 
endpoint access an area that's not cached, I get a ton of errors in my 
geoserver console (see below) and it slows down tile retrieval even if I 
return to an area with cached data.

Is there some way I can make my layer always return the existing cached 
data but avoid going back to the source cascading WMS store if it 
doesn't have a tile?  In other words, can I get the failed/blank tiles 
immediately returned if they're not already available/cached locally?

Any advice is appreciated!  I am on GeoServer 2.2.5.

Thanks!
Ashley

17 Nov 21:20:23 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Internal error
 at org.geoserver.wms.GetMap.run(GetMap.java:121)
 at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.ja
va:353)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] simple GeoWebCache question (formats)

2013-01-02 Thread Ashley Mort
So if I seed as JPEG but always request PNG, does it just not use the 
GeoWebCache in that case (or does it convert the cached tiles to PNG on 
the fly)?

On 12/25/2012 6:48 PM, Arne Kepp wrote:
> You probably have PNGs on disk for all the tiles you have actually 
> used, and you're not using the JPEG tiles for anything.
>
> So you can delete the JPEG tiles and keep going without seeding if you 
> haven't had performance issues so far. It's rare to use even 20% of 
> the potential tiles.
>
> -Arne
>
>
>
>
> On 12/21/12 19:34 , mortac8 wrote:
>> I am seeding my layers as jpeg but always request pngs.  Is this a 
>> terrible
>> thing to do.  I need transparency and have limited disk space?
>>
>> I would like to seed everything as png but the storage requirements are
>> 5x-10x that of jpeg and I don't think I have enough disk space for 
>> all of my
>> data seeded as png.  Am I losing any significant performance seeding 
>> as jpeg
>> and requesting png or mainly just losing some image quality?
>>
>> Any thoughts or tips are appreciated.
>> Thanks!
>> Ashley
>>
>


-- 
Ashley Mort
Sr. Software Engineer
Raytheon - Intelligence and Information Systems
972-205-5165 (office)
814-571-3039 (cell)


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] quick performance question

2012-11-26 Thread Ashley Mort

Thanks for the link.

So if I have a DTED layer that is made up as 150 .dt1 files that are 2MB 
each, would I want to merge that into a single GeoTiff for best performance?
I also have an RPF folder that is made up of 2,000 .tl1 files that are 
300KB each, would I want to make a single GeoTiff for this too?


Right now I have just loaded both of the above folders (DTED & RPF) each 
as ImageMosaics but I don't think that's the best way after reading the 
FOSS4G PDF.  Anything under 40GB should be converted to a single GeoTiff 
or BigTiff?


Please advise and let me know if I'm understanding the FOSS4G 
presentation correctly.  Thanks!


On 11/17/2012 11:19 AM, Andrea Aime wrote:
On Fri, Nov 16, 2012 at 8:17 PM, mortac8 <mailto:ashley_c_m...@raytheon.com>> wrote:


Newbie question here...

I have a folder of about 100 images segments (RPF) that I need to
load.
Right now, I am just making an ImageMosaic with that folder as the
source.

Will this provide me with the best performance or is there a
better way to
do this when performance is a concern (like combining the images
into one
big geotiff before I load them)?


It is hard to say given the lack of detail in your description.
Have a look at this presentation, it contains directions for 
optimizing raster

data:

http://demo.geo-solutions.it/share/foss4g2011/gs_steroids_sgiannec_foss4g2011.pdf

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

==

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

-------




--
Ashley Mort
Sr. Software Engineer
Raytheon - Intelligence and Information Systems
972-205-5165 (office)
814-571-3039 (cell)

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Elevation WMS

2012-06-25 Thread Ashley Mort
Thanks for the response!  What is my best option if I want to get 16bit 
elevation tiles (from a DTED store) from GeoServer?  Do I need to use 
WCS to request TIFF images?


On 6/23/2012 5:30 AM, Andrea Aime wrote:
On Fri, Jun 22, 2012 at 5:56 PM, mortac8 <mailto:ashley_c_m...@raytheon.com>> wrote:


We are trying to do the same thing. Did you ever figure out if
GeoServer can return 16bit PNG from a Store containing elevation
data?

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


WMS is about depicting data, not about returning it in its raw format.

We could modify WMS to become also a raw data server,
but that would required coding changes from the ground (geotools) up 
(geoserver output format
encoders), as well as a new type of SLD "symbolizer" that actually 
does not alter data (so it would
also require changes to the geotools style api, and SLD parsers and 
encoders).

It's doable, but it needs to be sponsored.

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




--
Ashley Mort
Sr. Software Engineer
Raytheon - Intelligence and Information Systems
972-205-5165 (office)
814-571-3039 (cell)

--
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] working with MXD file

2011-04-21 Thread Ashley Mort
Our customer would like to be able to import the data from an MXD file.  
Is this feasible?  Is all the data be self contained in the MXD file?  I 
can't find a lot of information on the MXD file format.   Any comments 
are appreciated!

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users