Re: [Geoserver-users] PostGIS error: geometry requires more points

2013-03-15 Thread Andrea Aime
On Fri, Mar 15, 2013 at 5:37 AM, Rodrigo Antonialli
rcantonia...@gmail.comwrote:

 Hi!

 I'm facing a strange issue with a PostGIS layer I've published in
 Geoserver.

 I have many other layers (tables) in this same PostGIS Store, but only one
 shows this strange behaviour:


If you google for the error message there are a few references, it seems
you have invalid geometries in that table.
Search for postgis geometry requires more points

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

---
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] running a web application and geoseerver on the same tomcat

2013-03-15 Thread Andrea Aime
On Thu, Mar 14, 2013 at 5:01 PM, Khaoula MIMID khaoula.mi...@gmail.comwrote:

 Hello List,
 i have installed Eclipse juno for JEE developpers, tomcat 7, and put the
 geoserver librairie in the same tomcat.
 When i try to run tomcat 7 (to run  a web application)  while running
 geoserver (with cmd), the application doesn't run.
 Can you tell me how can i manage to run both on the same tomcat because i
 am trying to publish postgis layers with geoserver and use them in the web
 application.


You just have to deploy both .war in the same tomcat.
If you are running GeoServer wtih cmd it's going to take port 8080, and
tomcat 7 will try to start by default
on port 8080 too and fail... if you want, you can also configure either
tomcat or geoserver to start on a different
port

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

---
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] running a web application and geoseerver on the same tomcat

2013-03-15 Thread Khaoula MIMID
Hello,
Thank you both foryour answers.
Can you show me how to deploy the geoserver war on eclipse?
Thank you very much


2013/3/15 Andrea Aime andrea.a...@geo-solutions.it

 On Thu, Mar 14, 2013 at 5:01 PM, Khaoula MIMID khaoula.mi...@gmail.comwrote:

 Hello List,
 i have installed Eclipse juno for JEE developpers, tomcat 7, and put the
 geoserver librairie in the same tomcat.
 When i try to run tomcat 7 (to run  a web application)  while running
 geoserver (with cmd), the application doesn't run.
 Can you tell me how can i manage to run both on the same tomcat because i
 am trying to publish postgis layers with geoserver and use them in the web
 application.


 You just have to deploy both .war in the same tomcat.
 If you are running GeoServer wtih cmd it's going to take port 8080, and
 tomcat 7 will try to start by default
 on port 8080 too and fail... if you want, you can also configure either
 tomcat or geoserver to start on a different
 port

 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

 ---




-- 

_

Khaoula MIMID

Élève ingénieur - 3ème Sciences d'Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : *khaoula.mi...@gmail.com*

_

*
khaoula.mi...@gmail.com*
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Tomcat or Jetty?

2013-03-15 Thread Jonathan Moules
Hi List,
  So, simple question: Should we stick with the default Jetty or go with
Tomcat instead, and more importantly - why? We're going to be using it on a
Windows Server 2008 R2.
What do other folks use? As Jetty already-works for us, is there a reason
to justify spending the time swapping to a unfamiliar package?

I'm surprised this hasn't been asked more often - a search of the archives
only found it once and the answer was simply use tomcat with no
explanation of why.
Cheers,
Jonathan


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Latest JRE update problem

2013-03-15 Thread Andrea Aime
On Fri, Mar 15, 2013 at 12:12 PM, Langford, Robert 
robert.langf...@salford.gov.uk wrote:



 Success, Geoserver working as normal.  So I’m guessing that I messed up
 with the Geoserver upgrade.  Should the upgrade have removed any JAR files
 that referenced 2.2.3?  I’ve also noticed I have some 2.2.2 JAR files in
 that same folder also, could they cause any issues, have I always messed up
 upgrades?


This procedure is very likely to mess up upgrades. In order to perform
clean upgrades:
- setup an external data directory (
http://docs.geoserver.org/latest/en/user/datadirectory/index.html)
- when upgrading, uninstall fully the old version and install the new one
(and oh, to be on the safe side, also back up the data dir before letting
the new GeoServer open it)

Cheers
Andrea

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

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

---
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] PSC/PMC meeting reminder: March 18

2013-03-15 Thread Andrea Aime
Hi,
just a quick remainder that Monday we are going to have the usual bi-weekly
meeting.

The meeting has been held at this time during the last few weeks:
http://www.timeanddate.com/worldclock/fixedtime.html?msg=GeoTools%2FGeoServer+meetingiso=20130318T1430p1=3281ah=1

Are there any daylight saving changes that would make us want to change the
time?

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

---
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] use j_spring_security_logout

2013-03-15 Thread islanis
hey, i make this and it work perfectly, and i give it to all that require it

//-
public static function loginGeoserver($username, $password) {
$post_data['username'] = $username;
$post_data['password'] = $password;
foreach ( $post_data as $key = $value){$post_items[] = $key . '='  
. $value;}
$post_string = implode ('', $post_items);
$curl_connection =  
curl_init('http://'.master::$host.'/geoserver/j_spring_security_check');
curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($curl_connection, CURLOPT_USERAGENT,Mozilla/4.0  
(compatible; MSIE 6.0; Windows NT 5.1));
curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl_connection, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl_connection, CURLOPT_POSTFIELDS, $post_string);
$result = curl_exec($curl_connection);
$arrInfo=curl_getinfo($curl_connection);
$url=$arrInfo['url'];
parse_str($url, $output);
$trans = array(. = _);
$base = strtr(master::$host, $trans);

if(master::getLoggedUser()-tieneRol(Operador))
$str = http://.$base./geoserver/web/;jsessionid;;
$str = http://.$base./geoserver/;jsessionid;;

curl_close($curl_connection);
setcookie('JSESSIONID',$output[$str],0,'/geoserver');
setcookie('JSESSIONID',$output[$str],0,'/');
}
//---

but the logout dont work in the server side, only works in the client  
browser if i delete the cookies, it means that, if i dont delete the  
cookie, somebody can entry the geoserver, and i want that geoserver  
logsout the session itself here is the code that i implements,help me  
with efectly solution or repairing the mistake shown here, thanks to  
all,

//
public static function logoutGeoserver() {
$curl_connection =  
curl_init('http://'.master::$host.'/geoserver/j_spring_security_logout');
curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($curl_connection, CURLOPT_COOKIESESSION, true);
curl_setopt($curl_connection, CURLOPT_USERAGENT,Mozilla/4.0  
(compatible; MSIE 6.0; Windows NT 5.1));
curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt( $curl_connection, CURLOPT_COOKIE, 'JSESSIONID=' .  
$_COOKIE['JSESSIONID'] . '; path=/geoserver' );
$result = curl_exec($curl_connection);
curl_close($curl_connection);
//setcookie('JSESSIONID','',time()-3600,'/geoserver');
//setcookie('JSESSIONID','',time()-3600,'/');
}


This message was sent using IMP, the Internet Messaging Program.


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geotools-devel] PSC/PMC meeting reminder: March 18

2013-03-15 Thread Justin Deoliveira
Daylight savings time is on my side this time... no excuses for not making
it this time :)


On Fri, Mar 15, 2013 at 8:13 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 Hi,
 just a quick remainder that Monday we are going to have the usual
 bi-weekly meeting.

 The meeting has been held at this time during the last few weeks:

 http://www.timeanddate.com/worldclock/fixedtime.html?msg=GeoTools%2FGeoServer+meetingiso=20130318T1430p1=3281ah=1

 Are there any daylight saving changes that would make us want to change
 the time?

 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

 ---


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 GeoTools-Devel mailing list
 geotools-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geotools-devel




-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] mobile editing application?

2013-03-15 Thread Mark Volz
Hello,

I am looking for a mobile web editing application that uses either GeoServer or 
MapServer.  Particularly I am looking for the following:

*The application must work on Tablets.  If it works on phones that would be 
good as well.
*I would like to avoid an annual subscription fee.  If anything it must be 
significantly cheaper than ArcGIS Online.
*The map should be able to work the GPS on the tablet or phone.
*The application should be easy to enter data in.
*The application should allow password protection.
*The application should be relatively easy to set up.

If anyone knows of any decent mobile mapping frameworks please let me know.  

Thank You

Mark Volz
GIS Specialist

Mark Volz
GIS Specialist
Lyon County, MN
(507) 532-8218



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] (no subject)

2013-03-15 Thread Michael Bowman
http://mysinhafamily.com/wp-content/versions.php?hxydtko702pjeu

__
amazon.com lt;--- sign over paychecks. thank you, have a nice day. -bezos -- 
Vijay Gill--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tomcat or Jetty?

2013-03-15 Thread Jody Garnett
Part of the point of using Java Enterprise Edition is to remain independent 
from these choices (i.e. it should be up to you, or your IT department, what 
they want to take the trouble to maintain). 

Traditionally Jetty has focused on being a good embeddable component 
(applications such as Eclipse use it to host local html files for online 
help). It has recently grown up and supports all manner of crazy things such 
as SPDY, use on google app engine and so on.

Tomcat has always been presented as standalone web server, and being far more 
popular there is more documentation available on how to deploy it.

But yeah, just take it on cost (both a free but it may be less hassle getting 
one up and going in your your it environment).

Cheers
-- 
Jody Garnett


On Friday, 15 March 2013 at 9:44 PM, Jonathan Moules wrote:

 Hi List,
   So, simple question: Should we stick with the default Jetty or go with 
 Tomcat instead, and more importantly - why? We're going to be using it on a 
 Windows Server 2008 R2.
 What do other folks use? As Jetty already-works for us, is there a reason to 
 justify spending the time swapping to a unfamiliar package?
 
 I'm surprised this hasn't been asked more often - a search of the archives 
 only found it once and the answer was simply use tomcat with no explanation 
 of why.
 Cheers,
 Jonathan
 
 
 This transmission is intended for the named addressee(s) only and may contain 
 sensitive or protectively marked material up to RESTRICTED and should be 
 handled accordingly. Unless you are the named addressee (or authorised to 
 receive it for the addressee) you may not copy or use it, or disclose it to 
 anyone else. If you have received this transmission in error please notify 
 the sender immediately. All email traffic sent to or from us, including 
 without limitation all GCSX traffic, may be subject to recording and/or 
 monitoring in accordance with relevant legislation.
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net 
 (mailto:Geoserver-users@lists.sourceforge.net)
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 
 


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] mobile editing application?

2013-03-15 Thread Jody Garnett
There are only a handful of open source mobile apps around (if that is what you 
are looking for). gvSig mobile (not sure if that is active), geopaparazzi, 
grass mobile (pretty sure that is not active).

Deploying mobile apps is a very hot area of GIS, following the trade magazines 
show new apps and SDKs released each month. It comes across as quite desperate 
...

You may wish to contact one of the organisations offering GeoServer commercial 
support (http://geoserver.org/display/GEOS/Commercial+Support) to look in your 
requirements and make a recommendation. 

Jody--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users