Re: [Geoserver-users] creating geotiff in ArcGIS to publish in geoserver
On Wed, Jun 6, 2012 at 11:50 AM, sacprasanna wrote: > Hi all, > Pls give me some help > > Short question > > How create geotiff image to publish using Geoserver? > > Bit more information > > I want to publish geo-reference image in geoserver.Then i chose image format > as geotiff and create using arcGIS 9.3.It create tiff,tfw and aux files.But > when publish using geoserver it gives this message, See my answer on the thread "question about geotiffs" 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
Re: [Geoserver-users] Question about GeoTiffs
On Thu, Jun 7, 2012 at 1:41 AM, Garey Mills wrote: > Hi - > > I have some .tifs with associated .prj and .tfw loaded into > Geoserver 2.2-snapshot. If I try downloading one of these layers as a > GeoTiff, I get a file much, much smaller than the original TIFF. Not > only that, when I take that file, put it in Geoserver's data dir, and > attempt to load it as a GeoTiff, I get the error > > Could not list layers for this store, an error occurred > retrieving them: Argument "value" should not be null > > Is it naive to expect that a layer downloaded as a GeoTiff could be > loaded into Geoserver as a GeoTiff? Nope, it's not, but there are two issues: - ESRI calls "GeoTiff" stuff that is not actually a Geotiff according to the standard (http://trac.osgeo.org/geotiff/), typically a world + image file (not your case I understand) - GeoServer is unable to read GeoTiffs that is georeferenced by a custom CRS (not an official EPSG code) Both issues could be solved by some coding, the first by being lenient and look for the ancilliary files if the georeferencing is not present in the tif file, the second by adding support for parsing a custom CRS. That said, code does not write itself (at least for the moment!), contributions welcomed. To see if your case is the second one can you run gdalinfo and report back the output? 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
[Geoserver-users] Question about GeoTiffs
Hi - I have some .tifs with associated .prj and .tfw loaded into Geoserver 2.2-snapshot. If I try downloading one of these layers as a GeoTiff, I get a file much, much smaller than the original TIFF. Not only that, when I take that file, put it in Geoserver's data dir, and attempt to load it as a GeoTiff, I get the error Could not list layers for this store, an error occurred retrieving them: Argument "value" should not be null Is it naive to expect that a layer downloaded as a GeoTiff could be loaded into Geoserver as a GeoTiff? -- Garey Mills Library Systems Office UC Berkeley -- 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] WFS 2.0 Spatial Join
Using PostGIS 2012-06-06 23:45:09,727 INFO [geoserver.wfs] - Request: getFeature service = WFS version = 2.0.0 baseUrl = http://geoserv.weichand.de:8080/geoserver/ abstractQueryExpressionGroup[0] = wfs:abstractQueryExpression=net.opengis.wfs20.impl.QueryTypeImpl@c969e88 (handle: Q01) (abstractProjectionClause: null, abstractSelectionClause: [[ lkr/sch = 09184 ] AND [ lkr/the_geom contains gmd/the_geom ]], abstractSortingClause: null, aliases: [lkr, gmd], typeNames: [{http://www.geodaten.bayern.de}lkr_ex, {http://www.geodaten.bayern.de}gmd_ex]) (featureVersion: null, srsName: EPSG:31468, filter: null, propertyNames: null, sortBy: null) abstractQueryExpression[0]: handle = Q01 abstractSelectionClause = [[ lkr/sch = 09184 ] AND [ lkr/the_geom contains gmd/the_geom ]] aliases[0] = lkraliases[0] = gmd typeNames[0] = {http://www.geodaten.bayern.de}lkr_extypeNames[0] = {http://www.geodaten.bayern.de}gmd_ex srsName = EPSG:31468 filter = [[ lkr/sch = 09184 ] AND [ lkr/the_geom contains gmd/the_geom ]] outputFormat = application/gml+xml; version=3.2 resolve = none resolveDepth = * resolveTimeout = 300 resultType = results startIndex = 0 2012-06-06 23:45:10,042 ERROR [geoserver.ows] - java.lang.RuntimeException: org.geotools.data.DataSourceException: SQL exception occurred while reading the geometry. at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:314) at org.geotools.jdbc.JDBCJoiningFeatureReader.next(JDBCJoiningFeatureReader.java:102) at org.geotools.jdbc.JDBCJoiningFeatureReader.next(JDBCJoiningFeatureReader.java:41) at org.geotools.data.store.ContentFeatureCollection$WrappingIterator.next(ContentFeatureCollection.java:269) at org.geotools.xml.Encoder.encode(Encoder.java:699) at org.geotools.xml.Encoder.encode(Encoder.java:584) at org.geoserver.wfs.xml.GML32OutputFormat.encode(GML32OutputFormat.java:100) at org.geoserver.wfs.xml.GML3OutputFormat.write(GML3OutputFormat.java:242) at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:138) at org.geoserver.ows.Dispatcher.response(Dispatcher.java:909) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
Re: [Geoserver-users] WFS 2.0 Spatial Join
SQL Statement SELECT "a"."gid" as "a_gid","a"."land","a"."modellart","a"."objart","a"."objart_txt","a"."objid","a"."hdu_x","a"."beginn","a"."ende","a"."adm","a"."bez_gem","a"."bez_krs","a"."bez_lan","a"."bez_rbz","a"."sch",encode(ST_AsEWKB("a"."the_geom"),'base64') as "the_geom","b"."gid" as "b_gid","b"."land" as "b_land","b"."modellart" as "b_modellart","b"."objart" as "b_objart","b"."objart_txt" as "b_objart_txt","b"."objid" as "b_objid","b"."hdu_x" as "b_hdu_x","b"."beginn" as "b_beginn","b"."ende" as "b_ende","b"."adm" as "b_adm","b"."bez_gem" as "b_bez_gem","b"."bez_krs" as "b_bez_krs","b"."bez_lan" as "b_bez_lan","b"."bez_rbz" as "b_bez_rbz","b"."sch" as "b_sch",encode(ST_AsEWKB("b"."the_geom"),'base64') as "b_the_geom" FROM "public"."lkr_ex" as "a" INNER JOIN "public"."gmd_ex" as "b" ON ST_Contains("a"."the_geom", "b"."the_geom") WHERE "a"."sch" = '09184' LIMIT 100; -- 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] WPS Request - POST - not working
Hi everyone! I need some help to build a client for geoserver wps... Let me explain to you the whole context. I created a process that receives a common json string (CDATA) and... process it.. (for now, it is just sending the json string back). I could test the process using the WPS Request Builder interface, and it worked very fine =) Now, I'm trying to develop a Javascript client to send a json string to this wps process and get the string back... but it's not working =/ Here is what I'm doing: var jsonDescription = JSON.stringify(array); *//Parsing a javascript array to json string. * var wpsRequest = new WPSRequest("http://localhost:8080/geoserver/wps","gs:MyProcess","execute","POST",jsonDescription); *//Object to define the request.* var wpsInput = wpsRequest.wpsInput(); *//build the request using jsonDescription *wpsRequest.request(wpsInput); *//Does the request...* Now, if you look inside my object: //My object definition function WPSRequest(url,process,processMethod, method, data){ this.urlRequest = url; this.process = process; this.processMethod = processMethod; this.method = method; this.data = data; this.wpsInput = buildInput; this.request = doRequest; } //function that does the request function doRequest(input){ var urlreq = this.urlRequest; var reqType = this.method; alert(input); $(function() { *//The request using jquery ajax:* $.ajax({ type: reqType, //POST url: urlreq, //http://localhost:8080/geoserver/wps data: input }).done(function(result){ alert(result); }); }); } function buildInput(){ switch(this.processMethod){ case "execute": var wpsBody = "" + "http://www.w3.org/2001/XMLSchema-instance\"; xmlns=\" http://www.opengis.net/wps/1.0.0\"; xmlns:wfs=\"http://www.opengis.net/wfs\"; xmlns:wps=\"http://www.opengis.net/wps/1.0.0\"; xmlns:ows=\" http://www.opengis.net/ows/1.1\"; xmlns:gml=\"http://www.opengis.net/gml\"; xmlns:ogc=\"http://www.opengis.net/ogc\"; xmlns:wcs=\" http://www.opengis.net/wcs/1.1.1\"; xmlns:xlink=\" http://www.w3.org/1999/xlink\"; xsi:schemaLocation=\" http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd\";>" + "" + this.process + "" + "" + "" + "jsonDescription" + "" + "" + "" + "" + "" + "" + "" + "result" + "" + "" + ""; wpsBody = this.data; return wpsBody; break; } } *//End of WPSRequest obj* When executing, I get the following error: *org.geoserver.platform.ServiceException: Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@4e7db1c0 * Some details: If I copy and paste the result of "alert(input);" (doRequest function) in Geoserver WPS Request Builder, the request works fine! If I just change the URL from: * http://localhost:8080/geoserver/wps *to * http://localhost:8080/geoserver/ows?service=WPS&version=1.0.0&request=Execute&Identifier=gs:MyProcess * in my object definition, the request seens to work, once the error is: "Parameter jsonDescription is missing but has min multiplicity > 0" I belive the second URL is a GET request, and, once the param is not in URL, the error is expected... this happens even if I keep the ajax type param = POST The question is: Am I missing some thing to get the post request to work?? If someone knows a simple example showing how to do some request like this, it will help! My next step will be to define a simple javascript ajax function to post to url *http://localhost:8080/geoserver/wps * Any help will be appreciated! Thanks! -- Rodrigo C. Antonialli == Campinas - SP - Brasil LinkedIn: http://www.linkedin.com/in/rcaprofile Contato: (19) 8136-2347 rcantonia...@gmail.com Skype: rc_antonialli -- 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] Fwd: creating geotiff in ArcGIS to publish in geoserver
-- Forwarded message -- From: Smaran Harihar Date: Wed, Jun 6, 2012 at 9:41 AM Subject: Re: [Geoserver-users] creating geotiff in ArcGIS to publish in geoserver To: sacprasanna Hi sacprasanna, I created my GeoTIFF using ArcMap and it worked pretty well. To load it into Geoserver you will need to Store and select GeoTIFF and that should do the trick. -Smaran On Wed, Jun 6, 2012 at 2:50 AM, sacprasanna wrote: > Hi all, > Pls give me some help > > Short question > > How create geotiff image to publish using Geoserver? > > Bit more information > > I want to publish geo-reference image in geoserver.Then i chose image > format > as geotiff and create using arcGIS 9.3.It create tiff,tfw and aux > files.But > when publish using geoserver it gives this message, > > "Could not list layers for this store, an error occurred retrieving them: > Unable to acquire a reader for this coverage with format: GeoTIFF" > > What is the error,I think this is not the correct method to create > geotiff(to using GS).True? If answer is yes What is the correct method? > > Thanks for your time > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/creating-geotiff-in-ArcGIS-to-publish-in-geoserver-tp4979451.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 > -- Thanks & Regards Smaran Harihar -- Thanks & Regards Smaran Harihar -- 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] WFS 2.0 Spatial Join
Hi Juergen, What type of backend datasource are you using? If you could provide a full stack trace that would be helpful. Thanks. -Justin On Wed, Jun 6, 2012 at 4:18 AM, Jürgen Weichand < juergen.weich...@bvv.bayern.de> wrote: > Hello everybody, > > i'm trying to do a simple spatial join through WFS 2.0 but it failed > (SQL Exception) > > Any help will be welcomed! > > Thanks in advance, > Juergen Weichand > > > Request: > > > xmlns="http://www.opengis.net/wfs/2.0"; > xmlns:wfs="http://www.opengis.net/wfs/2.0"; > xmlns:gml="http://www.opengis.net/gml/3.2"; > xmlns:fes="http://www.opengis.net/fes/2.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xmlns:bvv="http://www.geodaten.bayern.de"; > xsi:schemaLocation="http://www.opengis.net/wfs/2.0 > http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 > http://schemas.opengis.net/gml/3.2.1/gml.xsd"; > outputFormat="application/gml+xml; version=3.2"> > srsName="EPSG:31468" handle="Q01"> > > > > lkr/sch > 09184 > > > lkr/the_geom > gmd/the_geom > > > > > > > Response: > > >xsi:schemaLocation="http://www.opengis.net/ows/1.1 > http://geoserv.weichand.de:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd"; > xmlns:ows="http://www.opengis.net/ows/1.1"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > > java.lang.RuntimeException: > org.geotools.data.DataSourceException: SQL exception occurred while > reading the geometry. > org.geotools.data.DataSourceException: SQL exception occurred while > reading the geometry. > SQL exception occurred while reading the geometry. > The column index is out of range: 33, number of columns: 32. > > > > > > > > > -- > 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 > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. -- 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 to the rescue (again) Replacement for Msrmaps DRG server
On Wed, Jun 6, 2012 at 2:42 PM, Roger Bedell wrote: > Another awe-inspiring moment provided by GeoServer. > > Recently, MSRMAPS (used to be TerraServer), a WMS server for DRGs and > DOQs is being dropped by Microsoft. Nobody really cares about the > DOQs, but this was just about the only DRG WMS server out there. > > Looking around, I found that the USGS has a DRG server: > > http://raster.nationalmap.gov/ArcGIS/services/DRG/TNM_Digital_Raster_Graphics/MapServer/WMSServer?request=GetCapabilities&service=WMS > > However it is split into UTM zones and different resolutions. I just > wanted 4326 for the entire US, like Terraserver. > > So, I created a GeoServer Amazon EC2 Micro (free for a year) instance > using the basic Amazon Linux AMI ami-e565ba8c, and put on just Tomcat > and Geoserver 2.2 Beta 2: > > sudo yum update > sudo yum install httpd httpd-devel tomcat7 > wget > http://sourceforge.net/projects/geoserver/files/GeoServer/2.2-beta2/geoserver-2.2-beta2-war.zip/download > unzip geoserver-2.2-beta2-war.zip > sudo chown tomcat:tomcat geoserver.war > sudo mv geoserver.war /var/lib/tomcat7/webapps/ > sudo /sbin/service httpd start > sudo /sbin/service tomcat7 start > > and then added a WMS Store and used the GetCapabilities above. It > automatically adds all the layers and publishes them. > > Then I put together a Layer Group with all the layers, the only change > was to check the "Default Style" box, otherwise I would get a WMS > error. > Set the coordinate system for the Layer Group to EPSG:4326, and it worked. > > Thank you GeoServer team! Nice, thanks for reporting :-) 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
[Geoserver-users] GeoServer to the rescue (again) Replacement for Msrmaps DRG server
Another awe-inspiring moment provided by GeoServer. Recently, MSRMAPS (used to be TerraServer), a WMS server for DRGs and DOQs is being dropped by Microsoft. Nobody really cares about the DOQs, but this was just about the only DRG WMS server out there. Looking around, I found that the USGS has a DRG server: http://raster.nationalmap.gov/ArcGIS/services/DRG/TNM_Digital_Raster_Graphics/MapServer/WMSServer?request=GetCapabilities&service=WMS However it is split into UTM zones and different resolutions. I just wanted 4326 for the entire US, like Terraserver. So, I created a GeoServer Amazon EC2 Micro (free for a year) instance using the basic Amazon Linux AMI ami-e565ba8c, and put on just Tomcat and Geoserver 2.2 Beta 2: sudo yum update sudo yum install httpd httpd-devel tomcat7 wget http://sourceforge.net/projects/geoserver/files/GeoServer/2.2-beta2/geoserver-2.2-beta2-war.zip/download unzip geoserver-2.2-beta2-war.zip sudo chown tomcat:tomcat geoserver.war sudo mv geoserver.war /var/lib/tomcat7/webapps/ sudo /sbin/service httpd start sudo /sbin/service tomcat7 start and then added a WMS Store and used the GetCapabilities above. It automatically adds all the layers and publishes them. Then I put together a Layer Group with all the layers, the only change was to check the "Default Style" box, otherwise I would get a WMS error. Set the coordinate system for the Layer Group to EPSG:4326, and it worked. Thank you GeoServer team! Roger -- 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] WFS 2.0 Spatial Join
Hello everybody, i'm trying to do a simple spatial join through WFS 2.0 but it failed (SQL Exception) Any help will be welcomed! Thanks in advance, Juergen Weichand Request: http://www.opengis.net/wfs/2.0"; xmlns:wfs="http://www.opengis.net/wfs/2.0"; xmlns:gml="http://www.opengis.net/gml/3.2"; xmlns:fes="http://www.opengis.net/fes/2.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:bvv="http://www.geodaten.bayern.de"; xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd"; outputFormat="application/gml+xml; version=3.2"> lkr/sch 09184 lkr/the_geom gmd/the_geom Response: http://www.opengis.net/ows/1.1 http://geoserv.weichand.de:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd"; xmlns:ows="http://www.opengis.net/ows/1.1"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> java.lang.RuntimeException: org.geotools.data.DataSourceException: SQL exception occurred while reading the geometry. org.geotools.data.DataSourceException: SQL exception occurred while reading the geometry. SQL exception occurred while reading the geometry. The column index is out of range: 33, number of columns: 32. -- 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] creating geotiff in ArcGIS to publish in geoserver
Hi all, Pls give me some help Short question How create geotiff image to publish using Geoserver? Bit more information I want to publish geo-reference image in geoserver.Then i chose image format as geotiff and create using arcGIS 9.3.It create tiff,tfw and aux files.But when publish using geoserver it gives this message, "Could not list layers for this store, an error occurred retrieving them: Unable to acquire a reader for this coverage with format: GeoTIFF" What is the error,I think this is not the correct method to create geotiff(to using GS).True? If answer is yes What is the correct method? Thanks for your time -- View this message in context: http://osgeo-org.1560.n6.nabble.com/creating-geotiff-in-ArcGIS-to-publish-in-geoserver-tp4979451.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
Re: [Geoserver-users] Problems with WMS standard compliance inGeoServer
Hi, Thank you, its my fault! When testing on the public-accessible URLs (for example, http://webservices.nationalatlas.gov/wms/environment?SERVICE=WMS&REQUEST=GetCapabilities), everything is fine. And one more question: I need a C#-based WMS open implementation because I'm not experienced in java. Where can I get it? Thanks in advance, Max. From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: Monday, June 04, 2012 4:38 PM To: Максим Кузнецов; 'Justin Deoliveira' Cc: 'geoserver-users@lists.sourceforge.net' Subject: VS: [Geoserver-users] Problems with WMS standard compliance inGeoServer Hi, How do you believe that the remote service can resolve http://localhost... For that server localhost is itself, not your server. -Jukka Rahkonen- Максим Кузнецов wrote: Hi Justin, The URL for getcapabilities (which I pass to CITE test) is valid: http://localhost:8080/geoserver/wms?service=WMS&request=GetCapabilities&version=1.3.0 This URL being typed into my browser produces the following output: (see the attached document). But, when the same URL is passed into the CITE test I am getting the error: Log for test s0022 Test main:main (s0022) Assertion: The implementation under test complies with the WMS 1.3.0 specification. Request d3607e244_1: Method: get URL: http://localhost:8080/geoserver/wms?service=WMS&request=GetCapabilities&version=1.3.0 Response from parser :: Messages from parser :: java.io.FileNotFoundException: http://localhost:8080/geoserver/wms?service=WMS&request=GetCapabilities&version=1.3.0 Message d3607e290_1: Error: The capabilities document does not contain a root element named WMS_Capabilities in the "http://www.opengis.net/wms"; namespace. Message d3607e293_1: Further processing suspended. Result: Failed This seems strange to me because the root element is definitely the . Thanks, Maxim K. Senior Software Developer in GeoCybernetics Inc. From: Justin Deoliveira [mailto:jdeol...@opengeo.org] Sent: Thursday, May 31, 2012 6:48 PM To: Максим Кузнецов Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Problems with WMS standard compliance in GeoServer Hi Maxim, Seems the cite engine is making a request that is not a complete url... In my experience this happens when a bad getcapabilities url is passed into the engine when the tests start. Are you sure the url you specified for the capabilities url is resolvable from the server running the tests? -Justin On Wed, May 30, 2012 at 7:04 AM, Максим Кузнецов wrote: Good day, During working with GeoServer I've experienced the following problem: when testing the compliance with the WMS 1.1 standard (via the online tests available at http://cite.opengeospatial.org/teamengine/), all tests are failed. One of the errors I received looks like this: Log for test s0012/d207e988_1 Test wms:wmsops-getcapabilities-params-version-2 (s0012/d207e988_1) Assertion: When a GetCapabilities request is made for a supported version other than [[VAR_WMS_VERSION]] using WMTVER instead of VERSION, then the version returned is the version requested. Request d207e3521_1: Method: get URL: ReQuEsT=GetCapabilities&SeRvIcE=WMS&VeRsIoN=0.0.0 Error in call to extension function {public org.w3c.dom.NodeList com.occamlab.te.TECore.request(org.w3c.dom.Document,java.lang.String) throws java.lang.Throwable}: Exception in extension function java.net.MalformedURLException: no protocol: ?ReQuEsT=GetCapabilities&SeRvIcE=WMS&VeRsIoN=0.0.0 Result: Failed I've tried to set miscellaneous test settings but without success. So, my testing environment is: MS Windows 7 EN (32 bit) GeoServer ver. 2.1.3 (32 bit), installed as a Windows service Any help would be greatly appreciated! Thanks, Maxim K. Senior Software Developer in GeoCybernetics Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers c
[Geoserver-users] Oracle Spatial
Hi all,I'm in trouble with an Oracle Spatial table. I've installed Oracle extension (following points 1. and 2. in http://docs.geoserver.org/latest/en/user/data/database/oracle.html) and I can correctly see Oracle NG, Oralce NG (OCI) and Oracle NG (JDNI) during the data store creation.I create the store but when I ask to create a layer from that store, I can see every table of my Oracle DB but those with the GEOM column! Is it my error in configuring Oracle connection? Thank you in advance.Regards, Carlo -- 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