Re: [Geoserver-users] Upload SLD style with png file

2010-09-10 Thread Andrea Aime
Thinking out loud, and assuming that whoever needs this functionality
gets down on the keyboard and writes a patch, what about having the
REST api accept a "bundle", a zip file containing both the sld and
whatever other file (images, fonts) necessary to display it? The file
would be unzipped directly in the styles directory, the .sld file in
it configured as a style. Maybe with a flag to overwrite potential
existing same named resources.

Cheers
Andrea

On Fri, Sep 10, 2010 at 8:07 PM, David Winslow  wrote:
> REST doesn't handle this.  I am not sure, but the FTP community module may
> allow you to upload pngs to the styles/ directory; otherwise I think you
> will need to set up some file transfer of your own to allow PNG uploads.
>  You can download a nightly build of the FTP module from
> http://gridlock.opengeo.org/geoserver/2.0.x/community-latest/ but as far as
> I know there is no written documentation of the module yet.
> Hope this helps.
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> On Mon, Sep 6, 2010 at 10:52 AM, kfogiel  wrote:
>>
>> I have managed to upload SLD style file with REST's api. How can I
>> attached png file used in style?
>>
>>
>> --
>> Automate Storage Tiering Simply
>> Optimize IT performance and efficiency through flexible, powerful,
>> automated storage tiering capabilities. View this brief to learn how
>> you can reduce costs and improve performance.
>> http://p.sf.net/sfu/dell-sfdev2dev
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Loading new data into a heavy Geoserver takes very long

2010-09-10 Thread Luca Morandini
On 09/08/2010 04:46 PM, Joaquín Rodriguez-Guerra Urcelay wrote:
>
> I am really worried about the time that is taking to load new data into
> geoserver and maybe you guys can help me out with some parameters or
> configurations.
>
> I have been inserting a TIF file and 2 SHAPEFILES every 15 minutes in my
> geoserver during the last month automatically using REST. At first the
> operation was taking maybe 10 seconds, but right now at this point it is 
> taking
> more thatn 2 minutes to insert each file. I think this is not a REST issue,
> since inserting a TIF file manually following these steps is taking (after
> almost 1 files were inserted in geoserver) 2 minutes:

As of now, the Geoserver file-based catalog is not meant for a large number of 
entries, especially when feature types are concerned.

One workaround may be the setting of the cached feature types  to the number of 
feature types expected to be loaded, please refer to the "global settings" 
admin 
page (this feature has been there since 2.0.2, so you may need to upgrade).

Regards,

Luca Morandini
[GIS, IT, Statistics]
[http://www.lucamorandini.it]


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Upload SLD style with png file

2010-09-10 Thread David Winslow
REST doesn't handle this.  I am not sure, but the FTP community module may
allow you to upload pngs to the styles/ directory; otherwise I think you
will need to set up some file transfer of your own to allow PNG uploads.
 You can download a nightly build of the FTP module from
http://gridlock.opengeo.org/geoserver/2.0.x/community-latest/ but as far as
I know there is no written documentation of the module yet.

Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Sep 6, 2010 at 10:52 AM, kfogiel  wrote:

> I have managed to upload SLD style file with REST's api. How can I attached
> png file used in style?
>
>
> --
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] app-schema: 2 namespaces in one : how to?

2010-09-10 Thread babsip

Hi Ryan,

yes, it helped indeed, thank you so much for your hint! I created a brand
new workspace for the namespace "gn" (= the "inner" one) and now it works! I
was looking at the documentation that came with GeoServer instead of online
- and it didn't have this info about secondary namespaces yet...

Barbara 


Ryan Clark wrote:
> 
> Hi there!
> 
> I ran into exactly this problem myself. You need to create another folder
> in
> your workspaces directory for the other namespace.
> 
> Here's some more information:
> http://old.nabble.com/Re:-App-schema-and-GeoSciML-3.0:-cgu:CGI_Term-p2934174
> 5.html
> 
> http://docs.geoserver.org/stable/en/user/data/app-schema/secondary-namespace
> s.html
> 
> Hope this helps!
> Ryan
> 
> 

-- 
View this message in context: 
http://old.nabble.com/app-schema%3A-2-namespaces-in-one-%3CtargetAttribute%3E%3A-how-to--tp29675596p29678958.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Loading new data into a heavy Geoserver takes very long

2010-09-10 Thread Simone Giannecchini
Ciao Joaquin,
questions:

- are these tif images part of a time series?
- are these shapefiles part of a time series?
- would it be a problem for you to use a 2.1 nightly version of the
GeoServer for your work?


Ciao,
Simone.
---
===
Notice that our office phone number has recently changed!
Please, update your records!
===
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584962313
fax:      +39 0584962313
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

---



2010/9/8 Joaquín Rodriguez-Guerra Urcelay :
> Dear all,
>
> I am really worried about the time that is taking to load new data into 
> geoserver and maybe you guys can help me out with some parameters or 
> configurations.
>
> I have been inserting a TIF file and 2 SHAPEFILES every 15 minutes in my 
> geoserver during the last month automatically using REST. At first the 
> operation was taking maybe 10 seconds, but right now at this point it is 
> taking more thatn 2 minutes to insert each file. I think this is not a REST 
> issue, since inserting a TIF file manually following these steps is taking 
> (after almost 1 files were inserted in geoserver) 2 minutes:
>
> - Go to http://localhost:8082/geoserver/config/data/format.do (Coverage Data 
> Set Configuration )
> - Click on New and add a new tif file ( this step does not take more than 5 
> seconds)
> - Click on apply (this takes almost a minute)
> - Click on save ( this takes almost a minute)
>
> I really dont know know what to do, maybe removing some of the oldest 
> shapefiles would lower the loading time?  but my boss would kill me. Do you 
> know any configuration or parameters, or maybe some script I might run to 
> cleanup things? I am right now running geoserver from tomcat with the 
> following parameters
>
> CATALINA_OPTS="-Duser.timezone=Europe/Madrid -Xms512m -Xmx1024m 
> -XX:PermSize=256m -XX:MaxPermSize=256m"
>
> The machine has 8GB of RAM and 4 processors , is it a good idea to increase 
> the value of PermSize parameters?
>
> I'd really appreciate any idea you can have! Thank you for your time!
>
> Joaquín Rodríguez-Guerra Urcelay
>
> Unidad de Sistemas de Procesamiento de Ciencia y de Observación de la Tierra 
> / Science and Earth Observing Processing Systems Unit
>
> GMV AEROSPACE AND DEFENCE, S.A.
> Isaac Newton, 11
> P.T.M. Tres Cantos
> E-28760 Madrid
> Tel. +34 91 807 21 00 / 7694
> Fax +34 91 807 21 99
> www.gmv.com
> __
> This message including any attachments may contain confidential
> information, according to our Information Security Management System,
>  and intended solely for a specific individual to whom they are addressed.
>  Any unauthorised copy, disclosure or distribution of this message
>  is strictly forbidden. If you have received this transmission in error,
>  please notify the sender immediately and delete it.
>
> __
> Este mensaje, y en su caso, cualquier fichero anexo al mismo,
>  puede contener informacion clasificada por su emisor como confidencial
>  en el marco de su Sistema de Gestion de Seguridad de la
> Informacion siendo para uso exclusivo del destinatario, quedando
> prohibida su divulgacion copia o distribucion a terceros sin la
> autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
>  erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
> Gracias por su colaboracion.
>
> __
>
>
> --
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Create an warmth (like an dem/altitude) map, from postgis

2010-09-10 Thread Eduard Witteveen (Horus surround vision)
Dear all,

I have a postgis database with points, which have an value of their
energy provided. This energy decreases over the distance. I want to
visualize this information the same way as an altitude (dem) map in
geoserver, where red is much warmth(energy) and blue is "cold".

For sample purpose i here by provided a small sample of what my data is
and what kind of result i like to have. For this sample i assume that
the energy decreases every step, and is added with the other value at
that point.

Point data (digit represents the strength, a X is no data at that point)
X X X X X X X X
X 2 X X X X X X
X X X 2 X X X X
X X X X X X X X
X 4 X X X 1 X X
X X X X X X X X
X X X X 2 X X X

Would have to generate a matrix like the following (based upon the
above, simplified funtion):
1 1 1 0 0 0 0 0
2 3 3 2 2 0 0 0
3 3 4 4 2 0 0 0
3 3 4 3 2 0 0 0
3 4 3 2 1 1 0 0
3 3 3 3 2 1 0 0
2 2 2 3 3 1 0 0

Which would be colored by a thematic style, where 0 would be color blue
and the value 4 red (in gradients).

Can anyone give me pointers how to achieve this? Furthermore could write
code to write create a dem file from the data in the postgis database,
but due to the dynamic nature of the website i really like to know what
my options are.

I also have an url, pointing to a (google-images found) image, giving an
impression of what i'm trying to achieve.
 
ps: formatting due to emailclient

Please let me know,

Eduard Witteveen


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] app-schema: 2 namespaces in one : how to?

2010-09-10 Thread Ryan Clark
Hi there!

I ran into exactly this problem myself. You need to create another folder in
your workspaces directory for the other namespace.

Here's some more information:
http://old.nabble.com/Re:-App-schema-and-GeoSciML-3.0:-cgu:CGI_Term-p2934174
5.html

http://docs.geoserver.org/stable/en/user/data/app-schema/secondary-namespace
s.html

Hope this helps!
Ryan




-Original Message-
From: babsip [mailto:babsi...@hotmail.com] 
Sent: Friday, September 10, 2010 3:53 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] app-schema: 2 namespaces in one
: how to?


Hi,

in app-schema I need to return a complex feature via WFS that uses XSD-files
with different namespaces. I need to show elements from the "inner" XSD in
the WFS-result.
 
2 XSD files with different namespaces:
* "ProtectedSitesFull_MU.xsd", namespace: "ps" (=  for WFS)
* "GeographicalNamesMU.xsd", namespace: "gn" (= "inner" XSD, used by "ps")

The  "ps:ProtectedSite" is defined in "ps". It includes type
"GeographicalName", which is defined in "gn". I need to explicitly show
"GeographicalName" and some sub-elements (all defined in "gn") in the
WFS-result. Here is how I tried to do this in the mapping-file:


ps:siteName/gn:GeographicalName


GeoServer does not report an error, but delivers a malformed XML-document:
instead of namespace "gn:" it's "null:". Here is part of the result returned
by GeoServer:


  

  

  

  


My questions are:

1. How do I map nested types of different namespaces in ?
2. Tag  in mapping-file: do I need a separate  for
every URI? Or should I put them all into one ? (example see
below)

I'm using GeoServer 2.0.2 with the appropriate app-schema.

Here are snippets of some of the XSDs and the mapping file (I have attached
everything as ZIP-files in case anybody feels like looking at the whole
thing... You will see many parts commented out in the mapping - that was to
reduce the output)

==

ProtectedSitesFull_MU.xsd
-
http://www.w3.org/2001/XMLSchema"; 
  xmlns:ps="http://www.opengeospatial.net/ps"; 
  . . .
  xmlns:gn="http://www.opengeospatial-gmlas.net/gn";
  elementFormDefault="qualified" 
  targetNamespace="http://www.opengeospatial.net/ps";>
  
  . . .
  http://www.opengeospatial-gmlas.net/gn";
schemaLocation="http://www.opengeospatial-gmlas.net/gn/GeographicalNamesMU.x
sd"/>

  
  
  
   
 
...
  
   
  

  

  ...  
  
  
 

  
  ...
  
  
  ...
 

GeographicalNamesMU.xsd
-
http://www.w3.org/2001/XMLSchema"; 
  xmlns:gn="http://www.opengeospatial-gmlas.net/gn"; 
  ...
  elementFormDefault="qualified" 
  targetNamespace="http://www.opengeospatial-gmlas.net/gn";>
  ...
  
  ...


protected_sites_1.xml (Mapping-file)
-
...

  ...
  
gn
  http://www.opengeospatial-gmlas.net/gn
  

...
../../../../schemas/ProtectedSitesMU/catalog.xml
...


   
http://www.opengeospatial.net/ps/ProtectedSitesFull_MU.xsd


   
http://www.opengeospatial-gmlas.net/gn/GeographicalNamesMU.xsd


...
ps:ProtectedSite
...
  


ps:siteName


''






ps:siteName/gn:GeographicalName


''


...

catalog.xml (OASIS-catalog)
---

http://www.opengeospatial.net/ps";
rewritePrefix="INSPIRE/" />
...  
http://www.opengeospatial-gmlas.net/gn";
rewritePrefix="INSPIRE/" /> 


Attachments:
-
complete workspace:  http://old.nabble.com/file/p29675596/ps_folder.zip
ps_folder.zip
XSD-files:  http://old.nabble.com/file/p29675596/schemas.zip schemas.zip 

--
View this message in context:
http://old.nabble.com/app-schema%3A-2-namespaces-in-one-%3CtargetAttribute%3
E%3A-how-to--tp29675596p29675596.html
Sent from the GeoServer - User mailing list archive at Nabble.com.



--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Automate Storage Tiering Simply

[Geoserver-users] Upload SLD style with png file

2010-09-10 Thread kfogiel
I have managed to upload SLD style file with REST's api. How can I attached png 
file used in style?

--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Labeling a "static text" ie. not xyz

2010-09-10 Thread anders.soder...@gisassistans.se

Thanks everybody.   Stockholm Aug 30
(I´ve been i NY for ten days) 
This will help me make userfriendly WMS-maps. 
Regards Anders Söderman Sweden

-- 
View this message in context: 
http://old.nabble.com/Labeling-a-%22static-text%22-ie.-not-%3Cogc%3APropertyName%3Exyz%3C-ogc%3APropertyName%3E-tp29420204p29574315.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ArcSDE 9.0 on Geoserver 2.0.2

2010-09-10 Thread Javier Rojas Jiménez
Hi Gabriel,

thanks for your help. I will give a try the 9.2 jars and give you  
feedback about it.

Regards,
Javier


El 30/08/2010, a las 0:35, Gabriel Roldan escribió:

> Hi Javier,
>
> Unfortunately we don't have the resources to support ArcSDE 9.0.  
> Currently GeoServer supports 9.2 and 9.3. ArcSDE 10 support is  
> coming (meaning I haven't yet a chance to try it out but if  
> everything goes well it should work out of the box).
>
> Using the 9.2 jars to hit a 9.0 instance is _unsupported_, though  
> experience shows that newer ESRI jars _usually_ work with older  
> server versions, but take into account that's not recommended by ESRI.
>
> That said, feel free to experiment as much as possible and let us  
> know if the plugin works well with the 9.2 jars and a 9.0 instance,  
> as long as you keep in mind that's not supported at all and you're  
> at your own risk (well, you're anyways, no liability is applicable  
> to the geosevrer developers, nor it is to ESRI if an ESRI product  
> breaks something or corrupts your data? I may be wrong).
>
> Cheers,
> Gabriel
>
> On Aug 27, 2010, at 3:59 AM, Javier Rojas Jiménez wrote:
>
>> Good morning,
>>
>> I'm trying to integrate Geoserver with ArcSDE 9.0, but I'm having  
>> problems with latest ArcSDE plugin of geoserver (geoserver-2.0.2- 
>> arcsde-plugin) when creating SDE DataStores 
>> (http://docs.codehaus.org/display/GEOTDOC/ArcSDE+DataStore 
>> ).
>>
>> The error I get from the administration interface is this:
>>
>> "Error creating data store, check the parameters. Error message:  
>> Could not create a validated object, cause:  
>> com.esri.sde.sdk.client.SeConnection.getTimeSinceLastRT()"
>>
>> I made a simple java program to check the connection properties,  
>> and everything was ok, but when I tried the method which fails  
>> (getTimeSinceLastRT()), I discovered that it wasn't present in  
>> class SeConnection of ArcSDE 9.0 SDK.  After that, I downloaded  
>> ArcSDE 9.2 SDK, and I managed to get it working, but I suppose this  
>> is not the best solution (I don't know if the library si backwards  
>> compatible).
>>
>> Has anyone experienced similar problems?
>>
>> Thanks in advance,
>> Javier
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook  
>> users
>> worldwide. Take advantage of special opportunities to increase  
>> revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> Gabriel Roldan
> grol...@opengeo.org
> Expert service straight from the developers
>


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Installing GEOSERVER WINDOWS 7

2010-09-10 Thread Howard Yamaguchi

I just joined this forum and thanks to the hints posts above, I was able to
install GeoServer 2.0.2 on a Windows 7 system this evening.

The problem for me was as follows:

1.  The GEOSERVER_HOME environment variable was set by the installer to
"C:\Program Files (x86)\GeoServer 2.0.1" .  I changed this to "...\GeoServer
2.0.2" .

2.  The JAVA_HOME environment and system variables were pointing to an
earlier update of the Java Runtime Environment.  (This was probably my
fault, because I hadn't uninstalled the earlier updates.)  I changed the
path to the most recent update from Oracle.[I'm not sure if this was
100% necessary, though.]

3.  The "wrapper.log" file was complaining (Fatal Error) that some of the
"dll" files were not accessible, even though they were found where they were
supposed to be.  I changed the permissions for the "C:\Program Files
(x86)\GeoServer 2.0.2" folder so that they would be more accessible.

I also set GeoServer to load as a Windows service.

These changes seem to have done the trick.  I can now access GeoServer on my
browser.

Howard Yamaguchi


Mike Pumphrey-2 wrote:
> 
> Jon,
> 
> What did you need to change to get things working on W7?  If you're using
> the Windows installer, and permissions are not being set correctly, please
> file a JIRA for it, and I'll see what I can do.
> 
> Thanks,
> Mike Pumphrey
> OpenGeo - http://opengeo.org
> 
-- 
View this message in context: 
http://old.nabble.com/Installing-GEOSERVER-WINDOWS-7-tp27366730p29568574.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Display PostGIS data on Geoserver wms layer

2010-09-10 Thread elshae

Hello all,

I apologize if this has already been posted and answered, but my searching
through the forum didn't yield me the results I was looking for.  I have
finally learned how to upload geometry data from my PostGIS database to
Geoserver and display the resulting layers correctly.  However, I do not
just want to display the points or polygons, but would like to query my
database for other things such as location names and also display that info
on my layer in Geoserver.  I have been searching for this for awhile, but I
do not really understand where/how to begin.

Thank you very much,

elshae 
-- 
View this message in context: 
http://old.nabble.com/Display-PostGIS-data-on-Geoserver-wms-layer-tp29671124p29671124.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Loading new data into a heavy Geoserver takes very long

2010-09-10 Thread Joaquín Rodriguez-Guerra Urcelay
Dear all,

I am really worried about the time that is taking to load new data into 
geoserver and maybe you guys can help me out with some parameters or 
configurations.

I have been inserting a TIF file and 2 SHAPEFILES every 15 minutes in my 
geoserver during the last month automatically using REST. At first the 
operation was taking maybe 10 seconds, but right now at this point it is taking 
more thatn 2 minutes to insert each file. I think this is not a REST issue, 
since inserting a TIF file manually following these steps is taking (after 
almost 1 files were inserted in geoserver) 2 minutes:

- Go to http://localhost:8082/geoserver/config/data/format.do (Coverage Data 
Set Configuration )
- Click on New and add a new tif file ( this step does not take more than 5 
seconds)
- Click on apply (this takes almost a minute)
- Click on save ( this takes almost a minute)

I really dont know know what to do, maybe removing some of the oldest 
shapefiles would lower the loading time?  but my boss would kill me. Do you 
know any configuration or parameters, or maybe some script I might run to 
cleanup things? I am right now running geoserver from tomcat with the following 
parameters 

CATALINA_OPTS="-Duser.timezone=Europe/Madrid -Xms512m -Xmx1024m 
-XX:PermSize=256m -XX:MaxPermSize=256m"

The machine has 8GB of RAM and 4 processors , is it a good idea to increase the 
value of PermSize parameters?

I'd really appreciate any idea you can have! Thank you for your time!

Joaquín Rodríguez-Guerra Urcelay

Unidad de Sistemas de Procesamiento de Ciencia y de Observación de la Tierra / 
Science and Earth Observing Processing Systems Unit

GMV AEROSPACE AND DEFENCE, S.A.
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 21 00 / 7694
Fax +34 91 807 21 99
www.gmv.com
__
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

__
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

__


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Reduce the loading time of new data into a heavy Geoserver

2010-09-10 Thread Joaquín Rodriguez-Guerra Urcelay
Dear all,

I am really worried about the time that is taking to load new data into 
geoserver and maybe you guys can help me out with some parameters or 
configurations.

I have been inserting a TIF file and 2 SHAPEFILES every 15 minutes in my 
geoserver during the last month automatically using REST. At first the 
operation was taking maybe 10 seconds, but right now at this point it is taking 
more thatn 2 minutes to insert each file. I think this is not a REST issue, 
since inserting a TIF file manually using the user interface following these 
steps is taking (after almost 1 files were inserted in geoserver) 2 minutes:

- Go to http://localhost:8082/geoserver/config/data/format.do (Coverage Data 
Set Configuration )
- Click on New and add a new tif file ( this step does not take more than 5 
seconds)
- Click on apply (this takes almost a minute)
- Click on save ( this takes almost a minute)

I really dont know know what to do, maybe removing some of the oldest 
shapefiles would lower the loading time?  but my boss would kill me. Do you 
know any configuration or parameters, or maybe some script I might run to 
cleanup things? I am right now running geoserver from tomcat with the following 
parameters

CATALINA_OPTS="-Duser.timezone=Europe/Madrid -Xms512m -Xmx1024m 
-XX:PermSize=256m -XX:MaxPermSize=256m"

The machine has 8GB of RAM and 4 processors , would it make any difference to 
increase the value of PermSize parameters?

I'd really appreciate any idea you share!! Thank you for your time!

Joaquín Rodríguez-Guerra Urcelay


__
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

__
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

__


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WPS and Sextante

2010-09-10 Thread Andrea Aime
Hi,
the Sextante integration is still being worked on, I have it partially
working on my machine but I would
not rely on it just yet. I hope to perform the last fixes in the next
weeks and make it available (spare time allowing).
Anyways, if you want to try it out you can download a nightly build of
both GeoServer and the WPS
plugin:
http://gridlock.openplans.org/geoserver/trunk/community-latest/

Cheers
Andrea

On Fri, Sep 10, 2010 at 4:20 PM, Martin Jensen
 wrote:
> I am testing the new WPS which is really great. It comes with some JTS and
> Geotools porcesses. How do I enable the Sextante Algorithms ?
>
> --
> Med venlig hilsen
>
> Martin Bjærge Jensen
>
> --
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geotools-gt2-users] gt-wfs plug in issue and geoserver

2010-09-10 Thread Roman Isitua
Hi,
Here's the geoserver log. is this configuration wrong ? How can I correct it ? 
My intention is to get gml2 from geoserver. How can I correct it in geoserver ? 
10 Sep 15:31:08 INFO [geoserver.wfs] -Request: getServiceInfo10 Sep 15:31:09 
INFO [geoserver.wfs] -Request: getCapabilities        acceptVersions:           
     version = [1.0.0]        sections = null        acceptFormats = null       
 updateSequence = null        baseUrl = http://localhost:8080/geoserver/        
namespace = null        service = WFS10 Sep 15:31:10 INFO [geoserver.wfs] 
-Request: getServiceInfo10 Sep 15:31:10 INFO [geoserver.wfs] -Request: 
describeFeatureType        handle = null        service = WFS        version = 
1.0.0        baseUrl = http://localhost:8080/geoserver/        providedVersion 
= null        typeName = [{topp}enugu_adm]        outputFormat = XMLSCHEMA

 Subsequent request are as follows:

Request: getServiceInfo10 Sep 15:38:08 INFO [geoserver.wfs] -Request: 
getFeature        handle = null        service = WFS        version = 1.0.0     
   baseUrl = http://localhost:8080/geoserver/        providedVersion = null     
   query = [net.opengis.wfs.impl.querytypei...@1d33244 (group: null, 
propertyName: null, function: null, filter: [[ topp:the_geom bbox POLYGON 
((6.969 5.928, 6.969 7.0997446153846155, 7.919455384615385 7.0997446153846155, 
7.919455384615385 5.928, 6.969 5.928)) ] AND [ topp:the_geom intersects POLYGON 
((6.969 5.928, 6.969 7.098, 7.9195 7.098, 7.9195 5.928, 
6.969 5.928)) ]], sortBy: null, featureVersion: null, handle: null, srsName: 
null, typeName:[{topp}enugu_adm])]        maxFeatures = null        
outputFormat = GML2        resultType = results        traverseXlinkDepth = 
null        traverseXlinkExpiry = null        formatOptions = {}10 Sep
 15:38:08 INFO [geoserver.wfs] -
--- On Thu, 9/9/10, Jody Garnett  wrote:

From: Jody Garnett 
Subject: Re: [Geotools-gt2-users] gt-wfs plug in issue
To: "Roman Isitua" 
Cc: "geotools user mailing list" 
Date: Thursday, September 9, 2010, 11:03 PM

Have a look at the geoserver logs; it should be making a couple of requests; 
getCapabilities; describeFeatureType
And then for each request it often uses getFeatures and describeFeatureType 
(for the schema). You may have run into a geoserver configuration issue; as as 
part of the getFeatures response ( a gml document) it refers to the schema 
(which is a call to describeFeatureType from the same server).  Please check 
your getFeatures result using the geoserver demo requests just to be sure it 
works correctly and refers to the schema correctly. 
And yes please update the wiki example.
Jody
On 09/09/2010, at 1:14 AM, Roman Isitua wrote:
Hello everyone,
I am developing an application that uses the geomajas web gis framework. The 
application is supposed to access vector datafrom geoserver through wfs. 
Geomajas uses the geotools wfs plugin to talk to geoserver wfs. I have 
configured my stores and layers properly in geoserver. My data uses the topp 
workspace.
I got the following error while trying to use it

10:19:20.971 [btpool0-4] INFO  o.g.i.service.CommandDispatcherImpl - 8 execute 
command command.render.GetVectorTile for user token null in locale default, 
request GetVectorTileRequest{code=0-0-0, layerId=topp:enugu_adm, crs=EPSG:4326, 
scale=275.65733672603903, panOrigin=(7.4135001, 6.48950005), 
filter='null', crs='EPSG:4326', renderer='SVG',
 styleinfo=org.geomajas.configuration.namedstylei...@1eed1f4, 
paintGeometries=true, paintLabels=false, featureIncludes=12}10:19:20.974 
[btpool0-4] INFO  o.g.c.render.GetVectorTileCommand - request start layer 
topp:enugu_adm, crs EPSG:4326[ERROR]Sep 7, 2010 10:19:22 AM 
org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy 
createFeatureReaderPOST[ERROR]WARNING: java.io.IOException: 
java.net.UnknownHostException: www.openplans.org[ERROR]Sep 7, 2010 10:19:22 AM 
org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy 
createFeatureReaderPOST[ERROR]WARNING: java.io.IOException: 
java.net.UnknownHostException: www.openplans.org[ERROR]Sep 7, 2010 10:19:23 AM 
org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy 
createFeatureReaderGET[ERROR]WARNING: java.io.IOException: 
java.net.UnknownHostException: www.openplans.org10:19:24.049 [btpool0-4] ERROR 
o.g.i.service.CommandDispatcherImpl -
 Error executing commandjava.util.NoSuchElementException: Could not aquire 
feature:java.io.IOException: java.net.UnknownHostException: www.openplans.org   
     at 
org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:56) 
~[gt-main-2.6.3.jar:na]        at 
org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:41) 
~[gt-main-2.6.3.jar:na]        at 
org.geomajas.internal.layer.vector.GetFeaturesEachStep.execute(GetFeaturesEachStep.java:94)
 ~[geomajas-impl-1.7.1.jar:1.7.1]        at 
org.geomajas.internal.layer.vector.GetFeaturesEachStep.execute(GetFeaturesEachStep.java:61)
 ~[geomajas-impl-1.7.1.jar:1.7.1]   

[Geoserver-users] WPS and Sextante

2010-09-10 Thread Martin Jensen
I am testing the new WPS which is really great. It comes with some JTS and
Geotools porcesses. How do I enable the Sextante Algorithms ?

-- 
Med venlig hilsen

Martin Bjærge Jensen
--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] app-schema: 2 namespaces in one : how to?

2010-09-10 Thread babsip

Hi,

in app-schema I need to return a complex feature via WFS that uses XSD-files
with different namespaces. I need to show elements from the "inner" XSD in
the WFS-result.
 
2 XSD files with different namespaces:
* "ProtectedSitesFull_MU.xsd", namespace: "ps" (=  for WFS)
* "GeographicalNamesMU.xsd", namespace: "gn" (= "inner" XSD, used by "ps")

The  "ps:ProtectedSite" is defined in "ps". It includes type
"GeographicalName", which is defined in "gn". I need to explicitly show
"GeographicalName" and some sub-elements (all defined in "gn") in the
WFS-result. Here is how I tried to do this in the mapping-file:


ps:siteName/gn:GeographicalName


GeoServer does not report an error, but delivers a malformed XML-document:
instead of namespace "gn:" it's "null:". Here is part of the result returned
by GeoServer:


  

  

  

  


My questions are:

1. How do I map nested types of different namespaces in ?
2. Tag  in mapping-file: do I need a separate  for
every URI? Or should I put them all into one ? (example see
below)

I'm using GeoServer 2.0.2 with the appropriate app-schema.

Here are snippets of some of the XSDs and the mapping file (I have attached
everything as ZIP-files in case anybody feels like looking at the whole
thing... You will see many parts commented out in the mapping - that was to
reduce the output)
==

ProtectedSitesFull_MU.xsd
-
http://www.w3.org/2001/XMLSchema"; 
  xmlns:ps="http://www.opengeospatial.net/ps"; 
  . . .
  xmlns:gn="http://www.opengeospatial-gmlas.net/gn";
  elementFormDefault="qualified" 
  targetNamespace="http://www.opengeospatial.net/ps";>
  
  . . .
  http://www.opengeospatial-gmlas.net/gn";
schemaLocation="http://www.opengeospatial-gmlas.net/gn/GeographicalNamesMU.xsd"/>

  
  
  
   
 
...
  
   
  

  

  ...  
  
  
 

  
  ...
  
  
  ...
 

GeographicalNamesMU.xsd
-
http://www.w3.org/2001/XMLSchema"; 
  xmlns:gn="http://www.opengeospatial-gmlas.net/gn"; 
  ...
  elementFormDefault="qualified" 
  targetNamespace="http://www.opengeospatial-gmlas.net/gn";>
  ...
  
  ...


protected_sites_1.xml (Mapping-file)
-
...

  ...
  
gn
  http://www.opengeospatial-gmlas.net/gn
  

...
../../../../schemas/ProtectedSitesMU/catalog.xml
...


   
http://www.opengeospatial.net/ps/ProtectedSitesFull_MU.xsd


   
http://www.opengeospatial-gmlas.net/gn/GeographicalNamesMU.xsd


...
ps:ProtectedSite
...
  


ps:siteName


''






ps:siteName/gn:GeographicalName


''

  
...

catalog.xml (OASIS-catalog)
---

http://www.opengeospatial.net/ps";
rewritePrefix="INSPIRE/" />
...  
http://www.opengeospatial-gmlas.net/gn";
rewritePrefix="INSPIRE/" /> 


Attachments:
-
complete workspace:  http://old.nabble.com/file/p29675596/ps_folder.zip
ps_folder.zip 
XSD-files:  http://old.nabble.com/file/p29675596/schemas.zip schemas.zip 

-- 
View this message in context: 
http://old.nabble.com/app-schema%3A-2-namespaces-in-one-%3CtargetAttribute%3E%3A-how-to--tp29675596p29675596.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 2.1beta1 SQL View Errors on edit NPE

2010-09-10 Thread farouk alhassan
Hi all,
i created this sql view layer and it worked fine in preview

SELECT 
st_union(the_geom),
file_name
  FROM district_borough_unitary_region
  group by file_name

Now I want to modify it to this

SELECT 
ST_Multi(ST_Union(the_geom)),
file_name
  FROM district_borough_unitary_region
  group by file_name

But its throwing execptions with this stacktrace, [Notce the NPE as the cause]


org.apache.wicket.WicketRuntimeException: Error attaching this container
 for rendering: [MarkupContainer [Component id = attributePanel]]
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1602)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:147)

at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.onBeforeRender(TabbedPanel.java:205)

at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1590)

at org.apache.wicket.Component.onBeforeRender(Component.java:3727)
at org.apache.wicket.Page.onBeforeRender(Page.java:1458)
at 
org.apache.wicket.Component.internalBeforeRender(Component.java:1009)
at org.apache.wicket.Component.beforeRender(Component.java:1041)
at org.apache.wicket.Component.prepareForRender(Component.java:2167)
at org.apache.wicket.Page.renderPage(Page.java:892)
at 
org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:163)

at 
org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:58)

at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)

at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1245)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:532)
at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)

at 
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:145)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)

at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at