[Geoserver-users] cascading a GeoSever WMS fails (xml.sax Error)

2013-09-05 Thread Nachtigall, Jens (init)
Dear all,

After Upgrading from 2.2.4 (tomcat6/java6) to 2.3.5 (tomcat7/java7)
I get the same error as mentioned in
http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg15284.html

04 Sep 14:58:22 INFO [geoserver.wms] -
Request: getServiceInfo
04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.
04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1
04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.
04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1
04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.
04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1
04 Sep 14:58:23 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Internal error

Ian, did you find a fix for this problem?

The problematic WMS I am cascading from are e.g.
http://isk.geobasis-bb.de/ows/dnm.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1
http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1

It is working fine with another WMS from the same operator like
http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1

Downloading these by hand, theses XML files look fine to me, actually.

Best regards,
Jens

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] cascading a GeoSever WMS fails (xml.sax Error)

2013-09-05 Thread Ian Turton
It came down to my HTTP proxy not handling persistent connections properly
for machines that are with in my network - the solution is to uncheck the
use connection pooling box on the WMS datastore page.

Ian


On 5 September 2013 09:25, Nachtigall, Jens (init)
jens.nachtig...@init.dewrote:

  Dear all,

 ** **

 After Upgrading from 2.2.4 (tomcat6/java6) to 2.3.5 (tomcat7/java7) 

 I get the same error as mentioned in 


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

 ** **

 04 Sep 14:58:22 INFO [geoserver.wms] - 

 Request: getServiceInfo

 04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.*
 ***

 04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

 04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.*
 ***

 04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

 04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.*
 ***

 04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

 04 Sep 14:58:23 ERROR [geoserver.ows] - 

 org.geoserver.platform.ServiceException: Internal error

 ** **

 Ian, did you find a fix for this problem? 

 ** **

 The “problematic” WMS I am cascading from are e.g.


 http://isk.geobasis-bb.de/ows/dnm.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1
 


 http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1
 

 ** **

 It is working fine with another WMS from the same operator like


 http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilitiesSERVICE=WMSVERSION=1.1.1
 

 ** **

 Downloading these by hand, theses XML files look fine to me, actually.

 ** **

 Best regards,

 Jens

 ** **




-- 
Ian Turton
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] no label on tile edge with TMS

2013-09-05 Thread michael diener
Hi,
I have a problem, some labels don't show up on my tile cache because the
label is on the edge of a tile.  I have read all the mailing list entries
and tried all the usual tricks adjusting

   -  Metatile size default 4x4:  I tried 1x1, 3x3, 5x5, 10x10, 15x15
   -  gutter size: I tried 0, 1, 2, 3,4,5,6,7,8,9,10

Wierd thing is the WMS generates tiles and it works ! also works when
rendering as single tile in wms,  but using the geowebcache tile cache it
does not, and of course I want to use the tile cache not WMS or WMTS.

Server Linux CentOS 6.3,

   -  Build Information
  - Version 2.3.0
  - Git Revision 257c5f6a57df84ecf2aaea392fe8e22dbd70ca09
  - Build Date 16-Mar-2013 14:00
  - GeoTools Version 9.0 (rev cd6a0ac13e0ccd9ed3df653e1d7ca640a80ed86d)
  - GeoWebCache Version 1.4-SNAPSHOT (rev
  
8eca04a1cd45233fdb5875b111095660425b5b1b/8eca04a1cd45233fdb5875b111095660425b5b1b)



 cheers
Michael
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: publish postgis table which has a raster

2013-09-05 Thread Christian Mueller
I had a quick look at the log file.

The problem is that the java image library cannot decode the image data
fetched from postgis raster.

Can you send the output of

gdalinfo myimage

Perhaps your image format is not supported.

Cheers
Christian




On Thu, Sep 5, 2013 at 7:45 AM, Vineendra Sriramoju 
vineendra.sriram...@amigooptima.in wrote:



 -- Forwarded message --
 From: Vineendra Sriramoju vineendra.sriram...@amigooptima.in
 Date: Wed, Sep 4, 2013 at 7:13 PM
 Subject: Re: publish postgis table which has a raster
 To: Frederik Haefker fhaef...@uni-bonn.de


 Hi Frederik,

 Thanks for the reply.

 I have followed the tutorial to add a postgis raster to geoserver(which
 was suggested by you), but i am getting an error.

 Could not list layers for this store, an error occurred retrieving them:
 Argument value should not be null.

 I have followed the tutorial as it is.  Every thing went well. But at the
 end, when i try to use the Image Mosaic JDBC store

 Am attaching the screen shot of that error and geoserver log. Please do
 check them.




 On Tue, Sep 3, 2013 at 7:09 PM, Frederik Haefker fhaef...@uni-bonn.dewrote:

 Hi Vineendra,

 you will have to use a Image Mosaic JDBC store:

 http://docs.geoserver.org/**stable/en/user/data/raster/**
 postgisraster.htmlhttp://docs.geoserver.org/stable/en/user/data/raster/postgisraster.html

 Best Regards

  --**--**
 --

 Message: 1
 Date: Tue, 3 Sep 2013 04:43:44 -0700 (PDT)
 From: Vineendra 
 vineendra.sriramoju@**amigooptima.invineendra.sriram...@amigooptima.in
 
 Subject: [Geoserver-users] publish postgis table which has a raster
 image using rest API services
 To: 
 geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net
 Message-ID: 
 1378208624143-5075792.post@**n6.nabble.com1378208624143-5075792.p...@n6.nabble.com
 
 Content-Type: text/plain; charset=us-ascii

 I am storing a thumbnail of an image which represent a large image in the
 postgresql database. The size of the image is 1 to 2MB. Now i want to
 display the image in the database on the map in order to
 represent the large image. I want to do this using geoserver REST API
 services.

 Previously i have published the postgis table which has vector data. How
 to
 do it with raster data in table







 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread christy@azgs
Hey Ben,

I already have the Proxy Base URL listed as
http://data.usgin.org/azgs_bedrock_geology  and am using v2.3.0 of
GeoServer.  I changed it after creating these layers, so do I need to do the
work over, after the Proxy has been indicated?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076259.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] featureID within GetFeature requests

2013-09-05 Thread Rudy Commenge
Hi,

When you perform GetFeature request with GML output format, featureID is
the value of the gml:id attribute in the response.

Best Regards,

Rudy


2013/9/5 Jonathan Moules jonathanmou...@warwickshire.gov.uk

 Hi List,
 I'm trying to use WFS GetFeature to get a specific feature -
 http://docs.geoserver.org/stable/en/user/services/wfs/reference.html#getfeature

 The documentation says:

 To limit the output you can restrict the GetFeature request to a single
 feature by including an additional parameter, featureID and providing the
 ID of a specific feature. In this case, the GET request would be:


 What does this actually mean? What column is the featureID coming from? I
 can do it using a filter, but I'm just trying to understand what the
 featureID bit is actually for.
 Cheers,
 Jonathan

 This transmission is intended for the named addressee(s) only and may
 contain sensitive or protectively marked material up to RESTRICTED and
 should be handled accordingly. Unless you are the named addressee (or
 authorised to receive it for the addressee) you may not copy or use it, or
 disclose it to anyone else. If you have received this transmission in error
 please notify the sender immediately. All email traffic sent to or from us,
 including without limitation all GCSX traffic, may be subject to recording
 and/or monitoring in accordance with relevant legislation.

 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: publish postgis table which has a raster

2013-09-05 Thread Vineendra Sriramoju
Hi Christian,

This is the gdalinfo of the image


Driver: GTiff/GeoTIFF
Files: test.tif
   test.tfw
Size is 750, 750
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (79.999583817610983,25.000417126729928)
Pixel Size = (0.007,-0.007)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  79.9995838,  25.0004171) ( 79d59'58.50E, 25d 0' 1.50N)
Lower Left  (  79.9995838,  20.0004171) ( 79d59'58.50E, 20d 0' 1.50N)
Upper Right (  84.9995838,  25.0004171) ( 84d59'58.50E, 25d 0' 1.50N)
Lower Right (  84.9995838,  20.0004171) ( 84d59'58.50E, 20d 0' 1.50N)
Center  (  82.4995838,  22.5004171) ( 82d29'58.50E, 22d30' 1.50N)
Band 1 Block=750x5 Type=Int16, ColorInterp=Gray



On Thu, Sep 5, 2013 at 7:14 PM, Christian Mueller 
christian.muel...@os-solutions.at wrote:

 I had a quick look at the log file.

 The problem is that the java image library cannot decode the image data
 fetched from postgis raster.

 Can you send the output of

 gdalinfo myimage

 Perhaps your image format is not supported.

 Cheers
 Christian




 On Thu, Sep 5, 2013 at 7:45 AM, Vineendra Sriramoju 
 vineendra.sriram...@amigooptima.in wrote:



 -- Forwarded message --
 From: Vineendra Sriramoju vineendra.sriram...@amigooptima.in
 Date: Wed, Sep 4, 2013 at 7:13 PM
 Subject: Re: publish postgis table which has a raster
 To: Frederik Haefker fhaef...@uni-bonn.de


  Hi Frederik,

 Thanks for the reply.

 I have followed the tutorial to add a postgis raster to geoserver(which
 was suggested by you), but i am getting an error.

 Could not list layers for this store, an error occurred retrieving them:
 Argument value should not be null.

 I have followed the tutorial as it is.  Every thing went well. But at the
 end, when i try to use the Image Mosaic JDBC store

 Am attaching the screen shot of that error and geoserver log. Please do
 check them.




 On Tue, Sep 3, 2013 at 7:09 PM, Frederik Haefker fhaef...@uni-bonn.dewrote:

 Hi Vineendra,

 you will have to use a Image Mosaic JDBC store:

 http://docs.geoserver.org/**stable/en/user/data/raster/**
 postgisraster.htmlhttp://docs.geoserver.org/stable/en/user/data/raster/postgisraster.html

 Best Regards

  --**--**
 --

 Message: 1
 Date: Tue, 3 Sep 2013 04:43:44 -0700 (PDT)
 From: Vineendra 
 vineendra.sriramoju@**amigooptima.invineendra.sriram...@amigooptima.in
 
 Subject: [Geoserver-users] publish postgis table which has a raster
 image using rest API services
 To: 
 geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net
 Message-ID: 
 1378208624143-5075792.post@**n6.nabble.com1378208624143-5075792.p...@n6.nabble.com
 
 Content-Type: text/plain; charset=us-ascii

 I am storing a thumbnail of an image which represent a large image in
 the
 postgresql database. The size of the image is 1 to 2MB. Now i want to
 display the image in the database on the map in order to
 represent the large image. I want to do this using geoserver REST API
 services.

 Previously i have published the postgis table which has vector data.
 How to
 do it with raster data in table







 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft
 technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!

 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 --
 DI Christian Mueller MSc (GIS), MSc (IT-Security)
 OSS Open Source Solutions GmbH


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread Andrea Aime
On Thu, Sep 5, 2013 at 6:12 PM, beldar15 belda...@gmail.com wrote:

 Hi, I was trying to do something, but I don't know if it's possible, so I
 wanted to ask first to not waste more time.

 I was trying to create a GS layer from a WSF GetCapabilities Doc, which
 I've
 created in a PHP service. I created the GetCapabilities and GetFeatures
 documents. I've tried to read the GetFeatures gml from OpenLayers and it
 worked fine, drawing all the points in the map, but I don't know if I can
 create a WSF data store by this way, I got more than 100 errors trying, but
 I don't know if I am doing something wrong or it's not possible.


GeoServer needs a compliant WFS server to cascade. At the very minimum you
have to add support for the DescribeFeatureType call as well.
Not sure however how much more work it will be to make it compliant enough
so that GeoServer can cascade it

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread Christy Caudill
See email below:

Ben -

We got things to work by adjusting the Host header on the proxy server (nginx 
in this case), but before doing that we were seeing 127.0.0.1 addresses in the 
GetCapabilities and OpenLayers previews even though we had set the Geoserver 
proxy base url. We're using 2.3, so I'm curious why we seemed to be having the 
same issue that was solved at 2.1.x in that bug report you mentioned?

Just for the record, here's the nginx config snippet that we're using now (that 
works). Previously we weren't setting the Host header:

# By default, traffic is sent to Tomcat
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
}

Thanks!
Ryan


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Thursday, September 05, 2013 10:07 AM
To: Christy Caudill
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] OpenLayers with App-Schemas

On Thu, Sep 5, 2013 at 6:50 PM, christy@azgs 
christy.caud...@azgs.az.govmailto:christy.caud...@azgs.az.gov wrote:
Okay, so you can see that the OnlineResource in the GetCapabilities still
references 127.0.0.1

http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.3.0request=GetCapabilities

Do you have caching issues? The online resources point to the host you 
configured for me?
The OpenLayers preview works fine as well

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] featureID within GetFeature requests

2013-09-05 Thread Jonathan Moules
Hi List,
I'm trying to use WFS GetFeature to get a specific feature -
http://docs.geoserver.org/stable/en/user/services/wfs/reference.html#getfeature

The documentation says:

 To limit the output you can restrict the GetFeature request to a single
 feature by including an additional parameter, featureID and providing the
 ID of a specific feature. In this case, the GET request would be:


What does this actually mean? What column is the featureID coming from? I
can do it using a filter, but I'm just trying to understand what the
featureID bit is actually for.
Cheers,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Image Pyramid layer settings for faster rendering

2013-09-05 Thread Simone Giannecchini
Ciao Amiala,
we would need to have more info about the structure of the data itself:

- how many levels you have in your pyramid
- the resolutions for each level (you can check the pyramid.properties
file for this)
- the structure of the data in each level. The gdalinfo on a sample
for each level would help

I don't remember if I mentioned this presentation but you could find
some useful tips:
http://goo.gl/TXJRS

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

---


On Wed, Sep 4, 2013 at 10:22 AM, Amiala belk...@yandex.ru wrote:
 Thanks, Simone for replay.

 Data has structure as a ImagePyramid and stored in folders (0,1,2, etc) on
 the disk. I have Geoserver 2.3, java 1.7 and RAM around 4GB, but geoserver
 use around 800MB.

 Now I am already using GWC, but it is still not fast enough.
 Do you think, the version of Geoserver has a principal influence on the
 perfomance?
 Best regards,
 Amiala



 --
 View this message in context: 
 http://osgeo-org.1560.x6.nabble.com/Image-Pyramid-layer-settings-for-faster-rendering-tp5072871p5075939.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
I created a Workspace, the a POSTGIS store and I created a layer. Everything
worked well and fine, until that point. Then, I've used that GetCapabilities
document, but I changed the GetFeature Path on it (the online resource). But
it don't worked. So, it is possible? It can be done? or I'm wasting my time?

here's an example of what I've done:



Thank you very much!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076288.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
GetFeatures. I pointed in the GetCapabilities to their respective class. But
no, it doesn't work. I keeps thowing me the same error. I don't know if this
could be possible, I edited every single path that may be wrong or non
existant, but it doesn't work.. Any other ideas? Please! I don't know what
may be wrong... :(



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076325.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
Many thanks for keep on this with me! Well I've validated the documents and
they are properly formed. I am creating the Vector Data Store. I select the
workspace, I put as GetCapabilities document the path to the respective
script and I save it. That works. Then I am in the Create Layer window, and
there is my data store listed. When I press 'Publish' it throws me the very
big error list:

erro_log_gs.txt
http://osgeo-org.1560.x6.nabble.com/file/n5076332/erro_log_gs.txt  

if you need anything else, please don't hesitate in asking me! Thanks
again...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076332.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread Andrea Aime
On Thu, Sep 5, 2013 at 9:20 PM, beldar15 belda...@gmail.com wrote:

 Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
 GetFeatures. I pointed in the GetCapabilities to their respective class.
 But
 no, it doesn't work. I keeps thowing me the same error. I don't know if
 this
 could be possible, I edited every single path that may be wrong or non
 existant, but it doesn't work.. Any other ideas? Please! I don't know what
 may be wrong... :(


No idea, you're giving us nothing to go on.
First, take a schema validator and check if the documents you're generating
are schema valid.
Second, once they are, share the GeoServer logs generated when trying to
connect to your WFS server (enable the geotools developer logging profile
before doing so) and that might give us some pointers

Generally speaking, writing a valid WFS server is no picnic, it's an
endevour
taking several days of work, even in the simplest case where you just serve
a fixed set of hard-coded feature types.

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: publish postgis table which has a raster

2013-09-05 Thread Christian Mueller
Do you have the possibility to write a tiny java program reading the image
from the file system and writing it  back for testing.

If not, can you send me a small sample image extracted with the gdal
utilities. I can make the test.

Christian




On Thu, Sep 5, 2013 at 4:55 PM, Vineendra Sriramoju 
vineendra.sriram...@amigooptima.in wrote:

 Hi Christian,

 This is the gdalinfo of the image


 Driver: GTiff/GeoTIFF
 Files: test.tif
test.tfw
 Size is 750, 750
 Coordinate System is:
 GEOGCS[WGS 84,
 DATUM[WGS_1984,
 SPHEROID[WGS 84,6378137,298.257223563,
 AUTHORITY[EPSG,7030]],
 AUTHORITY[EPSG,6326]],
 PRIMEM[Greenwich,0],
 UNIT[degree,0.0174532925199433],
 AUTHORITY[EPSG,4326]]
 Origin = (79.999583817610983,25.000417126729928)
 Pixel Size = (0.007,-0.007)
 Metadata:
   AREA_OR_POINT=Area
 Image Structure Metadata:
   INTERLEAVE=BAND
 Corner Coordinates:
 Upper Left  (  79.9995838,  25.0004171) ( 79d59'58.50E, 25d 0' 1.50N)
 Lower Left  (  79.9995838,  20.0004171) ( 79d59'58.50E, 20d 0' 1.50N)
 Upper Right (  84.9995838,  25.0004171) ( 84d59'58.50E, 25d 0' 1.50N)
 Lower Right (  84.9995838,  20.0004171) ( 84d59'58.50E, 20d 0' 1.50N)
 Center  (  82.4995838,  22.5004171) ( 82d29'58.50E, 22d30' 1.50N)
 Band 1 Block=750x5 Type=Int16, ColorInterp=Gray



 On Thu, Sep 5, 2013 at 7:14 PM, Christian Mueller 
 christian.muel...@os-solutions.at wrote:

 I had a quick look at the log file.

 The problem is that the java image library cannot decode the image data
 fetched from postgis raster.

 Can you send the output of

 gdalinfo myimage

 Perhaps your image format is not supported.

 Cheers
 Christian




 On Thu, Sep 5, 2013 at 7:45 AM, Vineendra Sriramoju 
 vineendra.sriram...@amigooptima.in wrote:



 -- Forwarded message --
 From: Vineendra Sriramoju vineendra.sriram...@amigooptima.in
 Date: Wed, Sep 4, 2013 at 7:13 PM
 Subject: Re: publish postgis table which has a raster
 To: Frederik Haefker fhaef...@uni-bonn.de


  Hi Frederik,

 Thanks for the reply.

 I have followed the tutorial to add a postgis raster to geoserver(which
 was suggested by you), but i am getting an error.

 Could not list layers for this store, an error occurred retrieving
 them: Argument value should not be null.

 I have followed the tutorial as it is.  Every thing went well. But at
 the end, when i try to use the Image Mosaic JDBC store

 Am attaching the screen shot of that error and geoserver log. Please do
 check them.




 On Tue, Sep 3, 2013 at 7:09 PM, Frederik Haefker 
 fhaef...@uni-bonn.dewrote:

 Hi Vineendra,

 you will have to use a Image Mosaic JDBC store:

 http://docs.geoserver.org/**stable/en/user/data/raster/**
 postgisraster.htmlhttp://docs.geoserver.org/stable/en/user/data/raster/postgisraster.html

 Best Regards

  --**--**
 --

 Message: 1
 Date: Tue, 3 Sep 2013 04:43:44 -0700 (PDT)
 From: Vineendra 
 vineendra.sriramoju@**amigooptima.invineendra.sriram...@amigooptima.in
 
 Subject: [Geoserver-users] publish postgis table which has a raster
 image using rest API services
 To: 
 geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net
 Message-ID: 
 1378208624143-5075792.post@**n6.nabble.com1378208624143-5075792.p...@n6.nabble.com
 
 Content-Type: text/plain; charset=us-ascii

 I am storing a thumbnail of an image which represent a large image in
 the
 postgresql database. The size of the image is 1 to 2MB. Now i want to
 display the image in the database on the map in order to
 represent the large image. I want to do this using geoserver REST API
 services.

 Previously i have published the postgis table which has vector data.
 How to
 do it with raster data in table







 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft
 technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!

 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 --
 DI Christian Mueller MSc (GIS), MSc (IT-Security)
 OSS Open Source Solutions GmbH





-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!

Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread Ryan Clark
Ben -

We got things to work by adjusting the Host header on the proxy server (nginx 
in this case), but before doing that we were seeing 127.0.0.1 addresses in the 
GetCapabilities and OpenLayers previews even though we had set the Geoserver 
proxy base url. We're using 2.3, so I'm curious why we seemed to be having the 
same issue that was solved at 2.1.x in that bug report you mentioned?

Just for the record, here's the nginx config snippet that we're using now (that 
works). Previously we weren't setting the Host header:

# By default, traffic is sent to Tomcat
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
}

Thanks!
Ryan





Ryan Clark
Arizona Geological Survey
ryan.cl...@azgs.az.govmailto:ryan.cl...@azgs.az.gov
(520) 302-4871
facebook.com/ModernGeologisthttps://www.facebook.com/ModernGeologist
@worblyhttps://twitter.com/worbly









On Sep 5, 2013, at 9:50 AM, christy@azgs 
christy.caud...@azgs.az.govmailto:christy.caud...@azgs.az.gov
 wrote:

Okay, so you can see that the OnlineResource in the GetCapabilities still
references 127.0.0.1

http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.3.0request=GetCapabilities

And attached is a screen shot that the Proxy has been set, but is being
ignored:
http://osgeo-org.1560.x6.nabble.com/file/n5076290/Proxy.jpg




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076290.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread Andrea Aime
On Thu, Sep 5, 2013 at 6:50 PM, christy@azgs christy.caud...@azgs.az.govwrote:

 Okay, so you can see that the OnlineResource in the GetCapabilities still
 references 127.0.0.1


 http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.3.0request=GetCapabilities


Do you have caching issues? The online resources point to the host you
configured for me?
The OpenLayers preview works fine as well

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread christy@azgs
Okay, so you can see that the OnlineResource in the GetCapabilities still
references 127.0.0.1

http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.3.0request=GetCapabilities

And attached is a screen shot that the Proxy has been set, but is being
ignored:
http://osgeo-org.1560.x6.nabble.com/file/n5076290/Proxy.jpg 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076290.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] copy styles directory

2013-09-05 Thread Jim White

Hi,

I created a new workspace and copied the styles directory from another 
server, but I don't see the copied styles listed when I click the styles 
link. What do I need to add to get them to appear?


Thanks,
Jim
--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps http://whitecodingandmaps.com/
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] copy styles directory

2013-09-05 Thread cmaul
Hello Jim,

have you also copied the stylename.xml? This file has an ID which is
essential to reference and register the style with geoserver.




This ID turns up with the layer.xml in the workspace:

layer
  nameVMADD.ADDRESS/name
  idLayerInfoImpl--4c68f0d5:128cd132f0d:-7f8a/id
  typeVECTOR/type
  defaultStyle
idStyleInfoImpl--*2e0631ee:136997f03ca:7037*/id
  /defaultStyle etc, etc...


That is why it makes sense to copy both directories, 'styles' and
'workspace' otherwise you will have layers that reference a style that does
not exist and styles that are not used by your layers and the name does not
matter as the connection is via the ID above.

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


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

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] copy styles directory

2013-09-05 Thread cmaul
Hi Jim,

cave you copied the stylename.xml files with the sld files?

They look like this:

style
  idStyleInfoImpl--
*2e0631ee:136997f03ca:7037**
/id
  nameADDR_addresspoint_1/name
  sldVersion...etc

This ID is the definition and the reference for geoserver. It turns up in
the layer.xml 

layer
  nameVMADD.ADDRESS/name
  idLayerInfoImpl--4c68f0d5:128cd132f0d:-7f8a/id
  typeVECTOR/type
  defaultStyle
idStyleInfoImpl--*2e0631ee:136997f03ca:7037*/id
  /defaultStyle.

which is why it makes sense to copy always both, the 'styles' directory and
the 'workspaces' including their subdirectories. Otherwise you will have
layers without valid styles and styles without layers.
The names of styles do not matter for geoserver internally.

Actually there is more to it, which is the integrity between workspaces and
stores and layers and layergroups and styles. And, if you reference  for
instance shapefiles and not just databases the data directory as well.

Because of that I thought it always safer to copy the entire data directory
and then update 'www', 'plugins', 'security', 'user_projections' and all the
other stuff when updating geoserver.

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


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

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers with App-Schemas

2013-09-05 Thread Ben Caradoc-Davies
Ryan,

I had a look at a recent deployment using apache2 ProxyPass (proxy_http) 
to tomcat6 on localhost:8080 and Everything Just Works (Capabilities and 
OpenLayers), even without setting Proxy Base URL. I suspect that apache 
is setting similar headers. Your nginx solution is quite useful and 
merits inclusion in the manual (particularly as nginx is becoming hugely 
popular).

Perhaps Proxy Base URL only helps in more limited circumstances. Andrea?

Kind regards,
Ben.

On 06/09/13 01:01, Ryan Clark wrote:
 Ben -

 We got things to work by adjusting the Host header on the proxy server
 (nginx in this case), but before doing that we were seeing 127.0.0.1
 addresses in the GetCapabilities and OpenLayers previews even though we
 had set the Geoserver proxy base url. We're using 2.3, so I'm curious
 why we seemed to be having the same issue that was solved at 2.1.x in
 that bug report you mentioned?

 Just for the record, here's the nginx config snippet that we're using
 now (that works). Previously we weren't setting the Host header:

 # By default, traffic is sent to Tomcat
  location / {
  proxy_pass http://127.0.0.1:8080;
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header X-Forwarded-For $remote_addr;
 proxy_set_header Host $http_host;
 }

 Thanks!
 Ryan



 

 Ryan Clark
 Arizona Geological Survey
 ryan.cl...@azgs.az.gov mailto:ryan.cl...@azgs.az.gov
 (520) 302-4871
 facebook.com/ModernGeologist https://www.facebook.com/ModernGeologist
 @worbly https://twitter.com/worbly









 On Sep 5, 2013, at 9:50 AM, christy@azgs christy.caud...@azgs.az.gov
 mailto:christy.caud...@azgs.az.gov
   wrote:

 Okay, so you can see that the OnlineResource in the GetCapabilities still
 references 127.0.0.1

 http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.3.0request=GetCapabilities

 And attached is a screen shot that the Proxy has been set, but is being
 ignored:
 http://osgeo-org.1560.x6.nabble.com/file/n5076290/Proxy.jpg




 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076290.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft
 technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk



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


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

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users