[Geoserver-users] Problems when displaying layer as OGR-KML, but not as KMZ...

2010-08-12 Thread Stefan Schwarzer
Hi there,

I've uploaded a shapefile into geoserver. Now, when I click on the Layer 
Preview - my_layer - KML, which in fact produces a KMZ, then the display in 
GoogleEarth is correct. When I however use the OGR-KML option from the 
drop-down menu next to it, the display in GoogleEarth is completely screwed up 
- it's zooming back to 0°/0° and displaying lots of tiny bits of lines... Very 
strange.

Anyone could give me a tip why this is?

Thanks a lot,

Stefan
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoXACML

2010-08-12 Thread christian . mueller
First, please also post to the mailing list to keep others informed  
and to get useful
hints.

About GeoXACML

The current GeoXACML implementation is a community module and is not  
official part of
geoserver.
The implementation itself is ready, but  at the moment there is no  
integration into
geoserver.

Due to lack of time at the moment, I cannot push on this topic, for  
the moment you cannot
use GeoXACML with geoserver.

Sorry for the bad news
Cheers
Christian

Quoting ?? gis...@gmail.com:

-
Dear Christian

Could you tell me the steps to implement GeoXACML access control in
Geoserver? I am very puzzled now, and I really need your suggestions. I am
looking forward to your kind reply.Thank you for your time.

  Yours Michale


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



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Security restrictions for www/static file hosting (GEOS-3951)

2010-08-12 Thread Tony Stewart
I did not realise that applying the GEOS-3951 patch was as simple as using
7-zip to open main-2.0.2.jar, editing the imbedded xml file, and saving. It
seems to work.
 
Will do some more testing.
 
Tony
 

 

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Big javascript files get chopped of when using ReverseProxyFilter in GS 2.0.2

2010-08-12 Thread Oliver May

Hi,

I think I have fixed it in my local test by adding
   response.setCharacterEncoding(wrapper.getCharacterEncoding());

*before*
   PrintWriter writer = response.getWriter();
in ReverseProxyFilter.java

kind regards, 


Oliver May


Oliver May wrote:

Hi all,

It seems that the ReverseProxyFilter is not behaving like it should. 
When I fetch a big javascript (or xml) file from the geoserver the end 
of the file is chopped of. For example, when requesting 
geoserver/openlayers/OpenLayers.js, the lats characters that are 
returned are:

...guments);},CLASS_NAME:OpenLayers.Laye

However, when viewing the file the last two lines are:
obj=OpenLayers.Layer.Grid.prototype.clone.apply(this,[obj]);return 
obj;},getURL:function(bounds){bounds=this.adjustBounds(bounds);var 
imageSize=this.getImageSize();var 
newParams={'BBOX':this.encodeBBOX?bounds.toBBOX():bounds.toArray(),'WIDTH':imageSize.w,'HEIGHT':imageSize.h};var
 requestString=this.getFullRequestString(newParams);return 
requestString;},addTile:function(bounds,position){return new 
OpenLayers.Tile.Image(this,position,bounds,null,this.tileSize);},mergeNewParams:function(newParams){var
 upperParams=OpenLayers.Util.upperCaseObject(newParams);var newArguments=[upperParams];return 
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this,newArguments);},getFullRequestString:function(newParams,altUrl){var
 
projectionCode=this.map.getProjection();this.params.SRS=(projectionCode==none)?null:projectionCode;return
 
OpenLayers.Layer.Grid.prototype.getFullRequestString.apply(this,arguments);},CLASS_NAME:OpenLayers.Layer.WMS});OpenLayers.Layer.WMS.Untiled=OpenLayers.Class(

OpenLayers.Layer.WMS,{singleTile:true,initialize:function(name,url,params,options){OpenLayers.Layer.WMS.prototype.initialize.apply(this,arguments);var
 msg=The OpenLayers.Layer.WMS.Untiled class is deprecated and +will be removed in 3.0. Instead, you 
should use the +normal OpenLayers.Layer.WMS class, passing it the option +'singleTile' as 
true.;OpenLayers.Console.warn(msg);},clone:function(obj){if(obj==null){obj=new 
OpenLayers.Layer.WMS.Untiled(this.name,this.url,this.params,this.options);}
obj=OpenLayers.Layer.WMS.prototype.clone.apply(this,[obj]);return 
obj;},CLASS_NAME:OpenLayers.Layer.WMS.Untiled});

Meaning there are 675 characters missing (which is btw the amount of lines in 
the file).

I tried both on our production machine :
$ java -version
java version 1.6.0_21
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
$ uname -a
Linux s158562 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 
x86_64 GNU/Linux

and on my personal computer:
$ java -version
java version 1.6.0_20
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
$ uname -a
Linux oliverm-pc 2.6.31-22-generic-pae #61-Ubuntu SMP Wed Jul 28 03:15:32 UTC 
2010 i686 GNU/Linux

Both running tomcat6 (respectively 6.0.28 and 6.0.20)
Obviously I have enabled reverse proxy in geoservers web.xml.

I did some digging in the ReverseProxyFilter by adding the java source code to 
an existing web project. It seems the strings are all ok, but when 
writer.flush(); is called, the server doesn't return the last characters.

Any toughts?
  
--

Oliver May

DFC Software Engineering
GeoMajas partner www.geomajas.org

Brugsesteenweg 587
B-9030 Gent
Belgium
T: +32 9 236 61 96
F: +32 9 236 54 12
E: oliver@dfc.be
W: www.dfc.be
  



--
This SF.net email is sponsored by 


Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 



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


--
Oliver May

DFC Software Engineering
GeoMajas partner www.geomajas.org

Brugsesteenweg 587
B-9030 Gent
Belgium
T: +32 9 236 61 96
F: +32 9 236 54 12
E: oliver@dfc.be
W: www.dfc.be

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] FIle ID mismatch error in geowebcache

2010-08-12 Thread Jeff Gerbracht
I've a layer set up with a parameter filter and I have it configured
in gwc.  It's been working well for weeks now, or so I thought.
Yesterday I found out that some of the requests for specific parameter
values were not returning tiles. The log file was filled with the
following errors.

2010-08-10 11:28:42,402 ERROR [jdbc.JDBCMBIdCache] - General error:
java.lang.RuntimeException: File ID mismatch got=54 expected=28
pos=2074066 false
org.h2.store.DiskFile:/web/geoserver/geoserverDataDir/gwc/meta_jdbc_h2/gwc_metastore.index.db
blockCount:9 [5-104]
2010-08-10 11:28:42,402 ERROR [geowebcache.GeoWebCacheDispatcher] -
null http://myna.ornith.cornell.edu:8080/geoserver/gwc/service/wms
2010-08-10 11:28:42,407 ERROR [jdbc.JDBCMBIdCache] - General error:
java.lang.RuntimeException: File ID mismatch got=54 expected=28
pos=2074066 false
org.h2.store.DiskFile:/web/geoserver/geoserverDataDir/gwc/meta_jdbc_h2/gwc_metastore.index.db
blockCount:9 [5-104]
2010-08-10 11:28:42,407 ERROR [geowebcache.GeoWebCacheDispatcher] -
null http://myna.ornith.cornell.edu:8080/geoserver/gwc/service/wms

I ended up resolving it, temporarily at least, by stopping Geoserver,
deleting the meta_jdbc_h2 directory and restarting Geoserver.Is
there another way of resolving these issues???

   Thanks
 Jeff

-- 
Jeff Gerbracht
Lead Application Developer
Neotropical Birds, Breeding Bird Atlas, eBird
Cornell Lab of Ornithology
607-254-2117

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] content-type subtype and IE

2010-08-12 Thread Justin Deoliveira
Hi Bart,

Interesting. Using a subtype is mandated by the wfs specification
unfortunately. So our hands are sort of tied there. We could potentially add
a configuration option that would strip out any subtypes in the content-type
header though. Would be easy enough but of course we would have to disable
it for cite tests :)

What do others think?

-Justin

On Thu, Aug 12, 2010 at 3:36 AM, Bart van den Eijnden bart...@osgis.nlwrote:

 Hi list,

 I've been debugging an issue the last few hours with parsing GML from
 Geoserver in Internet Explorer. IE would just hang with 99% CPU. Things
 would work fine with GS 1.7.

 The problem is that GS 2.0 seems to have added a subtype to the
 content-type, and IE is not liking it at all.

 Headers from GS 2.0:
  HTTP/1.1 200 OK
  Date: Thu, 12 Aug 2010 09:25:15 GMT
  Content-Type: text/xml; subtype=gml/2.1.2
  Connection: close
  Transfer-Encoding: chunked

 Headers from GS 1.7:
  HTTP/1.1 200 OK
  Date: Thu, 12 Aug 2010 17:33:44 GMT
  Content-Type: text/xml
  Connection: close
  Transfer-Encoding: chunked

 Can the content-type be configured in Geoserver, or is the only way to
 solve this to override the content-type in my application proxy (which works
 successfully btw)? TIA.

 Best regards,
 Bart

 --
 Looking for flexible support on OpenLayers or GeoExt? Please check out
 http://www.osgis.nl/support.html

 Bart van den Eijnden
 OSGIS
 bart...@osgis.nl



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How do I to create a pyramid with a big tif

2010-08-12 Thread Amador Antonio Cuenca
I'll try to explain all the story briefly, I included a video. So, you can
watch it for a more detailed description of my problem. (
http://www.megavideo.com/?v=165GLEOI)

I'm working in a small town municipality's cadastral department as
developer(I'm the only one :S ), that department have a GIS made with
MapObjects Framework, but the Venezuelan goverment migrates to Free
Software. So, my work here is to make that system wich is used for placement
of structures. I decided to use uDig, GeoServer and Postgis.

I've migrated all *.shp to postgis, and I finish the system. But all I need
is the pyramid.

The previous system used mosaics and pyramid to show the large images of all
the municipality. It has 375 .tif images (95.4 MB, 6668x5001) each of these
images is asociated with a .tfw file with a format like this:

0.12
0
0
-0.12
207600.06
116.94

I guess, those files are the tiles, and there is another file (the big one)
is the municipality ortho (421,4MB 16124x9133)

I can't use it in uDig(They're to large to show it, and I need a lot of
memory) , I think I've to do something with those images for display on
uDig. But I don't know what to do.

This is the tiles image info:

# gdalinfo 0104_o.tif
Warning 1: TIFFFetchNormalTag:ASCII value for tag GeoASCIIParams does not
end in null byte
Driver: GTiff/GeoTIFF
Files: 0104_o.tif
   0104_o.tfw
Size is 6668, 5001
Coordinate System is:
LOCAL_CS[SOCET-SET LSR,
UNIT[metre,1,
AUTHORITY[EPSG,9001]]]
Origin = (195600.000,1165200.12000111759)
Pixel Size = (0.120,-0.120)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  195600.000, 1165200.120)
Lower Left  (  195600.000, 1164600.000)
Upper Right (  196400.160, 1165200.120)
Lower Right (  196400.160, 1164600.000)
Center  (  196000.080, 1164900.060)
Band 1 Block=6668x1 Type=Byte, ColorInterp=Red
Band 2 Block=6668x1 Type=Byte, ColorInterp=Green
Band 3 Block=6668x1 Type=Byte, ColorInterp=Blue

Honestly, I don't know whether to use a mosaic or a pyramid, but I need to
do it because the department where I work has no budget to outsource. So,
I've to do it by myself.

I think, It would be better if you can tell me which solution would be more
reliable.

Regards,
-- 
TSU. Amador Cuenca
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How do I to create a pyramid with a big tif

2010-08-12 Thread Ian Turton
Have a look at my notes on how I added the Blue Marble imagery to
GeoServer - 
http://ian01.geog.psu.edu/geoserver_docs/data/bluemarble/bluemarble.html

You'll need a copy of the gdal utilities (gdal.org)

You can then use gdal_translate to convert your tiff+world file to a
GeoTiff and then tile it using gdal_retile - once you've done that
it's pretty easy to add it to a GeoServer instance.

Ian
-- 
Ian Turton

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] image mosaic - help

2010-08-12 Thread Simone Giannecchini
Ciao Radovan,
first of all a piece of an advice, convert your jpeg files to tiff
with overviews and inner tiling, you'll get maximum performance. You
can use gdal_translate and gdaladdo.

Aside, try to isolate the issue to 2 files and then share them with us.

Simone.
---

Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder
Via Carignoni 51
55041  Camaiore (LU)
Italy

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


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

---



On Thu, Jul 29, 2010 at 9:07 AM, radovan hilbert
radovan.hilb...@gmail.com wrote:
 Hi,
 i am a brend new in using Geoserver and after reading the manuals, and
 forums, i still can not solve my problem with inserting image mosaic.
 I am using geoserver 2.0.2 - only clear instalation without any plugins and
 i tried to put image mosaic to it. Everything works perfect, but finaly the
 layer preview showed me only one real JPG image, the others is black squere
 ... i checked the footprints shp, and it is corect - file names, placement
 ... the JPGs are in the same coordinate file, the same pixel size 

 some idea about that, what should i try ?

 thx

 R.

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ERDAS Imagine as output?

2010-08-12 Thread Simone Giannecchini
Ciao Aleda,
no output for erdas imagine, the gdal framework in geotools does not
support writing but only reading.
At a lower level, imageio-ext suppport writing but only for geotiff atm.
Long storty short, adding support for erdas imagine is relatively
simple but not effort free.
Daniele is cc'ed so I am asking him to confirm.

Simone.
---

Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder
Via Carignoni 51
55041  Camaiore (LU)
Italy

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


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

---



On Wed, Aug 11, 2010 at 10:01 PM, Freeman, Aleda (EEA)
aleda.free...@state.ma.us wrote:
 Is there a way to configure GeoServer to output ERDAS Imagine type image
 files?
 Currently with GeoServer 2.0.1 the two formats I think I have are GeoTiff
 and ASCIIGRID.
 I was reading about the GDAL library but it seemed that that would allow
 input of ERDAS Imagine as data store, not output.
 Or does it?


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users