Re: [Geoserver-users] Alignment problems with ESRI software

2013-08-29 Thread cmaul
Thanks Jody,

but it still could be either, because this class has both units:

 static UnitFOOT_SURVEY_US   A unit of length equal to
1200/3937 m (standard name foot_survey_us). 


and

 static UnitINCH   A unit of length equal to 0.0254 m
(standard name in).

O.k. that means trawling through the sources. At least I know now, what to
look for.

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124p5075131.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Alignment problems with ESRI software

2013-08-29 Thread Jody Garnett
You could check the JSR javadocs to see which one is in use, or the source 
code. 

Let me check: http://jscience.org/jsr-275/api/javax/measure/unit/NonSI.html#INCH

public static final Unit 
(http://jscience.org/jsr-275/api/javax/measure/unit/Unit.html)http://jscience.org/jsr-275/api/javax/measure/quantity/Length.html)> INCH
A unit of length equal to 0.0254 m (standard name in).


Still if you need to define more units you can, does the WKT or EPSG provide an 
EPSG code for the different units so we can tell them apart?

-- 
Jody Garnett


On Friday, 30 August 2013 at 1:23 PM, cmaul wrote:

> Hello,
> 
> There is the international inch (25.4 mm) and the US Survey Inch (25.4000508
> mm), which one is Geoserver actually internally considering an inch?
> 
> Our current scales that work correctly with the ESRI JavaScript API are
> based on the US survey inch, whereas the scales that work correctly with
> ArcMap are based on the international inch.
> 
> Puzzled.
> 
> Christian
> 
> 
> 
> 
> -
> 
> 
> Dr Christian Maul
> Project Manager
> 
> Information Services Branch
> Department of Sustainability and Environment
> Level13, Marland House, 570 Bourke Street
> Melbourne 3000
> 
> PO Box 500, East Melbourne Vic 3002
> 
> 
> Telephone: +61-3-8636 2325
> Telefax: +61-3-8636 2813
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124.html
> Sent from the GeoServer - User mailing list archive at Nabble.com 
> (http://Nabble.com).
> 
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net 
> (mailto:Geoserver-users@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Alignment problems with ESRI software

2013-08-29 Thread cmaul
Hello,

There is the international inch (25.4 mm) and the US Survey Inch (25.4000508
mm), which one is Geoserver actually internally considering an inch?

Our current scales that work correctly with the ESRI JavaScript API are
based on the US survey inch, whereas the scales that work correctly with
ArcMap are based on the international inch.

Puzzled.

Christian




-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] help with SLD

2013-08-29 Thread cmaul
Hi,

that is the SLD that works in geoserver 2.3.3. At the bottom.
But first please read what was wrong with it, as this may to help you to
help yourself next time.

The editor complained first about the  tag. Unfortunately XML
error messages in editors or geoserver are not very precise. So it pays to
look  as well at the tag before as this may be the reason:
Here it is the case: 


1.5


#00


The fill parameter is part of the Halo. On its own geoserver does not know
what to do with it, so the closing  tag needs to be after 
not after the radius. So taking out the vendorOption would have resulted in
complaining about the  and that should have prompted you
to say: Hold on there must be something wrong before that

Next problem: It is not , it is . Literal is a tag
from a different namespace.

Next problem, where it is again complaining about the FOLLOWING tag i.e.
 not about the offending tag.


nombre
 

The label ends after the String you are using as label. Font is a subtag of
. Essentially they come in the order how, what , which
font, where, halo, Fill. All these tags are on the same level. So closing
theafter the font does not work, although the XML is well
formed.

You have then three tags which do not have any content. And geoserver
complains about them as well. Rightfully I would say. Why do you have
placement tags when you do not say where.



 

On second thoughts the complaint may actually be because of the required
order of the tags.
Line 506 - 514 from the 1.0.0 schema:









So the schema says: this must be your order. And that is why the
vendorOptions need to come last. Please note; There is a difference between
the Fill of the entire Labeling and the fill of the halo, I didn't know what
you want and assumed the halo below.


Now the sld that works (at least on my geoserver):


http://www.opengis.net/sld";
xmlns:sld="http://www.opengis.net/sld";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:gml="http://www.opengis.net/gml"; version="1.0.0">
 
 
 
 
 
 Default Styler
 
 
 simple
Feature
generic:geometry
simple
 
 
 
 #D95F02
 
 


nombre
  

 Arial
 12.0
 normal
 normal
   
   

 
 
1.5
 

 
 #00
 

 500
 true
 250
 yes
 100
  
 
 
 
 
 



Well enough explained?

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/help-with-SLD-tp5074614p5075120.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] help with SLD

2013-08-29 Thread J.Alejandro Martinez Linares

El 28/08/13 06:58, cmaul escribió:
> Well, throw the  out check whether it works and put them
> back one by one until it crashes
I dont understan what do you want that i do, please explain better, i 
remove "sld:" of the VerdorOptions, if that what you want?
of that way neither works. here are the SLD.

regards


http://www.opengis.net/sld"; 
xmlns:sld="http://www.opengis.net/sld"; 
xmlns:ogc="http://www.opengis.net/ogc"; 
xmlns:gml="http://www.opengis.net/gml"; version="1.0.0">
 
 
 
 
 
 Default Styler
 
 
 simple
Feature
generic:geometry
simple
 
 
 
 #D95F02
 
 
 
 
nombre
 
 Arial
 12.0
 normal
 normal
 
 
 
 
1.5
 
 
 
 #00
 
 500
 true
 250
 yes
 100
 
 
 
 
 
 
 
 




>
>
>
> -
> 
>
> Dr Christian Maul
> Project Manager
>
> Information Services Branch
> Department of Sustainability and Environment
> Level13, Marland House, 570 Bourke Street
> Melbourne 3000
>
> PO Box 500, East Melbourne Vic 3002
>
>
> Telephone:+61-3-8636 2325
> Telefax:  +61-3-8636 2813
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/help-with-SLD-tp5074614p5074678.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


--

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/


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geoserver-devel] Make pie chart from database query in geoserver map

2013-08-29 Thread Jody Garnett
You will want to ask on the geoserver-users email list, the geoserver-devel
list is for volunteers working to make the project better for you!


On Tue, Aug 27, 2013 at 1:14 PM, Tintu mary George <
tintumarygeo...@outlook.com> wrote:

> Hi,
>
> I am very new to geoserver.I Have one question.
> I am using geoserver,openlayer and postGIS. I want to make pie chart on
> map based on the data from PostGIS  database. I am not able to retrieve the
> data. Can you please tell me how to get data from database and make pie
> chart accordingly on given point ?
> I have one main.html  ,while querying it should get data from database and
> display pie chart on map point..Please tell me how to do this.
>
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Geoserver-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] geotools gridcoverage name

2013-08-29 Thread Bessette-Halsema, Dominique E
I was wondering if there was a way to get the gridcoverage name.  

 

The coverage.getName return the International Name that is the entire path
to the .tif

 

Coverage.getName =
/gis/geoserver/external/data/dynamic/isisgridcoverage/WW3_W_AFRICA/w_africa_
nest2_appl/peak_wav_per/WW3_W_AFRICA:2013082912:w_africa_nest2_appl:peak_wav
_per:surface:::fcst_ops:0480

 

Where I need the layer name. WW3_W_PAC:w_pac_nest2_appl2.max_wav_ht.surface

 

Thanks!

 

 



smime.p7s
Description: S/MIME cryptographic signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] getFeature within geoserver

2013-08-29 Thread Bessette-Halsema, Dominique E
That worked thanks!

 

public static SimpleFeature GetFeature(String featurename, String namespace,
String fid){

SimpleFeature feature = null;

GeoServer geoServer = GeoServerExtensions.bean(GeoServer.class);

DefaultWebFeatureService20 wfs = new
DefaultWebFeatureService20(geoServer);

Catalog catalog = wfs.getCatalog();

FeatureTypeInfo info = catalog.getFeatureTypeByName(namespace,
featurename);

try{

SimpleFeatureSource fs = (SimpleFeatureSource)
info.getFeatureSource(null, null);

FilterFactory ff = CommonFactoryFinder.getFilterFactory();

Id id = ff.id(Collections.singleton(ff.featureId(fid)));

SimpleFeatureCollection coll = fs.getFeatures(id);

SimpleFeatureIterator fi = null;

try {

fi = coll.features();

feature = fi.next(); 

} finally {

   fi.close();

}

}

catch(Exception e){

LOGGER.info(e.getMessage());

}

 

return feature;

}

 

Dominique Bessette

Engineer, Software

General Dynamics Information Technology

Supporting Fleet Numerical Meteorology and Oceanography Center (FNMOC)

Office: 619-881-2748

 

 

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of
Andrea Aime
Sent: Thursday, August 29, 2013 11:07 AM
To: Bessette-Halsema, Dominique E
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] getFeature within geoserver

 

On Thu, Aug 29, 2013 at 7:27 PM, Bessette-Halsema, Dominique E
 wrote:

I'm creating a wps and I was wondering how I get a feature by a featureid
within geoserver..

 

I would like https://localhost:8443/geoserver/gis/ows?service=WFS

&version=1.0.0&request=GetFeature&typeName=gis:simpleafeature&featureId=4360
1  but using the geoserver classes.

 

public static void GetFeature(String name, String namespace, String
fid){

GeoServer geoServer = GeoServerExtensions.bean(GeoServer.class);

DefaultWebFeatureService20 wfs = new
DefaultWebFeatureService20(geoServer);

WFSInfo wfsinfo = wfs.getServiceInfo();

Catalog catalog = wfs.getCatalog();

FeatureTypeInfo featuretype =
catalog.getFeatureTypeByName(namespace, name);

 

//now what

}

 

You're going too much the long way. Get the Catalog bean, then do something
like

(almost pseudo code, totally untested):

 

FeatureTypeInfo info = catalog.getFeatureTypeByName();

SimpleFeatureSource fs = info.getFeatureSource();

FilterFactory ff = CommonFActoryFinder.getFilterFactory();

SimpleFeatureCollect coll = fs.getFeatures(ff.id(ff.featureId(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

 

---



smime.p7s
Description: S/MIME cryptographic signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Isolating an administrator to managing a workspace - what steps do I take?

2013-08-29 Thread Milo van der Linden
Hi all,

Following 
http://geoserver.org/display/GEOS/GSIP+74+-+Finer+Grained+Admin+Security
and concluding that the corresponding Issue in Jira is closed; I want
to create an administrator that can manage his/her workspace through
the web interface.

I think I followed all the steps. I created roles, groups, users group
and role services and deleted, moved retried up to the point where I
am stuck with a role service and a group service that have no users
but cannot be deleted because they require group admin and
administrator roles that cannot be deleted because they belong to
group and role services...

I am a bit stuck. Is there any documentation on the steps you need to
take to have a user that can manage all objects in a single workspace
only?

Any hints appreciated!

Kind regards,

Milo

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] getFeature within geoserver

2013-08-29 Thread Andrea Aime
On Thu, Aug 29, 2013 at 7:27 PM, Bessette-Halsema, Dominique E <
dominique.besse...@gdit.com> wrote:

> I’m creating a wps and I was wondering how I get a feature by a featureid
> within geoserver..
>
> ** **
>
> I would like
> https://localhost:8443/geoserver/gis/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=gis:simpleafeature&featureId=43601
> but using the geoserver classes.
>
> ** **
>
> *public* *static* *void* GetFeature(String name, String namespace,
> String fid){
>
> GeoServer geoServer = GeoServerExtensions.*bean*(GeoServer.*class*
> );
>
> DefaultWebFeatureService20 wfs = 
> *new*DefaultWebFeatureService20(geoServer);
> 
>
> WFSInfo wfsinfo = wfs.getServiceInfo();
>
> Catalog catalog = wfs.getCatalog();
>
> *FeatureTypeInfo* featuretype =
> catalog.getFeatureTypeByName(namespace, name);
>
> ** **
>
> //now what
>
> }
>

You're going too much the long way. Get the Catalog bean, then do something
like
(almost pseudo code, totally untested):

FeatureTypeInfo info = catalog.getFeatureTypeByName();
SimpleFeatureSource fs = info.getFeatureSource();
FilterFactory ff = CommonFActoryFinder.getFilterFactory();
SimpleFeatureCollect coll = fs.getFeatures(ff.id(ff.featureId(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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] getFeature within geoserver

2013-08-29 Thread Bessette-Halsema, Dominique E
I'm creating a wps and I was wondering how I get a feature by a featureid
within geoserver..

 

I would like https://localhost:8443/geoserver/gis/ows?service=WFS

&version=1.0.0&request=GetFeature&typeName=gis:simpleafeature&featureId=4360
1  but using the geoserver classes.

 

public static void GetFeature(String name, String namespace, String
fid){

GeoServer geoServer = GeoServerExtensions.bean(GeoServer.class);

DefaultWebFeatureService20 wfs = new
DefaultWebFeatureService20(geoServer);

WFSInfo wfsinfo = wfs.getServiceInfo();

Catalog catalog = wfs.getCatalog();

FeatureTypeInfo featuretype =
catalog.getFeatureTypeByName(namespace, name);

 

//now what

}

 

Thanks

 

 



smime.p7s
Description: S/MIME cryptographic signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.3.5 exception and tomcat service

2013-08-29 Thread wwsmith
Addendum: after testing different installations of java, tomcat and geoserver
I found: Tomcat 6.0.37 (32-bit) service hangs on shutdown when there was a
geoserver execption before. The following configuration seems to work
correct on Windows Server 2008 R2:
- Java 1.6.0_45 (32-bit) 
- Tomcat 6.0.36 (32-bit) - running as a service 
- GeoServer 2.3.5 - war file 
Best
Wolfram



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-3-5-exception-and-tomcat-service-tp5074745p5075055.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Logging

2013-08-29 Thread Andrea Aime
On Thu, Aug 29, 2013 at 5:24 PM, Roland van Laar  wrote:

> For those wishing to use Sentry for logging, I got it working :-).
> I'm using raven-java: https://github.com/kencochrane/raven-java
>
> 1) Copy the default logger 'PRODUCTION_LOGGING.properties' file to
> SENTRY_LOGGING.properties
> 2) Open the file in a text editor
> 3) Change the line that starts with log4j.rootLogger to:
> log4j.rootLogger=WARN, geoserverlogfile, stdout, SentryAppender
> 4) Add the following to the file, change the sentry, key, host and ID :
> log4j.appender.SentryAppender=net.kencochrane.raven.log4j.SentryAppender
> log4j.appender.SentryAppender.dsn=http://SENTRY:KEY@HOST/ID
>
> 5) Download necessary jars:
> Read:
>
> https://github.com/kencochrane/raven-java/tree/master/raven-log4j#manual-dependency-management
> And install them to geoserver/WEB-INF/lib
> 6) I needed to remove my old commons-codec and log4j jars.
> 7) Restart tomcat
> 8) Select the new SENTRY_LOGGING.properties in the Global Settings menu.
> 9) Voila
>

Nice recipe, thanks for sharing :-)

Cheers
Andrea


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

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoExt tree using Geoserver

2013-08-29 Thread Simone Giannecchini
Ciao Pablo,
I would suggest to direct this question to the GeoExt mailing list.

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

---


On Thu, Aug 29, 2013 at 5:12 PM, FNK  wrote:
> Hi, I'm using "GeoExt" version 1.1 and Geoserver version 2.2.5. I'm creating
> a TreePanel for a map loading the list of layers with the
> GeoExt.tree.WMSCapabilitiesLoader() method.
>
> I would like that the tree would have more than one level, I mean,
> directories with sub-directories and finally the leafs (layers) and all this
> automatically. The problem is that, for example, I create in Geoserver a
> Grouplayer who has four layers and this is shown in the tree as five leafs,
> four leafs with the layers and one with the grouplayer.
>
> The right behaviour for me would be a tree with one directory and four leafs
> inside this directory.
>
> Could someone help me with this? Is this possible?
>
> Thanks,
>
> FNK.
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/GeoExt-tree-using-Geoserver-tp5075017.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Logging

2013-08-29 Thread Roland van Laar
For those wishing to use Sentry for logging, I got it working :-).
I'm using raven-java: https://github.com/kencochrane/raven-java

1) Copy the default logger 'PRODUCTION_LOGGING.properties' file to 
SENTRY_LOGGING.properties
2) Open the file in a text editor
3) Change the line that starts with log4j.rootLogger to:
log4j.rootLogger=WARN, geoserverlogfile, stdout, SentryAppender
4) Add the following to the file, change the sentry, key, host and ID :
log4j.appender.SentryAppender=net.kencochrane.raven.log4j.SentryAppender
log4j.appender.SentryAppender.dsn=http://SENTRY:KEY@HOST/ID

5) Download necessary jars:
Read: 
https://github.com/kencochrane/raven-java/tree/master/raven-log4j#manual-dependency-management
And install them to geoserver/WEB-INF/lib
6) I needed to remove my old commons-codec and log4j jars.
7) Restart tomcat
8) Select the new SENTRY_LOGGING.properties in the Global Settings menu.
9) Voila

Roland

On 08/29/2013 11:31 AM, Roland van Laar wrote:
> On 08/28/2013 05:49 PM, Roland van Laar wrote:
>> Hello,
>>
> I started to look at the code for GeoServer this morning.
>> I'm trying to configure Geoserver so that it will log its error to 
>> sentry (getsentry.com).
>> There is a raven-log4j which should do this for me.
>> The first step was creating a new log4j logging file.
>>
>> So far I am following the following:
>> http://docs.geoserver.org/stable/en/user/advanced/logging.html
>
> So far I've found the following:
> - Configuration files should end in logging.properties, case insensitive.
> - The configuration files are picked up when put in /var/log/tomcat7/
>
> Probably the log files are loaded before setBaseDirectory in 
> GeoServerResourceLoader is called.
> I did set the datadir in web.xml to 
> /var/lib/tomcat6/webapps/geoserver/data
>
> Any ideas what to do next to import the log files from the data/logs dir?
>
>>
>> I deployed the latest stable geoserver (WAR) on ubuntu with tomcat 7.
>> I added a GEOTOOLS_DEVELOPER_LOGGING example configuration in the file
>> GEOTOOLS_TEST_LOGGING.properties.
>> I added the file in the following directory 
>> /var/lib/tomcat7/webapps/geoserver/data/logs.
>> Next up was a tomcat7 restart.
>> The file didn't show under Logging Profile on the global settings page.
>>
>> What do I need to do differently to let the new logging file show up 
>> on the global settings page?
>>
> Thnx,
>> Thank you,
>>
>> Roland
>


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoExt tree using Geoserver

2013-08-29 Thread FNK
Hi, I'm using "GeoExt" version 1.1 and Geoserver version 2.2.5. I'm creating
a TreePanel for a map loading the list of layers with the
GeoExt.tree.WMSCapabilitiesLoader() method.

I would like that the tree would have more than one level, I mean,
directories with sub-directories and finally the leafs (layers) and all this
automatically. The problem is that, for example, I create in Geoserver a
Grouplayer who has four layers and this is shown in the tree as five leafs,
four leafs with the layers and one with the grouplayer.

The right behaviour for me would be a tree with one directory and four leafs
inside this directory.

Could someone help me with this? Is this possible?

Thanks,

FNK.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoExt-tree-using-Geoserver-tp5075017.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Logging

2013-08-29 Thread Roland van Laar

Thanks

On 08/29/2013 12:25 PM, Andrea Aime wrote:
On Thu, Aug 29, 2013 at 11:31 AM, Roland van Laar > wrote:


On 08/28/2013 05:49 PM, Roland van Laar wrote:
> Hello,
>
I started to look at the code for GeoServer this morning.
> I'm trying to configure Geoserver so that it will log its error to
> sentry (getsentry.com ).
> There is a raven-log4j which should do this for me.
> The first step was creating a new log4j logging file.
>
> So far I am following the following:
> http://docs.geoserver.org/stable/en/user/advanced/logging.html

So far I've found the following:
- Configuration files should end in logging.properties, case
insensitive.
- The configuration files are picked up when put in /var/log/tomcat7/

Probably the log files are loaded before setBaseDirectory in
GeoServerResourceLoader is called.
I did set the datadir in web.xml to
/var/lib/tomcat6/webapps/geoserver/data


Yes, this issue has been reported in JIra too:
http://jira.codehaus.org/browse/GEOS-5989


Any ideas what to do next to import the log files from the
data/logs dir?


Eh, someone has to take some time, look into the issue, and create a 
patch to

solve 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

---


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer and OGC Compliance

2013-08-29 Thread Jody Garnett
I can explain, you need to pay money to officially run the certification
tests, and are rewarded with a cute badge for your website.

Various sponsors have paid for GeoServer to be official, you can see the
badges on geoserver.org

[image: OGC+Compliance.png]
We *do* run the certification tests, unofficially on our own hardware,
prior to each release, and indeed as part of the nightly build:
- http://hudson.opengeo.org/hudson/view/cite/

So if you know anyone with deep pockets we would love to get a bit more
bling for the website.


Jody



On Tue, Aug 27, 2013 at 4:49 PM, Anunay Sinha wrote:

> Hi
> On the GeoServer site it says that GeoServer is OGC compliant, but while
> cross referencing on the OGC site, status is marked as Implementing.
> Can anyone please throw some light on this?
>
> Given if GeoServer is not compliant and is only implementing, then what
> are the points that one need to work on to make it compliant.
>
> Thanks
>
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] How to implement ownership-based access control on features

2013-08-29 Thread Jiang Wang
Hi,
I have a table like this:

ID | Name | the_geom | Owner

The field 'Owner' store the user name who own this record.
Here is my question:
Is there any possible way that we can use web request as usual ,but
response base on the user who invoke the request.

Thanks for help.
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Logging

2013-08-29 Thread Andrea Aime
On Thu, Aug 29, 2013 at 11:31 AM, Roland van Laar  wrote:

> On 08/28/2013 05:49 PM, Roland van Laar wrote:
> > Hello,
> >
> I started to look at the code for GeoServer this morning.
> > I'm trying to configure Geoserver so that it will log its error to
> > sentry (getsentry.com).
> > There is a raven-log4j which should do this for me.
> > The first step was creating a new log4j logging file.
> >
> > So far I am following the following:
> > http://docs.geoserver.org/stable/en/user/advanced/logging.html
>
> So far I've found the following:
> - Configuration files should end in logging.properties, case insensitive.
> - The configuration files are picked up when put in /var/log/tomcat7/
>
> Probably the log files are loaded before setBaseDirectory in
> GeoServerResourceLoader is called.
> I did set the datadir in web.xml to /var/lib/tomcat6/webapps/geoserver/data
>

Yes, this issue has been reported in JIra too:
http://jira.codehaus.org/browse/GEOS-5989


>
> Any ideas what to do next to import the log files from the data/logs dir?
>

Eh, someone has to take some time, look into the issue, and create a patch
to
solve 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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Clustered GeoServer on tomcat with load balance on IIS

2013-08-29 Thread Simone Giannecchini
Ciao Paulius,
I honestly never saw that error myself.
I guess you'll have to fiddle with the IIS configuration and its security
settings.


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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

---


On Thu, Aug 29, 2013 at 9:32 AM, Paulius Litvinas wrote:

> Hello List,
>
> ** **
>
> I tried to make such GeoServer High Availability  Set as in this link:
> http://goo.gl/Hd6F5
>
> ** **
>
> Everything works ok except tiled layers .
>
> ** **
>
> I tried with default sample layer topp:tasmania_cities.
>
> ** **
>
> On separate instances this tiled layer is displayed with no problems.
>
> ** **
>
>
> http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png
> 
>
>
> http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png
> 
>
> ** **
>
> But if I try to view this layer through load balanced on IIS
>
> ** **
>
>
> http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png
> 
>
> ** **
>
> I get 
>
> Server Error in '/' Application. 
>
> A potentially dangerous Request.Path value was detected from the client
> (:).
>
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code. 
>
> Exception Details: System.Web.HttpException: A potentially dangerous
> Request.Path value was detected from the client (:).
>
> Source Error: 
>
> An unhandled exception was generated during the execution of the current
> web request. Information regarding the origin and location of the exception
> can be identified using the exception stack trace below.
>
> Stack Trace: 
>
> [HttpException (0x80004005): A potentially dangerous Request.Path value
> was detected from the client (:).]
>
>System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710
>
>System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184
> 
>
> Version Information: Microsoft .NET Framework Version:4.0.30319; 
> ASP.NETVersion:4.0.30319.272
> 
>
> ** **
>
> If I try a group layer (request does not contains „:“) everything work
> fine too.
>
> ** **
>
> I tried to put the following config to web.config of jakarta virtual
> directory, but no success.
>
> ** **
>
> 
>
>  requestPathInvalidCharacters=""/>
>
>   validateRequest="false" />
>
> 
>
> ** **
>
> Maybe I missed something?
>
> ** **
>
> Thank you for any help.
>
> ** **
>
> Sincerely,
>
> Paulius Litvinas
>
> GIS Projects Consultant, "InfoEra" JSC
>
> 
>
> Mobile: +370 656 10089
>
> Phone: (+370 5) 278 84 56
>
> Fax: (+370 5) 278 47 23
>
> paul...@infoera.com
>
> S. Zukausko str. 17, LT-08234, 
>
> Vilnius, Lithuania
>
> [image: cid:image001.jpg@01C7E646.3BEE7150]
>
> www.infoera.com 
>
> ** **
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
<>--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Logging

2013-08-29 Thread Roland van Laar
On 08/28/2013 05:49 PM, Roland van Laar wrote:
> Hello,
>
I started to look at the code for GeoServer this morning.
> I'm trying to configure Geoserver so that it will log its error to 
> sentry (getsentry.com).
> There is a raven-log4j which should do this for me.
> The first step was creating a new log4j logging file.
>
> So far I am following the following:
> http://docs.geoserver.org/stable/en/user/advanced/logging.html

So far I've found the following:
- Configuration files should end in logging.properties, case insensitive.
- The configuration files are picked up when put in /var/log/tomcat7/

Probably the log files are loaded before setBaseDirectory in 
GeoServerResourceLoader is called.
I did set the datadir in web.xml to /var/lib/tomcat6/webapps/geoserver/data

Any ideas what to do next to import the log files from the data/logs dir?

>
> I deployed the latest stable geoserver (WAR) on ubuntu with tomcat 7.
> I added a GEOTOOLS_DEVELOPER_LOGGING example configuration in the file
> GEOTOOLS_TEST_LOGGING.properties.
> I added the file in the following directory 
> /var/lib/tomcat7/webapps/geoserver/data/logs.
> Next up was a tomcat7 restart.
> The file didn't show under Logging Profile on the global settings page.
>
> What do I need to do differently to let the new logging file show up 
> on the global settings page?
>
Thnx,
> Thank you,
>
> Roland


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Clustered GeoServer on tomcat with load balance on IIS

2013-08-29 Thread Paulius Litvinas
Hello List,

 

I tried to make such GeoServer High Availability  Set as in this link:
http://goo.gl/Hd6F5

 

Everything works ok except tiled layers .

 

I tried with default sample layer topp:tasmania_cities.

 

On separate instances this tiled layer is displayed with no problems.

 

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPS
G:4326
 &format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPS
G:4326
 &format=image/png 

 

But if I try to view this layer through load balanced on IIS

 

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:432
6
 &format=image/png

 

I get 

Server Error in '/' Application. 

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: A potentially dangerous
Request.Path value was detected from the client (:).

Source Error: 

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace: 

[HttpException (0x80004005): A potentially dangerous Request.Path value was
detected from the client (:).]

   System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

   System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.272

 

If I try a group layer (request does not contains ":") everything work fine
too.

 

I tried to put the following config to web.config of jakarta virtual
directory, but no success.

 





 



 

Maybe I missed something?

 

Thank you for any help.

 

Sincerely,

Paulius Litvinas

GIS Projects Consultant, "InfoEra" JSC



Mobile: +370 656 10089

Phone: (+370 5) 278 84 56

Fax: (+370 5) 278 47 23

  paul...@infoera.com

S. Zukausko str. 17, LT-08234, 

Vilnius, Lithuania

cid:image001.jpg@01C7E646.3BEE7150

 http://www.infoera.lt/> www.infoera.com 

 

<>--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImagePyramid. Tiles sometimes drawn and sometimes missing

2013-08-29 Thread Andrea Aime
On Thu, Aug 29, 2013 at 8:54 AM, Russell Hore  wrote:

> I have a set of 100 tiles (UK Ordnance Survey data).
>
> I have created an image pyramid, created a store and added a layer.
>
> When I view it, via GeoServer preview, it all looks fine until I stat to
> zoom in. At a certain zoom level (The scale reads 1:87k) some of the tiles
> get drawn as white.
> So tiles are there at 1:174k, not there at 1:87k and back again at 1:44k
>
> When I look in the logs (catalina.out) I see the many lines with a line
> saying;
>
> ...
> Caused by: java.lang.IllegalArgumentException: All source images must have
> the same number of bands.
>

Given this error, it seems the images in your mosaic are not uniform, the
image mosaic cannot
deal with them right now unless they have a minimum amount of shared
structure.
Originally it was everything, same overviews, same projection and so on,
over time some of the
limits were removed, but I believe you still need to have them all with the
same band structure
e.g., all RGB, all gray, all paletted... maybe if there is a mix of
paletted and RGB one can force
the RGB expansion in the property file, not sure though, Simone, cc'ed,
should know more

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

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users