Hi all,
I'm having problem with creation of image mosaic on geoserver 2.5 connected
to sql server 2008 R2. I have downloaded geotools source and found there is
problem with transactions.
Image mosaic creation goes in steps:
1. try to delete 1st raster file from table
2. insert first raster file to table
3. try to delete 2nd raster file from table
3rd step never finishes because of uncommited transaction. I've managed to
fix this by adding /fs.getTransaction().commit();/ in removeGranules method,
and /store.getTransaction().commit();/ in addGranules method in class
/org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog/.
I've also tried to create image mosaic on Postgre database and there were no
problems with transactions.
I would like to know if there is better solution for this then forcing
commit?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geoserver-2-5-image-mosaic-creation-with-sql-server-2008-R2-tp5146019.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi list,
I've just upgraded from Geoserver 2.3.5 to 2.5.1, and the following Get
request does not work any more:
http://localhost:8081/geoserver/wfs?VERSION=2.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=de:entries&FILTER=<fes%3AFilter+xmlns%3Afes%3D'http%3A%2F%2Fwww.opengis.net%2Ffes%2F2.0'+xmlns%3Agml%3D'http%3A%2F%2Fwww.opengis.net%2Fgml%2F3.2'><fes%3APropertyIsLike+matchCase%3D'false'+wildCard%3D'*'+singleChar%3D'%23'+escapeChar%3D'!'><fes%3AValueReference>nokis%3Aname<%2Ffes%3AValueReference><fes%3ALiteral>*<%2Ffes%3ALiteral><%2Ffes%3APropertyIsLike><%2Ffes%3AFilter>
Geoserver gives back the following error:
org.xml.sax.SAXException: Attempted to construct illegal filter - I dont
understand the tag: fes:ValueReference. HINT: tags are case-sensitive!
Attempted to construct illegal filter - I dont understand the tag:
fes:ValueReference. HINT: tags are case-sensitive!
If I however skip the FILTER part in the request, it still works, i.e.
with the following request:
http://localhost:8081/geoserver/wfs?VERSION=2.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=de:entries
There seems to be some change in the implementation. Could someone give me a hint? Thanks!
Best regards,
Nhan
Hi list,
This seems to be a bug in WCS implementation.
I’ve installed Geoserver 2.5.1 totally new. Now if I send this request to the server I will receive an error:
http://192.168.0.102:8081/geoserver/wcs?REQUEST=GetCoverage&SERVICE=WCS&VERSION=1.0.0&COVERAGE=nurc:Arc_Sample&CRS=EPSG:4326&BBOX=-180.0,-90.0,180.0,90.0&WIDTH=1200&HEIGHT=800&FORMAT=ARCGRID
The error in the reponse: Could not find encoder for output format ARCGRID
If I send this request I can fetch the data (exactly the same as above, the only difference is the camel case in ArcGrid):
http://192.168.0.102:8081/geoserver/wcs?REQUEST=GetCoverage&SERVICE=WCS&VERSION=1.0.0&COVERAGE=nurc:Arc_Sample&CRS=EPSG:4326&BBOX=-180.0,-90.0,180.0,90.0&WIDTH=1200&HEIGHT=800&FORMAT=ArcGrid
“ARCGRID” is taken as is from the CoverageDescription response from Geoserver in the wcs:supportedFormats element.
I would appreciate it if someone could tell me a possible workaround.
Best regards,
Nhan