Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Harshad S
 Hi,   The one way that I know(being a newbie myself) is by using SLD using Geoserver.  http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/points.html.  This link will help you assign markers for points. I think you can similarly do that for different types of features.ByeHarshad Shrikhande-Asle Benoni  wrote: -To: geoserver-users@lists.sourceforge.netFrom: Asle Benoni Date: 04/26/2012 10:45PMSubject: [Geoserver-users] How do I make a text layer (text instead of	markers)?Hello,I have a geoserver 2.1 running fine with many layers with markers.I want to show a layer where the markers are the text from a field in the database (Postgis) instead of an icon. How do I do that? Can anyone send me in the right direction? Do I use SLD styling? Or do I do this in OpenLayers etc.? Thanks for any help to a newbie!
~asle
--Live Security Virtual ConferenceExclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___Geoserver-users mailing listGeoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Get rid of a store - best way to clean it up.

2012-04-26 Thread Phil Scadden
Solved it - edited the xml directly, reload. The getCapabilities error 
went away as well.

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.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Get rid of a store - best way to clean it up.

2012-04-26 Thread Phil Scadden
  A possible cause of other issues. I cant delete a store(PostGIS) - 
when I try it says it is not empty. No features are now showing for that 
store but a crash during a REST add of a layer might have left something 
in an imcomplete state. What is best way to clean this mess up?

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.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Edward Mac Gillavry

Asle,

Check out the MinScaleDenominator and MaxScaleDenominator tags:

http://docs.geoserver.org/latest/en/user/styling/sld-cookbook/points.html#zoom-based-point

Also, you want to build in some priority: labelling bigger cities with a higher 
priority than labelling smaller hamlets. That's where the Priority tags helps 
out:

http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html#priority-labeling-priority

regards,

Edward

Date: Thu, 26 Apr 2012 21:41:23 +0200
Subject: Re: [Geoserver-users] How do I make a text layer (text instead of 
markers)?
From: asle.ben...@gmail.com
To: emacgilla...@hotmail.com
CC: geoserver-users@lists.sourceforge.net

Hi Edward,Thanks for helping out!I read the GeoServer docs link you pointed 
out. But I wonder how do I get some text labels to show only when zoomed in to 
a certain zoom level. I would not want the street names of a city to show when 
I view the whole country but when I have zoomed in to street level I want to 
show the street names. That must be possible but how?
Thanks.~asle
2012/4/26 Edward Mac Gillavry 






Hi Asle,

That would be some sort of labelling, right? In that case, there's the 
TextSymbolizer you can use in your SLD. You use the Label tag. The Propertyname 
contains the name of the column in your PostGIS database that you want to use 
to label the locations.




   

  column_name

   

...


More on the TextSymbolizer and Labelling 
http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html


Regards,

Edward

Date: Thu, 26 Apr 2012 19:14:10 +0200
From: asle.ben...@gmail.com
To: geoserver-users@lists.sourceforge.net

Subject: [Geoserver-users] How do I make a text layer (text instead of  
markers)?

Hello,I have a geoserver 2.1 running fine with many layers with markers.I want 
to show a layer where the markers are the text from a field in the database 
(Postgis) instead of an icon. How do I do that? Can anyone send me in the right 
direction? Do I use SLD styling? Or do I do this in OpenLayers etc.? Thanks for 
any help to a newbie!

~asle

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  

  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Asle Benoni
Hi Edward,
Thanks for helping out!
I read the GeoServer docs link you pointed out. But I wonder how do I get
some text labels to show only when zoomed in to a certain zoom level. I
would not want the street names of a city to show when I view the whole
country but when I have zoomed in to street level I want to show the street
names. That must be possible but how?
Thanks.
~asle

2012/4/26 Edward Mac Gillavry 

>
> Hi Asle,
>
> That would be some sort of labelling, right? In that case, there's the
> TextSymbolizer you can use in your SLD. You use the Label tag. The
> Propertyname contains the name of the column in your PostGIS database that
> you want to use to label the locations.
>
> 
>
>   column_name
>
> ...
> 
>
> More on the TextSymbolizer and Labelling
> http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html
>
> Regards,
>
> Edward
>
> --
> Date: Thu, 26 Apr 2012 19:14:10 +0200
> From: asle.ben...@gmail.com
> To: geoserver-users@lists.sourceforge.net
> Subject: [Geoserver-users] How do I make a text layer (text instead of
> markers)?
>
>
> Hello,
> I have a geoserver 2.1 running fine with many layers with markers.
> I want to show a layer where the markers are the text from a field in the
> database (Postgis) instead of an icon. How do I do that? Can anyone send me
> in the right direction? Do I use SLD styling? Or do I do this in OpenLayers
> etc.? Thanks for any help to a newbie!
> ~asle
>
> --
> Live Security Virtual Conference Exclusive live event will cover all the
> ways today's security and threat landscape has changed and how IT managers
> can respond. Discussions will include endpoint security, mobile security
> and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___ Geoserver-users mailing
> list Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Scripting of WMS...

2012-04-26 Thread HChin Hank
David,

Thank you so much...

I will look into it.

HC...

From: David Winslow [mailto:dwins...@opengeo.org]
Sent: Thursday, April 26, 2012 2:55 PM
To: HChin Hank
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geoserver Scripting of WMS...

GeoScript isn't quite the right tool for configuring GeoServer services - it 
works on geospatial data in general and not GeoServer settings.  For this you 
would be better suited looking at the REST API: 
http://docs.geoserver.org/latest/en/user/restconfig/rest-config-api.html

There are also libraries available in a few different languages for working 
with the REST API at a slightly higher level of abstraction.  I maintain this 
one: https://github.com/dwins/gsconfig.py/

GeoServer-manager is another:
http://code.google.com/p/geoserver-manager/

--
David Winslow
OpenGeo - http://opengeo.org/
On Thu, Apr 26, 2012 at 2:36 PM, HChin Hank 
mailto:hc...@edrnet.com>> wrote:
Hello list,

I am fairly new to Geoserver.

I been looking into a way to script a wms service and even possibly a script to 
delete a wms service.

Mainly because there are thousands of wms to publish in a production 
environment.

I have looked in geoscript and all over the list posting but with no luck.

Would anyone know if this is possible or the best approach to manage a similar 
situation?

The service is for some 1 million raster images by varying years.

Looking to upgrade to version 2.2 also.

Thanks in advance.

Hank.




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Edward Mac Gillavry


Hi Asle,

That would be some sort of labelling, right? In that case, there's the 
TextSymbolizer you can use in your SLD. You use the Label tag. The Propertyname 
contains the name of the column in your PostGIS database that you want to use 
to label the locations.



   

  column_name

   

...


More on the TextSymbolizer and Labelling 
http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html

Regards,

Edward

Date: Thu, 26 Apr 2012 19:14:10 +0200
From: asle.ben...@gmail.com
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] How do I make a text layer (text instead of  
markers)?

Hello,I have a geoserver 2.1 running fine with many layers with markers.I want 
to show a layer where the markers are the text from a field in the database 
(Postgis) instead of an icon. How do I do that? Can anyone send me in the right 
direction? Do I use SLD styling? Or do I do this in OpenLayers etc.? Thanks for 
any help to a newbie!
~asle

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Scripting of WMS...

2012-04-26 Thread David Winslow
GeoScript isn't quite the right tool for configuring GeoServer services -
it works on geospatial data in general and not GeoServer settings.  For
this you would be better suited looking at the REST API:
http://docs.geoserver.org/latest/en/user/restconfig/rest-config-api.html

There are also libraries available in a few different languages for working
with the REST API at a slightly higher level of abstraction.  I maintain
this one: https://github.com/dwins/gsconfig.py/

GeoServer-manager is another:
http://code.google.com/p/geoserver-manager/

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Apr 26, 2012 at 2:36 PM, HChin Hank  wrote:

>  Hello list,
>
> ** **
>
> I am fairly new to Geoserver. ** **
>
> ** **
>
> I been looking into a way to script a wms service and even possibly a
> script to delete a wms service.
>
> ** **
>
> Mainly because there are thousands of wms to publish in a production
> environment.
>
> ** **
>
> I have looked in geoscript and all over the list posting but with no luck.
> 
>
> ** **
>
> Would anyone know if this is possible or the best approach to manage a
> similar situation?
>
> ** **
>
> The service is for some 1 million raster images by varying years.
>
> ** **
>
> Looking to upgrade to version 2.2 also.
>
> ** **
>
> Thanks in advance.
>
> ** **
>
> Hank.
>
> ** **
>
> ** **
>
> ** **
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Scripting of WMS...

2012-04-26 Thread HChin Hank
Hello list,

I am fairly new to Geoserver.

I been looking into a way to script a wms service and even possibly a script to 
delete a wms service.

Mainly because there are thousands of wms to publish in a production 
environment.

I have looked in geoscript and all over the list posting but with no luck.

Would anyone know if this is possible or the best approach to manage a similar 
situation?

The service is for some 1 million raster images by varying years.

Looking to upgrade to version 2.2 also.

Thanks in advance.

Hank.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver cant access my local drive

2012-04-26 Thread Gabriel Roldan
"plz help" won't get you any closer to an answer. You need to provide
as much information as you can so that the other people in the list
don't have to guess what you're doing, what you're expecting, and
what's actually happening. Always provide which version of every piece
of relevant software your're using (operating system, servlet
container, geoserver version, etc).

Cheers,
Gabriel

On Thu, Apr 26, 2012 at 1:54 PM, golfakias83  wrote:
> plz help!!
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Geoserver-cant-access-my-local-drive-tp4911053p4931279.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Installing JAI on x64 Machine

2012-04-26 Thread Filipe
hey there. Thanks for the reply.
I didnt do any extensive benchmarks but from a user point of view on layer
preview, the x32 with JAI is faster than x64 alone.
This might be because, from what i read, JREx64 is faster when there is
alot of memory avaliable. this is not the case.

Thanks for all the replys
Filipe


On Thu, Apr 26, 2012 at 1:04 PM, Charles Galpin-2 [via OSGeo.org] <
ml-node+s1560n4930351...@n6.nabble.com> wrote:

> Filipe I haven't compared both ways, but I asked this at FOSS4GNA and
> Andrea said he expected the x86 JRE with the JAI stuff would be faster than
> the 64 bit JRE alone.
>
> hth
> charles
>
> On Apr 23, 2012, at 5:31 PM, Filipe wrote:
>
> Hello everyone. im installing a geoserver in a prodution Environment.
> After installing, i was going through the link Running in a Production
> Environment
>  and i have a question on the "Install native JAI and JAI Image I/O
> extensions" The thing is: my machine is a windows server 2008 x64, with
> jre-6u31 x64, and im using a postgres database(v9.1.3) with postGis. Now,
> the JAI dosent have a x64 setup, and from what i searched, i dont work with
> a x64 JRE. Is that true? now, if i unistall JRE x64, and install the x86
> one, i will loose some performance on the java. Is the performance gain
> from the native JAI greater than the loss from the x64 to x86 JRE? Thanks
> in advance Regards
>
>
>
> --
>
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.n6.nabble.com/Installing-JAI-on-x64-Machine-tp4911646p4930351.html
>  To unsubscribe from Installing JAI on x64 Machine, click 
> here
> .
> NAML
>


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Installing-JAI-on-x64-Machine-tp4911646p4931485.html
Sent from the GeoServer - User mailing list archive at Nabble.com.--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Null pointer exception trying to start geoserver-2.2-beta1

2012-04-26 Thread Garey Mills

Hi -

RHEL5
jdk-1.6.0_23
tomcat 7.0.8

Downloaded 2.2-beta1, unpacked the war into a directory called 
new_geoserver in ...tomcat/webapps and edited the DATA_DIR tag. Then I 
restarted tomcat. Once it was up, I went to the management screen. 
new_geoserver had not started, so I attempted to start it.


Attached is the resulting stack trace. Here is what seems to be the 
cause:


Caused by: java.lang.NullPointerException
at 
org.geoserver.gwc.layer.DefaultTileLayerCatalog.initialize(DefaultTileLayerCatalog.java:96)
at 
org.geoserver.gwc.layer.CatalogConfiguration.initialize(CatalogConfiguration.java:385)
at 
org.geowebcache.layer.TileLayerDispatcher.initialize(TileLayerDispatcher.java:189)
at 
org.geowebcache.layer.TileLayerDispatcher.initialize(TileLayerDispatcher.java:164)
at 
org.geowebcache.layer.TileLayerDispatcher.reInit(TileLayerDispatcher.java:118)
at 
org.geowebcache.layer.TileLayerDispatcher.(TileLayerDispatcher.java:66)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)

... 37 more


Can anyone tell me what I'm doing wrong?

--
Garey Mills
Library Systems Office
UC Berkeley

Apr 26, 2012 10:05:13 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 26, 2012 10:05:13 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 26, 2012 10:05:15 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Apr 26, 2012 10:05:27 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Apr 26, 2012 10:05:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Apr 26, 2012 10:05:29 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Apr 26, 2012 10:05:36 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of 
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[jar:file:/opt/apache-tomcat-7.0.8/webapps/new_geoserver/WEB-INF/lib/gwc-2.2-beta1.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'gwcTLDispatcher' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcTLDispatcher' defined in URL 
[jar:file:/opt/apache-tomcat-7.0.8/webapps/new_geoserver/WEB-INF/lib/gwc-2.2-beta1.jar!/geowebcache-core-context.xml]:
 Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw 
exception; nested exception is java.lang.NullPointerException
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java

[Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Asle Benoni
Hello,
I have a geoserver 2.1 running fine with many layers with markers.
I want to show a layer where the markers are the text from a field in the
database (Postgis) instead of an icon. How do I do that? Can anyone send me
in the right direction? Do I use SLD styling? Or do I do this in OpenLayers
etc.? Thanks for any help to a newbie!
~asle
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver cant access my local drive

2012-04-26 Thread golfakias83
plz help!!

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Geoserver-cant-access-my-local-drive-tp4911053p4931279.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS Time Parameter / Configuration

2012-04-26 Thread Kreavis
Now a little more concrete:

The test that worked, which I found from geo-solutions blog:
filename mm
precip-201010.tif
precip-201011.tif
precip-201012.tif

timeregex.properties
regex=[0-9]{6}

My filenames have the form like this:
  mmdd_hhmmss 
PRO_secondpre_20120426_16.tif

How should the regex look like. I made some tests, but I wasn't able to add
a new raster data source-
timeregex.properties
regex=[0-9]{???}

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/WMS-Time-Parameter-Configuration-tp4678364p4931070.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Non-native BBOX for a GetFeature request

2012-04-26 Thread Rahkonen Jukka
The standard also says:

"If the crsuri is not specified then the 2-D coordinates shall be specified 
using decimal degrees and WGS84 as described in [15]. "

Thus if BBOX is given with just 4 parameters it should mean EPSG:4326 and 
Northing-Easting order in WFS 1.1.0.  In WFS 1.0.0 BBOX defaults naturally to 
the default srsName because no other coordinate systems are supported. Some WFS 
servers are following the standard literally, some others have selected to keep 
backward compability and WFS 1.1.0 behaves like WFS 1.0.0. I believe that 
Geoserver is doing the latter.  A general advice could be to give BBOX always 
with 5 parameters when using WFS version 1.1.0.  Unfortunately there exist WFS 
1.1.0 servers which do not accept BBOX with 5 parameters at all.

-Jukka Rahkonen-



Martin Davis  wrote:
Out of curiosity, is that in the User doc anywhere?

On Mon, Apr 23, 2012 at 9:43 AM, Andrea Aime 
mailto:andrea.a...@geo-solutions.it>> wrote:
On Mon, Apr 23, 2012 at 5:25 PM, Rick Wayne 
mailto:fewa...@wisc.edu>> wrote:
Hi all, I have yet another newbie question. (Funny how I'm still coming up with 
them, 4 or 5 years on. It's my cultivation of the Zen "beginner's mind", don't 
you know.)

Anyway, I have an application offering some nice layers stored in the standard 
GCS for Wisconsin, which happens to be EPSG:3071. What I would like to do is 
offer a GetFeature service to cell phones, which of course tend to use 
something more like EPSG:4326. I have been unable to come up with a set of 
parameters to GetFeature that will work.

Basically I'd like the phone to supply a location and have the service return 
the feature(s) at that location. I thought I could do it with a BBOX, but 
unless I supply the BBOX in EPSG:3071, it doesn't go. And of course the SRSNAME 
parameter to GetFeature specifies the SRS of the response, not that of the 
query. I can't think of a way to do it with a Filter either.

Any ideas? I could have the phone app use PROJ4JS to convert the coordinates, 
but that seems like a lot of heavy lifting when GeoServer certainly has the 
mechanisms to do the conversion.

...&BBOX=lonMin,latMin,lonMax,latMax,EPSG:4326&...

Cheers
Andrea

--
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2

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




--
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] possible save collada file?

2012-04-26 Thread vincent
hi,

collada file might be saved in Geoserver as layer, any idea?

vincent
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoExt PDF printing: “Error message: Origin http://localhost:55608 is not allowed by Access-Control-Allow-Origin”

2012-04-26 Thread Ralph Dell
Have you included override-ext-ajax in your geoext build?

Ralph Dell
Catawba County, NC

-Original Message-
From: michael6779 [mailto:michael.t...@mallontechnology.com] 
Sent: Tuesday, April 24, 2012 5:08 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] GeoExt PDF printing: “Error message: Origin 
http://localhost:55608 is not allowed by Access-Control-Allow-Origin”

Hi,

I'm trying to generate a pdf file to print a map using GeoExt but have run
into a problem. On Chrome I get the error message:

XMLHttpRequest cannot load http://Howard:8080/geoserver/pdf/create.json.
Origin http://localhost:55608 is not allowed by Access-Control-Allow-Origin.

I think the error message tells me that its to do with the proxy so I have
tried adding the following to the Config.yaml but not luck:

- !localMatch
  dummy: true
- !ipMatch
  host: 0.0.0.0
  mask: 0.0.0.0

This should have allowed all local ip addresses and all hosts to access the
create.json in Howard:8080 but for some reason I still get the error
message.

However, on Firefox I get a slighly different behaviour. I dont get any
error message but I end up triggering a printexception with an error message
"Communication failure.

I'm stuck and out of ideas, can anyone help?

Here is the code:

var printProvider =  new GeoExt.data.PrintProvider({
  //method: "GET", // "POST" recommended for production use
  method: "POST", // "POST" recommended for production use

  //capabilities: g_printCapabilities,  // provide url instead
for lazy loading

  url: OpenLayers.ProxyHost +
"http://Howard:8080/geoserver/pdf/";,
  //url: "http://Howard:8080/geoserver/pdf/";,
  autoLoad: true,

  customParams: {
mapTitle: "GeoExt Printing Demo",
comment: "This demo shows how to use GeoExt.PrintMapPanel
with OSM"
  }
  });


var printPage = new GeoExt.data.PrintPage({
printProvider: printProvider
});

var mapPanel = new GeoExt.MapPanel({
title: "Map",
region: "center",
height: 400,
width: 600,
map: map,

bbar: ["->", {
text: "Print",
handler: function() {
// convenient way to fit the print page to the visible map area
printPage.fit(mapPanel, true);

printProvider.print(mapPanel, printPage);
}
}]
});

// create a panel and add the map panel and grid panel
// inside it
var mainPanel = new Ext.Panel({
renderTo: "mainpanel",
layout: "border",
height: 800,
width: 600,
items: [mapPanel]
});

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GeoExt-PDF-printing-Error-message-Origin-http-localhost-55608-is-not-allowed-by-Access-Control-Allow-tp4912904p4912904.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] where to set parameters to optimize jvm on windows default instalation

2012-04-26 Thread Filipe
i think i've found it

on the wrapper.conf 
add the following:

wrapper.java.additional.3=-server
wrapper.java.additional.4=-Xmx512M -Xms512m
wrapper.java.additional.5=-XX:SoftRefLRUPolicyMSPerMB=36000
wrapper.java.additional.6=-XX:MaxPermSize=128m
wrapper.java.additional.7=-XX:NewRatio=2
#wrapper.java.additional.8=-XX:+UseParallelOldGC -XX:+UserParallelGC
#wrapper.java.additional.7=-XX:XX:+UseParallelGC

the last 2 parameters don't work. the geoserver doesn't starts. 
Anyone know why?
Also, how can i tell if this parameters are correctly loaded ?

Regards
Filipe

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/where-to-set-parameters-to-optimize-jvm-on-windows-default-instalation-tp4913650p4930385.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geometry managed by Geoserver App-Schema

2012-04-26 Thread alessandro marrone

Hello
I need to know which geometries I can map through App-Schema Support.
I have understand that the only way to map a geometry is through an atomic 
expression.
So I can map, with WKT expressions, just Point, Linestring, Polygon, 
Multipoint, Multilinestring, multipolygon and Geometrycollection,i'm right?
Ben Cardoc told me that there are bindings for both LinearRing and  
LinearRingPropertyType.
How is this possible, if there aren’t WKT expressions for these?
 Are there others binding?

  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] where to set parameters to optimize jvm on windows default instalation

2012-04-26 Thread Andrea Aime
On Thu, Apr 26, 2012 at 12:05 PM, Filipe  wrote:

> nope, that didnt do it.
>
> I forgot to mention one thing. It is installed as Windows Service
>

In the windows service setup the location of the jvm params is to be
provided somewhere else...
I believe it should be a wrapper.conf file, and I guess that after doing
that the wrapper.exe
file should be called to install again the service with the modified params.
Again, not sure, don't normally setup GeoServer on windows, but I see this
in the
GeoServer installer script:

; Install the service (and start it)
nsExec::Exec "$INSTDIR\wrapper.exe -it ./wrapper/wrapper.conf
wrapper.java.additional.3=-Djetty.port=$Port"

As you can see it's already providing an extra JVM parameter on the command
line, -Djetty.port=$Port

Cheers
Andrea


-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 'Memory usage' in 'Server status' and 'heap size'

2012-04-26 Thread Juan Marín Otero
On Wed, Apr 25, 2012 at 2:25 PM, Smart KB  wrote:

> Hello,
>
> In GeoServer, Server status of localhost shows 376 MB. While deploying the
> application in a hired Server, how much should be the heap size required
> for
> the map to display the contents properly?
>

This will greatly depend on your data, number of users, etc. I suggest you
read the following, it contains good tips on running GeoServer in a
production environment
http://opengeo.org/publications/geoserver-production/


>
> Sincerely,
> SmartKB.
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/GeoServer-Memory-usage-in-Server-status-and-heap-size-tp4917560p4917560.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Juan Marín Otero
GIS Consultant

---Visita mi blog en-
http://guachintoneando.blogspot.com
---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Installing JAI on x64 Machine

2012-04-26 Thread Charles Galpin
Filipe I haven't compared both ways, but I asked this at FOSS4GNA and Andrea 
said he expected the x86 JRE with the JAI stuff would be faster than the 64 bit 
JRE alone.

hth
charles

On Apr 23, 2012, at 5:31 PM, Filipe wrote:

> Hello everyone. im installing a geoserver in a prodution Environment. After 
> installing, i was going through the link Running in a Production Environment 
> and i have a question on the "Install native JAI and JAI Image I/O 
> extensions" The thing is: my machine is a windows server 2008 x64, with 
> jre-6u31 x64, and im using a postgres database(v9.1.3) with postGis. Now, the 
> JAI dosent have a x64 setup, and from what i searched, i dont work with a x64 
> JRE. Is that true? now, if i unistall JRE x64, and install the x86 one, i 
> will loose some performance on the java. Is the performance gain from the 
> native JAI greater than the loss from the x64 to x86 JRE? Thanks in advance 
> Regards 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] where to set parameters to optimize jvm on windows default instalation

2012-04-26 Thread Filipe
nope, that didnt do it.

I forgot to mention one thing. It is installed as Windows Service

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/where-to-set-parameters-to-optimize-jvm-on-windows-default-instalation-tp4913650p4930142.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImageMosaic for timeseries dataset?

2012-04-26 Thread Kreavis
Thanks Andrea!
> The moment you have time as well you're basically forced to use that flag
> or switch
> to a in-database index, as far as I know "common" shapefiles have no
> notion of a timestamp field, just date

Time paramter seems to work, but I did not set this -Dorg.geotools...
Where is it located?
At the moment I just use raster images for time series.
Cheers Christoph

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/ImageMosaic-for-timeseries-dataset-tp3794051p4930021.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver cant access my local drive

2012-04-26 Thread golfakias83
I need your help to find a solution.I've deployed geoserver war file in java
application server on the web , but when i go to make a new data store i
cant acces my local drive to upload my data, can you give me your solutions?

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Geoserver-cant-access-my-local-drive-tp4911053p4911053.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problem Creating A MrSID Layer

2012-04-26 Thread David Olson
Hello,

 

As an upfront disclaimer I am quite new to Geoserver and related
technologies.

 

I have Geoserver running as a Windows service and I am trying to create
a coverage layer using a MrSID file. I have loaded the GDAL libraries
and when I ask it to create a store of MrSID type and point to the
source file it seems to work fine. However, when I try and create a new
layer resource I can select the store from the drop-down but it doesn't
present me an opportunity to save the layer.

 

Am I missing a step somewhere along the line?

 

Thanks in advance for any help you can provide.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 'Memory usage' in 'Server status' and 'heap size'

2012-04-26 Thread Smart KB
Hello,

In GeoServer, Server status of localhost shows 376 MB. While deploying the
application in a hired Server, how much should be the heap size required for
the map to display the contents properly?

Sincerely,
SmartKB.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GeoServer-Memory-usage-in-Server-status-and-heap-size-tp4917560p4917560.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Installing JAI on x64 Machine

2012-04-26 Thread Filipe
Hello everyone.

im installing a geoserver in a prodution Environment.
After installing, i was going through the link 
http://docs.geoserver.org/stable/en/user/production/index.html Running in a
Production Environment  and i have a question  on the "Install native JAI
and JAI Image I/O extensions"

The thing is:
my machine is a windows server 2008 x64, with jre-6u31 x64, and im using a
postgres database(v9.1.3) with postGis.

Now, the JAI dosent have a x64 setup, and from what i searched, i dont work
with a x64 JRE.
Is that true?

now, if i unistall JRE x64, and install the x86 one, i will loose some
performance on the java.
Is the performance gain from the native JAI greater than the loss from the
x64 to x86 JRE?

Thanks in advance

Regards

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Installing-JAI-on-x64-Machine-tp4911646p4911646.html
Sent from the GeoServer - User mailing list archive at Nabble.com.--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoExt PDF printing: “Error message: Origin http://localhost:55608 is not allowed by Access-Control-Allow-Origin”

2012-04-26 Thread michael6779
Hi,

I'm trying to generate a pdf file to print a map using GeoExt but have run
into a problem. On Chrome I get the error message:

XMLHttpRequest cannot load http://Howard:8080/geoserver/pdf/create.json.
Origin http://localhost:55608 is not allowed by Access-Control-Allow-Origin.

I think the error message tells me that its to do with the proxy so I have
tried adding the following to the Config.yaml but not luck:

- !localMatch
  dummy: true
- !ipMatch
  host: 0.0.0.0
  mask: 0.0.0.0

This should have allowed all local ip addresses and all hosts to access the
create.json in Howard:8080 but for some reason I still get the error
message.

However, on Firefox I get a slighly different behaviour. I dont get any
error message but I end up triggering a printexception with an error message
"Communication failure.

I'm stuck and out of ideas, can anyone help?

Here is the code:

var printProvider =  new GeoExt.data.PrintProvider({
  //method: "GET", // "POST" recommended for production use
  method: "POST", // "POST" recommended for production use

  //capabilities: g_printCapabilities,  // provide url instead
for lazy loading

  url: OpenLayers.ProxyHost +
"http://Howard:8080/geoserver/pdf/";,
  //url: "http://Howard:8080/geoserver/pdf/";,
  autoLoad: true,

  customParams: {
mapTitle: "GeoExt Printing Demo",
comment: "This demo shows how to use GeoExt.PrintMapPanel
with OSM"
  }
  });


var printPage = new GeoExt.data.PrintPage({
printProvider: printProvider
});

var mapPanel = new GeoExt.MapPanel({
title: "Map",
region: "center",
height: 400,
width: 600,
map: map,

bbar: ["->", {
text: "Print",
handler: function() {
// convenient way to fit the print page to the visible map area
printPage.fit(mapPanel, true);

printProvider.print(mapPanel, printPage);
}
}]
});

// create a panel and add the map panel and grid panel
// inside it
var mainPanel = new Ext.Panel({
renderTo: "mainpanel",
layout: "border",
height: 800,
width: 600,
items: [mapPanel]
});

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GeoExt-PDF-printing-Error-message-Origin-http-localhost-55608-is-not-allowed-by-Access-Control-Allow-tp4912904p4912904.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImageMosaic for timeseries dataset?

2012-04-26 Thread Andrea Aime
On Thu, Apr 26, 2012 at 9:25 AM, Kreavis  wrote:

> Where can I set this:
> -Dorg.geotools.shapefile.datetime=true
> Do I have to set this, even if I don't have time in milliseconds?
>

The moment you have time as well you're basically forced to use that flag
or switch
to a in-database index, as far as I know "common" shapefiles have no notion
of a timestamp field, just date

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImageMosaic for timeseries dataset?

2012-04-26 Thread Kreavis
Where can I set this:
-Dorg.geotools.shapefile.datetime=true
Do I have to set this, even if I don't have time in milliseconds?

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/ImageMosaic-for-timeseries-dataset-tp3794051p4929863.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users