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

2013-09-05 Thread Andrea Aime
On Fri, Sep 6, 2013 at 5:01 AM, Ben Caradoc-Davies <
ben.caradoc-dav...@csiro.au> wrote:

> 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?
>

No, as far as I know, it should just work, and it does with all the proxies
I've tested so far. But I've never tried out nginx

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=58041391&iu=/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 
> (520) 302-4871
> facebook.com/ModernGeologist 
> @worbly 
>
>
>
>
>
>
>
>
>
> On Sep 5, 2013, at 9:50 AM, "christy@azgs"  >
>   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=WMS&version=1.3.0&request=GetCapabilities
>>
>> And attached is a screen shot that the Proxy has been set, but is being
>> ignored:
>> 
>>
>>
>>
>>
>> --
>> 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=58041391&iu=/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=58041391&iu=/4140/ostg.clktrk
>
>
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
Ben Caradoc-Davies 
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=58041391&iu=/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:


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:


  VMADD.ADDRESS
  LayerInfoImpl--4c68f0d5:128cd132f0d:-7f8a
  VECTOR
  
StyleInfoImpl--*2e0631ee:136997f03ca:7037*
   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=58041391&iu=/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 
--
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=58041391&iu=/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=WMS&version=1.3.0&request=GetCapabilities

And attached is a screen shot that the Proxy has been set, but is being
ignored:
 




--
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=58041391&iu=/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 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=WMS&version=1.3.0&request=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=58041391&iu=/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 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.gov
(520) 302-4871
facebook.com/ModernGeologist
@worbly









On Sep 5, 2013, at 9:50 AM, "christy@azgs" 
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=WMS&version=1.3.0&request=GetCapabilities

And attached is a screen shot that the Proxy has been set, but is being
ignored:





--
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=58041391&iu=/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=58041391&iu=/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.50"E, 25d 0' 1.50"N)
> Lower Left  (  79.9995838,  20.0004171) ( 79d59'58.50"E, 20d 0' 1.50"N)
> Upper Right (  84.9995838,  25.0004171) ( 84d59'58.50"E, 25d 0' 1.50"N)
> Lower Right (  84.9995838,  20.0004171) ( 84d59'58.50"E, 20d 0' 1.50"N)
> Center  (  82.4995838,  22.5004171) ( 82d29'58.50"E, 22d30' 1.50"N)
> 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 
>>> Date: Wed, Sep 4, 2013 at 7:13 PM
>>> Subject: Re: publish postgis table which has a raster
>>> To: Frederik Haefker 
>>>
>>>
>>>  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 
>>> wrote:
>>>
 Hi Vineendra,

 you will have to use a Image Mosaic JDBC store:

 http://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 
> 
> >
> Subject: [Geoserver-users] publish postgis table which has a raster
> image using rest API services
> To: 
> geoserver-users@lists.**sourceforge.net
> Message-ID: 
> <1378208624143-5075792.post@**n6.nabble.com<1378208624143-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=58041391&iu=/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 

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  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=58041391&iu=/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
  

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=58041391&iu=/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=58041391&iu=/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=58041391&iu=/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  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=58040911&iu=/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=58041391&iu=/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=58041391&iu=/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 
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=WMS&version=1.3.0&request=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=58041391&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
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. 

Thank you so much! I hope you can help me... 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277.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=58041391&iu=/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
Update from email thread:

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




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076303.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=58041391&iu=/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  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=58041391&iu=/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.50"E, 25d 0' 1.50"N)
Lower Left  (  79.9995838,  20.0004171) ( 79d59'58.50"E, 20d 0' 1.50"N)
Upper Right (  84.9995838,  25.0004171) ( 84d59'58.50"E, 25d 0' 1.50"N)
Lower Right (  84.9995838,  20.0004171) ( 84d59'58.50"E, 20d 0' 1.50"N)
Center  (  82.4995838,  22.5004171) ( 82d29'58.50"E, 22d30' 1.50"N)
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 
>> Date: Wed, Sep 4, 2013 at 7:13 PM
>> Subject: Re: publish postgis table which has a raster
>> To: Frederik Haefker 
>>
>>
>>  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 wrote:
>>
>>> Hi Vineendra,
>>>
>>> you will have to use a Image Mosaic JDBC store:
>>>
>>> http://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 
 
 >
 Subject: [Geoserver-users] publish postgis table which has a raster
 image using rest API services
 To: 
 geoserver-users@lists.**sourceforge.net
 Message-ID: 
 <1378208624143-5075792.post@**n6.nabble.com<1378208624143-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=58041391&iu=/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=58041391&iu=/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 

> 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=58041391&iu=/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=58041391&iu=/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=58041391&iu=/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 
> Date: Wed, Sep 4, 2013 at 7:13 PM
> Subject: Re: publish postgis table which has a raster
> To: Frederik Haefker 
>
>
> 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 wrote:
>
>> Hi Vineendra,
>>
>> you will have to use a Image Mosaic JDBC store:
>>
>> http://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 
>>> 
>>> >
>>> Subject: [Geoserver-users] publish postgis table which has a raster
>>> image using rest API services
>>> To: 
>>> geoserver-users@lists.**sourceforge.net
>>> Message-ID: 
>>> <1378208624143-5075792.post@**n6.nabble.com<1378208624143-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=58041391&iu=/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=58041391&iu=/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=58041391&iu=/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)
wrote:

>  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=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
> 
>
>
> http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
> 
>
> ** **
>
> It is working fine with another WMS from the same operator like
>
>
> http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=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=58041391&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[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=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

It is working fine with another WMS from the same operator like
http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=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=58041391&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] REST security

2013-09-05 Thread Dmitriy Tyugaev
Yes Christian, j2ee filter is in the rest filter chain settings. In any
case, I found a solution by changing the header Content-type to
application/xml instead of text/xml. Now everything works.

Cheers
Dmitriy

On Wed, Sep 4, 2013 at 2:42 PM, Christian Mueller <
christian.muel...@os-solutions.at> wrote:

> Only to be sure, did you put your j2ee filter on the rest queue (ant
> pattern /rest/**)
>
> Cheers
> Christian
>
>
> On Wed, Sep 4, 2013 at 12:13 PM, Dmitriy Tyugaev wrote:
>
>> Hi list.
>>
>> I have an issue with Rest security in latest geoserver 2.3.5 (also in
>> 2.3.4) I use j2ee authentication filter for authorization in our JOSSO
>> system. Authorization is proceeding normally and everything is working as
>> it should, but when I try to create a workspace via a REST receive the
>> following error
>>
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL to
>> lowercase, from: '/rest/workspaces'; to: '/rest/workspaces'  and
>> httpMethod= POST
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~
>> antPath= /** methodList= [GET]
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is:
>> '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=false
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~
>> antPath= /** methodList= [POST, DELETE, PUT]
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is:
>> '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=true
>> 2013-09-03 08:55:07,145 DEBUG
>> [security.RESTfulPathBasedFilterInvocationDefinitionMap] - returning
>> RIHMI-WDC.RCITU:GIS:ADMIN
>> 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/rest/workspaces]
>> 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler
>> mapping found for [/rest/workspaces]
>> 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 locking in
>> mode WRITE
>> 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 got the lock
>> in mode WRITE
>> 2013-09-03 08:55:07,181 DEBUG [org.geoserver] - Thread 151 releasing the
>> lock in mode WRITE
>> 2013-09-03 08:55:07,182 ERROR [geoserver.rest] -
>> com.thoughtworks.xstream.io.StreamException:  : input contained no data
>> at
>> com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
>> at com.thoughtworks.xstream.io.xml.XppReader.(XppReader.java:63)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
>> at
>> com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65)
>> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:922)
>> at
>> org.geoserver.config.util.XStreamPersister.load(XStreamPersister.java:549)
>> at
>> org.geoserver.catalog.rest.AbstractCatalogResource$1.read(AbstractCatalogResource.java:50)
>> at
>> org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:33)
>> at
>> org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:117)
>> at org.restlet.Finder.handle(Finder.java:296)
>> at
>> org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37)
>> at org.restlet.Filter.doHandle(Filter.java:105)
>> at org.restlet.Filter.handle(Filter.java:134)
>> at org.restlet.Router.handle(Router.java:444)
>> at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204)
>> at
>> com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
>> at
>> org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86)
>> 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:647)
>> at javax.servlet.http.HttpServlet.service