Re: [Geoserver-users] [OpenLayers-Users] Unable to fetch the layers

2012-11-19 Thread Smaran Harihar
Ok it seems there was no problem with the Openlayers, there is something
wrong with the Geoserver. It seems the trouble is not with the
shapefile loading because the USA states in my layer loads fine, which is
the default layer.

But any other shapefile which I added display the following error,

Failed to load attribute list, internal error is: null

I tried to remove the shapefile and then again add them but the error
persists. The shapefile gets published the first time without any problem
but when I try to view it, the browser downloads the wms file. When I go
back to check the layer publishing (titled Edit Layer), I find the error I
shared above.

Not sure what is wrong?

Thanks,
Smaran

On Mon, Nov 19, 2012 at 2:04 PM, Phil Scadden  wrote:

> Look at a GET request in the NET tab of firebug for tile that goes pink.
> Copy location and try it as URL in your browser. It could be that
> geoserver is so overwhelmed that it is too slow. You could try
> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;
> if that is case. I would repeat earlier advice that 8k of shapefiles
> isnt really a great way to manage data. POSTGIS, and indexed selection
> would probably work a whole lot better.
>
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
> ___
> Users mailing list
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Thanks & Regards
Smaran Harihar
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Processor for XSLT WFS output format module

2012-11-19 Thread Rudy Commenge
I followed your instructions.
It works, thanks.

Now I can use this Saxon extension :
http://www.saxonica.com/documentation9.1/extensibility/functions/staticmethods.html

Best regards,

RudyWI



2012/11/19 Andrea Aime 

> On Mon, Nov 19, 2012 at 5:41 PM, Rudy Commenge wrote:
>
>> Hi,
>>
>> I use XSLT WFS output format module.
>>
>
> Wow, already? It's been out only a few days and it's not even part of a
> release :-)
>
>
>> Now, I would like to use Saxon XSLT processor with this module.
>>
>> How to do it ?
>>
>
> Mumble... the code instantiates the processor using Java standard
> interfaces, that is:
> TransformerFactory tf = TransformerFactory.newInstance( );
>
> So _I believe_ you should be able to use Saxon by:
> 1) dropping the saxon jars into geoserver/WEB-INF/lib and restarting
> GeoServer
> 2) forcing the usage of Saxon by setting the JVM system variable:
>
>  -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
>
> Also have a look at that method javadoc, it describes different ways to
> force a specific
> implementation:
>
> http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/transform/TransformerFactory.html#newInstance()
>
> Let us know if this works.
>
>
> 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
>
> ---
>
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Processor for XSLT WFS output format module

2012-11-19 Thread Andrea Aime
On Mon, Nov 19, 2012 at 5:41 PM, Rudy Commenge wrote:

> Hi,
>
> I use XSLT WFS output format module.
>

Wow, already? It's been out only a few days and it's not even part of a
release :-)


> Now, I would like to use Saxon XSLT processor with this module.
>
> How to do it ?
>

Mumble... the code instantiates the processor using Java standard
interfaces, that is:
TransformerFactory tf = TransformerFactory.newInstance( );

So _I believe_ you should be able to use Saxon by:
1) dropping the saxon jars into geoserver/WEB-INF/lib and restarting
GeoServer
2) forcing the usage of Saxon by setting the JVM system variable:

 -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl

Also have a look at that method javadoc, it describes different ways to
force a specific
implementation:
http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/transform/TransformerFactory.html#newInstance()

Let us know if this works.


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

---
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Processor for XSLT WFS output format module

2012-11-19 Thread Rudy Commenge
Hi,

I use XSLT WFS output format module.
Now, I would like to use Saxon XSLT processor with this module.

How to do it ?

Best regards,

RudyWI
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tile caching, WMS request without workspace name

2012-11-19 Thread Gabriel Vatin

Ok, thanks Andrea.
I've seen in the gwc folder that tiled images are stores in folders 
named workspaceName_layerName, and then numbers. I guess that's why the 
workspace name has to appear in the request URL, so that it can find the 
right folder.


It would be interesting to look in GS code where the folder name for GWC 
storage is created, and maybe change it to a simpler name for my 
request. But for now, I will work with the complete workspace+layer name...


Gabriel

On 17/11/2012 18:23, Andrea Aime wrote:
On Thu, Nov 15, 2012 at 5:34 PM, Gabriel Vatin 
> wrote:


Hello all,

I've been playing around with GeoWebCache and the GeoServer 2.2
lastly, but I still have some questions about WMS request : I
tiled a layer XXX from a workspace xxx. So now I can perfectly
query it with these URL, and have fast raster display :

- with tiled=true

/http://myServer/geoserver/wms?LAYERS=xxx:XXX&TILED=true&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256

/

- with /gwc

/http:myServer///geoserver/gwc/service/wms?LAYERS=xxx:XXX&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256/

The thing is I don't want to use the workspace name xxx in my WMS
query (the GS architecture should be transparent). The query
without this statement works, but it doesn't use the tiled image,
even if I use tiled=true (so it's quite long...). GWC doesn't
recognize the layers if I query only /LAYERS=XXX/ with the
/gwc/service/wms URL.

Does tile caching only works with the full workspace-layer name,
or is there a trick to have tiled images with something like :


/http:myServer///geoserver/wms?LAYERS=XXX&TILED=true&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256/


I'm not sure if it's possible or not in the integrated GWC.
GeoServer has the ability to support both qualified and unqualified 
names as you say, but
GeoWebCache only supports one name for its layers, and it's the fully 
qualified one.


It should not be too hard to make the GWC integration in GeoServer do 
some sort of lookup
on the GeoServer catalog in case the layer requested is not found, and 
fall back on GS

lookup logic.

Basically the integration code would have to "fix" the layer name 
before the request actually

enters in the GWC core.

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

---

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Volatile Caching defaults

2012-11-19 Thread Agustí Escobar


I'm using version:

# 2.2
# Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80
# Build Date 19-Sep-2012 18:33

Thanks,


El 19/11/2012 14:06, Andrea Aime escribió:
On Mon, Nov 19, 2012 at 1:17 PM, Paul Meems > wrote:


I had the same problems because by default the settings are saved
in the temp folder of Tomcat.
On rebooting Tomcat clears this folder.

You need to set the GEOWEBCACHE_CACHE_DIR variable to point to
another folder.
This will also stop the need the reseed the tiles after every week.
Here's some more info:
http://docs.geoserver.org/latest/en/user/geowebcache/config.html


Uh, both behavior seem like a bug to me, gwc should save its settings 
in the geoserver

data dir, and the same should be happening about the tile cache.
Which version of GeoServer are you using?

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

---



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


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



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Fwd: Volatile Caching defaults

2012-11-19 Thread Andrea Aime
On Mon, Nov 19, 2012 at 2:10 PM, Paul Meems  wrote:

> Hi Andrea,
>
> I'm using GeoServer v2.2.1 with Tomcat7.
> I had the same behaviour with a previous version of GeoServer (I believe
> v2.1) and Tomcat6.
> Setting GEOWEBCACHE_CACHE_DIR solved my problem.
>

I see, thanks for sharing

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

---




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

---
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Volatile Caching defaults

2012-11-19 Thread Andrea Aime
On Mon, Nov 19, 2012 at 1:17 PM, Paul Meems  wrote:

> I had the same problems because by default the settings are saved in the
> temp folder of Tomcat.
> On rebooting Tomcat clears this folder.
>
> You need to set the GEOWEBCACHE_CACHE_DIR variable to point to another
> folder.
> This will also stop the need the reseed the tiles after every week.
> Here's some more info:
> http://docs.geoserver.org/latest/en/user/geowebcache/config.html


Uh, both behavior seem like a bug to me, gwc should save its settings in
the geoserver
data dir, and the same should be happening about the tile cache.
Which version of GeoServer are you using?

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

---
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Volatile Caching defaults

2012-11-19 Thread Agustí Escobar


Perfect.

Thank you very much,


El 19/11/2012 13:17, Paul Meems escribió:
I had the same problems because by default the settings are saved in 
the temp folder of Tomcat.

On rebooting Tomcat clears this folder.

You need to set the GEOWEBCACHE_CACHE_DIR variable to point to another 
folder.

This will also stop the need the reseed the tiles after every week.
Here's some more info:
http://docs.geoserver.org/latest/en/user/geowebcache/config.html

--
Paul


2012/11/19 Agustí Escobar >


Hello all,

I have an instance of GeoServer 2.2 running in a Apache Tomcat 7.0.27
server. The server reboots once a week for maintenance, and after
reboot
I have to recheck "Enable direct integration with GeoServer WMS"
and add
my gridset to Default Cached Gridsets. Geoserver seems to revert to
defaults in this section.
Is there a way to avoid this behavior and somehow persist the settings
so I don't have to setup the whole thing weekly?

Thanks in advance,



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases,
vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users




--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


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



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Volatile Caching defaults

2012-11-19 Thread Paul Meems
I had the same problems because by default the settings are saved in the
temp folder of Tomcat.
On rebooting Tomcat clears this folder.

You need to set the GEOWEBCACHE_CACHE_DIR variable to point to another
folder.
This will also stop the need the reseed the tiles after every week.
Here's some more info:
http://docs.geoserver.org/latest/en/user/geowebcache/config.html

--
Paul


2012/11/19 Agustí Escobar 

> Hello all,
>
> I have an instance of GeoServer 2.2 running in a Apache Tomcat 7.0.27
> server. The server reboots once a week for maintenance, and after reboot
> I have to recheck "Enable direct integration with GeoServer WMS" and add
> my gridset to Default Cached Gridsets. Geoserver seems to revert to
> defaults in this section.
> Is there a way to avoid this behavior and somehow persist the settings
> so I don't have to setup the whole thing weekly?
>
> Thanks in advance,
>
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Volatile Caching defaults

2012-11-19 Thread Agustí Escobar
Hello all,

I have an instance of GeoServer 2.2 running in a Apache Tomcat 7.0.27 
server. The server reboots once a week for maintenance, and after reboot 
I have to recheck "Enable direct integration with GeoServer WMS" and add 
my gridset to Default Cached Gridsets. Geoserver seems to revert to 
defaults in this section.
Is there a way to avoid this behavior and somehow persist the settings 
so I don't have to setup the whole thing weekly?

Thanks in advance,


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] App-Schema plugin, mapping the Address model of INSPIRE

2012-11-19 Thread Julián González
Hi list.

I'm trying to map a custom address model to the address model of INSPIRE
using de app-schema plugin (version 2.2.1).
There is a relationship between two featuretypes, Address and
AddressComponent (an abstract feature), called component in the first
featuretype.

There are some subtypes of AddressComponent: AdministrativeUnitName,
PostalDescriptor, ThoroughfareName,...
In the xsd, the component property of the Address featuretype is defined
like this:


   
  
 -- Definition -- Represents that the address component is engaged
as a part of the address. -- Description -- EXAMPLE For the address
designated "Calle Mayor 13, Cortijo del Marqués, 41037, Écija, Sevilla,
España" the six address components "Calle Mayor", "Cortijo del Marqués",
"41037", "Écija", "Sevilla" and "España" are engaged as address components.
  
  
 http://www.opengis.net/gml/3.2
">ad:AddressComponent
  
   
   
  
 


 
  
   


Then I've understood that:

- An address must have one or more components.
- The xml element of the component property has no content but it has an
xlink:href attribute pointing to an AdministrativeunitName or a
PostalDescriptor or a Thorougfarename

The Attribue mapping of the component property for a ThoroughfareName is:


   ad:component
   ad:ThoroughfareNameType
   
  XLINK2COMPONENT
  ad:ThoroughfareName
  ad:inspireId/base:Identifier/base:localId
   
   true
   
  xlink:href
  strConcat('
http://localhost:8080/geoserver/wfs?request=GetFeature&version=2.0.0&typeName=ad:ThoroughfareName&FEATUREID=',
GMLID)
   


In this way, an Address served by the wfs service is:


   ... a lot of xml elements ...
   http://localhost:8080/geoserver/wfs?request=GetFeature&version=2.0.0&typeName=ad:ThoroughfareName&FEATUREID=TH_VIA_0001
"/>
   http://localhost:8080/geoserver/wfs?request=GetFeature&version=2.0.0&typeName=ad:AdminUnitName&FEATUREID=AUN_MUN_00040194
"/>
   http://localhost:8080/geoserver/wfs?request=GetFeature&version=2.0.0&typeName=ad:PostalDescriptor&FEATUREID=PD_CP_0001
"/>


My questions are:

Is it possible to add the referenced AdministrativeUnitName,
PostalDescriptor and ThoroughfareName at the end of the xml response?

I've read that it's impossible to ask for a feature referenced by an
xlink:href, then we can't ask the service for the addresses of a certain
thoroughfarename, can we? I suposse that the only way is to change the type
of the component property to a gml:AbstractFeature, isn't it?

Regards and thanks in advance.
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users