[Geoserver-users] Geoserver crashing - Failed to communicate with geoserver error

2014-07-08 Thread Anas A
Dear Friends,
 My Geoserver crashng oftenly by producing the following error
while try to open layer preview tab from admin console
am working with sensitive data and i have an application using gwc layer ,
for first four zoom level the map working fine after that it end up with
pink layer,i configured to use automatic gwc






This the bug report am getting while opening layer preview tab

Thanks in advance

Oops, something went wrong...



Sorry, something unexpected happened on the server.



Here's an error report you can include in a JIRA bug report about this
issue:

org.apache.wicket.WicketRuntimeException: Failed to add pluggable
layergroup configuration panels at
org.geoserver.web.data.layergroup.AbstractLayerGroupPage$4.populateItem(AbstractLayerGroupPage.java:213)
at
org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:562)
at
org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071) at
org.apache.wicket.Component.beforeRender(Component.java:1105) at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946) at
org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:2056) at
org.apache.wicket.Component.internalBeforeRender(Component.java:1071) at
org.apache.wicket.Component.beforeRender(Component.java:1105) at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946) at
org.apache.wicket.Page.onBeforeRender(Page.java:1531) at
org.apache.wicket.Component.internalBeforeRender(Component.java:1071) at
org.apache.wicket.Component.beforeRender(Component.java:1105) at
org.apache.wicket.Component.prepareForRender(Component.java:2292) at
org.apache.wicket.Page.prepareForRender(Page.java:1521) at
org.apache.wicket.Component.prepareForRender(Component.java:2329) at
org.apache.wicket.Page.renderPage(Page.java:892) at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at
org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
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.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDo

[Geoserver-users] ogr2ogr

2014-07-08 Thread cmaul
Hello,

the answer is probably 'No', but just to make sure:

Is there any way to use the ogr2ogr integration in Geoserver to draw from
the Geoserver data sources into your own database?
I've defined the file formats available (MAP, MIF, GDB, DXF etc.), however I
have been asked whether streaming from my into another DB is possible.

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
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/ogr2ogr-tp5150208.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Printing in Geoserver

2014-07-08 Thread Andrea Aime
On Tue, Jul 8, 2014 at 6:40 PM, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi Mauro,
>   Is there a simple way to do printing with the print module? As in, just
> use a simple URL (as can be done with decorations) which will then provide
> a nice print - similar to what Steve expresses an interest in with his
> question 3.
>
> As best I can tell, the print module requires a fairly complex front end
> system (typically GeoExt) to interact fully with the API.  Is there a
> simpler way to get it to create prints? Ideally with a "simple" GET request.
>

Nope, there is not.
I once fancied setting up print templates in the form of SVG files, with
elements having IDs assigned to them, so that the code
would know where to put the legend, the map, where to expand the titles,
and then pass all the extra info needed via
url parameters, to get more or less what you're asking for.

However, most people interested in doing prints go for the print system,
which as you say provides a complex but nice
GUI for setting up the printout

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

---
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Printing in Geoserver

2014-07-08 Thread Jonathan Moules
Hi Mauro,
  Is there a simple way to do printing with the print module? As in, just
use a simple URL (as can be done with decorations) which will then provide
a nice print - similar to what Steve expresses an interest in with his
question 3.

As best I can tell, the print module requires a fairly complex front end
system (typically GeoExt) to interact fully with the API.  Is there a
simpler way to get it to create prints? Ideally with a "simple" GET request.

Cheers,
Jonathan



On 8 July 2014 17:23, Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it> wrote:

> Hi Steve,
>
>
>
> 2014-07-08 17:39 GMT+02:00 Steve Campbell :
>
>
>> Hi all
>>
>> I wasn't sure of the best route to ask these questions, so please
>> re-direct
>> me if this is the wrong place...
>>
>> I have a few questions about the in-built printing that I hope someone can
>> help with:
>>
>> 1)  I am struggling to use the functionality to result in a PDF with
>> a basic
>> layout/legend, I can get an image with a legend (see links below), but a
>> PDF
>> doesn't work. Can anyone help tell me what I need to do to fix this?
>> Thanks
>>
>>
>> http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic
>
>
> What you are using here is not a printing functionality, but rather the
> decoration one. This allows you to get an image from WMS with some layout,
> but it's not meant to support complete printing capabilities.
>
> You can get a pdf using the wms service (simply changing the format
> parameter from image/png to application/pdf) but unfortunately decorations
> are not supported by the pdf output format.
>
> For real printing there is a printing plugin, that uses the MapFish-Print
> library (http://www.mapfish.org/doc/print/).
>
> Currently the plugin is available as an extension for the 2.6.x (upcoming)
> release or as a community module  (using an older version of mapfish-print
> libs) for 2.5.x and 2.4.x,. You can download it here:
>
> 2.6.x:
> http://ares.boundlessgeo.com/geoserver/master/ext-latest/geoserver-2.6-SNAPSHOT-printing-plugin.zip
> 2.5.x:
> http://ares.boundlessgeo.com/geoserver/2.5.x/community-latest/geoserver-2.5-SNAPSHOT-printing-plugin.zip
> 2.4.x:
> http://ares.boundlessgeo.com/geoserver/2.4.x/community-latest/geoserver-2.4-SNAPSHOT-printing-plugin.zip
>
> Some documentation on the plugin and the related configuration can be
> found here:
>
> 2.6.x:
> http://docs.geoserver.org/latest/en/user/extensions/printing/index.html
> previous versions:
> http://docs.geoserver.org/stable/en/user/community/printing/index.html
>
> Cheers,
> Mauro Bartolomeoli
>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain confidential, sensitive or personal information 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.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Printing in Geoserver

2014-07-08 Thread Steven Campbell
Hi all

I wasn't sure of the best route to ask these questions, so please re-direct me 
if this is the wrong place...

I have a few questions about the in-built printing that I hope someone can help 
with:


1)I am struggling to use the functionality to result in a PDF with a basic 
layout/legend, I can get an image with a legend (see links below), but a PDF 
doesn't work. Can anyone help tell me what I need to do to fix this? Thanks

http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic


http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&format=application%2Fpdf&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic

2)Another point to raise is that I can't get a singular legend box for the 
layers, currently (as shown in the first link) I get multiple boxes, one for 
each layer - can this be changed in my xml file I create or is this a 
development request?

3)I really like this basic printing capability and was wondering if it 
could be made easier to manage/work with by including it in the overall 
GeoServer Interface? Is there any desire to do this?

Thanks and apologies if I've sent this to the wrong place!

Steve

Steve Campbell | GIS Manager
Corporate Strategy and Communications
Borough of Poole | Civic Centre | Poole BH15 2RU
Tel: 01202 633 362
Email: s.campb...@poole.gov.uk
Website:www.boroughofpoole.com
Think Green! Please Recycle

DISCLAIMER: This email and any files transmitted with it may be confidential, 
legally privileged and protected in law and are intended solely for the use of 
the individual to whom it is addressed. The copyright in all documentation is 
the property of the Borough of Poole and this email and any documentation must 
not be copied or used other than as strictly necessary for the purpose of this 
email, without prior written consent which may be subject to conditions. Any 
view or opinions presented are solely those of the author and do not 
necessarily represent those of the Borough of Poole. The Borough of Poole 
reserves the right to inspect incoming and outgoing emails. If you have 
received this email in error please contact the sender by return and confirm 
that its contents have been destroyed. Telephone enquiries should be directed 
to the Borough switchboard on 01202 633633.'
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Printing in Geoserver

2014-07-08 Thread Mauro Bartolomeoli
Hi Steve,



2014-07-08 17:39 GMT+02:00 Steve Campbell :

>
> Hi all
>
> I wasn’t sure of the best route to ask these questions, so please re-direct
> me if this is the wrong place...
>
> I have a few questions about the in-built printing that I hope someone can
> help with:
>
> 1)  I am struggling to use the functionality to result in a PDF with a
> basic
> layout/legend, I can get an image with a legend (see links below), but a
> PDF
> doesn’t work. Can anyone help tell me what I need to do to fix this? Thanks
>
>
> http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic


What you are using here is not a printing functionality, but rather the
decoration one. This allows you to get an image from WMS with some layout,
but it's not meant to support complete printing capabilities.

You can get a pdf using the wms service (simply changing the format
parameter from image/png to application/pdf) but unfortunately decorations
are not supported by the pdf output format.

For real printing there is a printing plugin, that uses the MapFish-Print
library (http://www.mapfish.org/doc/print/).

Currently the plugin is available as an extension for the 2.6.x (upcoming)
release or as a community module  (using an older version of mapfish-print
libs) for 2.5.x and 2.4.x,. You can download it here:

2.6.x:
http://ares.boundlessgeo.com/geoserver/master/ext-latest/geoserver-2.6-SNAPSHOT-printing-plugin.zip
2.5.x:
http://ares.boundlessgeo.com/geoserver/2.5.x/community-latest/geoserver-2.5-SNAPSHOT-printing-plugin.zip
2.4.x:
http://ares.boundlessgeo.com/geoserver/2.4.x/community-latest/geoserver-2.4-SNAPSHOT-printing-plugin.zip

Some documentation on the plugin and the related configuration can be found
here:

2.6.x:
http://docs.geoserver.org/latest/en/user/extensions/printing/index.html
previous versions:
http://docs.geoserver.org/stable/en/user/community/printing/index.html

Cheers,
Mauro Bartolomeoli




-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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

---
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Printing in Geoserver

2014-07-08 Thread Steve Campbell

Hi all

I wasn’t sure of the best route to ask these questions, so please re-direct
me if this is the wrong place...

I have a few questions about the in-built printing that I hope someone can
help with:

1)  I am struggling to use the functionality to result in a PDF with a basic
layout/legend, I can get an image with a legend (see links below), but a PDF
doesn’t work. Can anyone help tell me what I need to do to fix this? Thanks

http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic
 


http://ha2.boroughofpoole.com/geoserver/wms?LAYERS=Poole:WARDS_81989,Poole:SSSI_SRID&STYLES=&format=application%2Fpdf&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=395337.896,87280.076,407229.698316626,97670.123&WIDTH=535&HEIGHT=700&format_options=layout:Poole_Basic
2)  Another point to raise is that I can’t get a singular legend box for the
layers, currently (as shown in the first link) I get multiple boxes, one for
each layer – can this be changed in my xml file I create or is this a
development request?
3)  I really like this basic printing capability and was wondering if it
could be made easier to manage/work with by including it in the overall
GeoServer Interface? Is there any desire to do this?

Thanks and apologies if I’ve sent this to the wrong place!

Steve




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

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Setting the timezone in Geoserver running as a .war

2014-07-08 Thread Simone Giannecchini
Ciao Julien,
I believe there is no way to NOT interfere with other packages
deployed in the same Tomcat unless you have multiple instances of
Tomcat
running in parallel on different ports. In the end this is Java
process setting not a GeoServer setting like the GEOSERVER_DATA_DIR to
mention one.


I would actually recommend the latter option as it gives you more
freedom in terms of configuring the different apps independently at
the cost
of wasting a certaing amount of memory.

Let's see if someone else can come up with a better idea.

Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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 Mon, Jul 7, 2014 at 5:41 PM, electrotype  wrote:
> We had some problems with dates using Geoserver and finally the trick was to 
> add
> "-Duser.timezone=GMT" in startup.bat.
>
> But now we're trying to make Geoserver work as a .war, in a Tomcat server. 
> But we don't want the
> "user.timezone" parameter to affect the other applications running on this 
> Tomcat instance!
>
> Do you know what would be the best way to tell Geoserver to use GMT/UTC as 
> the timezone without
> changing this setting on the entire Tomcat  container?
>
> Thanks in advance!
>
> Julien
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Gazetteer with ISO 19112 and App-Schema

2014-07-08 Thread Pedro Arriondo
Hi friends,
I'm trying to implement a WFS-G, following the ISO 19112 model.
I am using GeoServer 2.5.1 and app-schema.
I wonder if it is possible to find somewhere a standard mapping file to map
between the BD model and the ISO scheme (iso19112.xsd), or if I should
write it from scratch.
Best regards

-- 
Pedro A. Arriondo
*Ingeniero en Sistemas de Información*
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver cannot cache with gwc

2014-07-08 Thread Pena Kupen
Thank's!

This maybe explains this. So we have to manage without caching.

--kupen

Kevin Smith [ksm...@boundlessgeo.com] kirjoitti: 
> At the moment, GWC doesn't support the dpi format option.
> https://github.com/GeoWebCache/geowebcache/issues/240
> 
> 
> On 7 July 2014 08:07, Pena Kupen  wrote:
> 
> > Hello again,
> >
> > On Geoservers log, gwc says flollowing, aboun 30 times:
> > 2014-07-07 17:49:02,980 ERROR [geowebcache.GeoWebCacheDispatcher] -
> > Requested horizontal resolution: 3.5277758726551838 , best match:
> > 2.388657133579254 exceeds 10% threshold. Perhaps the client is configured
> >  with an incorrect set of scales (resolutions),  or the DPI setting is off
> > compared to the one in GWC ?
> > http://localhost:8080/geoserver/gwc/service/wms
> >
> > That's maybe reason, why gwc is not caching.
> > How to fix this?
> >
> > --kupen
> >
> > Pena Kupen [ku...@wippies.fi] kirjoitti:
> > > Kevin and Jukka and all,
> > >
> > > >First off, if you want to use the standard GeoServer WMS endpoint with
> > > >caching, you need to make sure that you have Direct Integration enabled.
> > > >
> > > Yeps, it is enabled.
> > >
> > > >Second, you need to make sure the layer is configured for caching and
> > that
> > > >you have set it up with the correct format, gridset, parameter filters,
> > et
> > > >to handle your request. If anything doesn't match, it will fall back to
> > > >using GeoServer's WMS service directly without any caching.
> > > >
> > > Should be. Declared SRS is EPSG:3067 and on Openlayers I use EPSG:900913.
> > >
> > > >OpenLayers isn't able to read the gridset information from a WMS-C
> > > >GetCapabilities document so if you give it a layer using a custom
> > gridset
> > > >it will simply guess how the tiles are laid out and make requests on
> > that
> > > >basis. If it guesses wrong, then the requests won't line up with the
> > cache
> > > >and GWC won't be able to handle it. If you're using GWC directly you'll
> > > >get an error, while if you're using the regular GeoServer WMS endpoint
> > with
> > > >Direct Integration enabled, it will fall back to using the WMS without
> > > >caching.
> > > >
> > > Yep. That's how I have understand it.
> > >
> > > >The GWC endpoints are /geoserver/gwc/service/wms
> > > >
> > > I must try this
> > >
> > > >In order to use any gridset other than the standard Web Mercator or
> > WGS84
> > > >ones you have to tell OpenLayers the exact parameters of that gridset,
> > at
> > > >least if you're using WMS-C.
> > > >
> > > I suppose, I use Mercator.
> > > >projection: mercator
> > >
> > > I noticed one more thing more.
> > > When using this layer, there is maybe 5 different resolution. When
> > draging tiles on levels 2-5, there is no caching, but on level 1 gwc is
> > caching tiles?!
> > >
> > > --kupen
> > >
> > > --
> > > Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen
> > eturintamassa ja liity Wippiesiin heti!
> > > http://www.wippies.com/
> > >
> > >
> > > --
> > > Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen
> > eturintamassa ja liity Wippiesiin heti!
> > > http://www.wippies.com/
> > >
> > >
> > >
> > >
> > --
> > > Open source business process management suite built on Java and Eclipse
> > > Turn processes into business applications with Bonita BPM Community
> > Edition
> > > Quickly connect people, data, and systems into organized workflows
> > > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > > http://p.sf.net/sfu/Bonitasoft
> > > ___
> > > Geoserver-users mailing list
> > > Geoserver-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > >
> > >
> >
> >
> > --
> > Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen
> > eturintamassa ja liity Wippiesiin heti!
> > http://www.wippies.com/
> >
> >
> >
> >
> > --
> > Open source business process management suite built on Java and Eclipse
> > Turn processes into business applications with Bonita BPM Community Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > http://p.sf.net/sfu/Bonitasoft
> > ___
> > Geoserver-users mailing list
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
> 
> 
> 
> -- 
> 
> Kevin Smith
> 
> Junior Software Engineer | Boundless
> 
> ksm...@boundlessgeo.com
> 
> +1-778-785-7459
> 
> @boundlessgeo 
> 


-- 
Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen eturintamassa 
ja liity Wippiesiin heti!
http://www.wippies.com/



--
Open source business process management suite built on Ja

Re: [Geoserver-users] Newbie trying to use qgis plugin to export layers

2014-07-08 Thread Jonathan Moules
Hi Russell,
I'd suggest this would be better placed on the QGIS mailing list as the
error quoted seems to be within the QGIS plugin. Alternately you may want
to try the plugin's author directly given it appears it may be a bug.

Cheers,
Jonathan



On 4 July 2014 19:46, Russell Fulton  wrote:

> Hi
>
> I have a project in QGIS that I am trying to publish using GeoServer via
> the plugin.
>
> When I try and publish a layer I get:
>
> global name 'provider' is not defined Traceback (most recent call last):
> File "/Users/rful011/.qgis2/python/plugins/opengeo/gui/explorer.py", line
> 118, in run command(*params) File
> "/Users/rful011/.qgis2/python/plugins/opengeo/gui/confirm.py", line 18, in
> publishLayer catalog.publishLayer(layer, workspace, overwrite, name) File
> "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 379,
> in publishLayer self.upload(layer, workspace, overwrite, title) File
> "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 245,
> in upload self._publishExisting(layer, workspace, overwrite) File
> "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 171,
> in _publishExisting uri = QgsDataSourceURI(provider.dataSourceUri())
> NameError: global name 'provider' is not defined
>
> I have looked at the plugin code and can not find any references to
> 'provider' before the fateful reference that fails.
>
> Any ideas what is wrong?
>
> Russell
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain confidential, sensitive or personal information 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.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users