[Geoserver-users] Set cookie using javascript during the geoserver page onload

2019-02-28 Thread Farook M
I have a django application in 'http://zzz:2080' domain which will send
post request with authentication details to '
http://zzz:7080/geoserver/j_spring_security_check' which returns a cookie.
I will now call a page 'http://zzz:7080/geoserver' from 'http://zzz:2080'
on button click. I need to set the cookie which i got from the post request
to 'http://zzz:7080/geoserver' before the page gets reloaded or during
onload. I got a cookie and set it in browser in http://zzz:2080 but when
the page gets relaoded to http://zzz:7080/geoserver, the cookie gets lost.
Is there any way to solve this
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] Getting error in geofence connection

2018-07-26 Thread Farook M
 I am trying to setup geofence in geoserver 2.13.2 and i had downloaded
geofence server plugin from http://ares.opengeo.org/
geoserver/master/community-latest/
Extracted the jar and placed it in WEB-INF/lib of geoserver. Restarted the
tomcat. I could see geofence,geofence admin rules, geofence data rules
under security. In the Geofence Admin Page, when i test connection, i am
getting this error
org.apache.wicket.WicketRuntimeException: Method onRequest of interface
org.apache.wicket.behavior.IBehaviorListener targeted at
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1@703139a3 on
component [AjaxSubmitLink [Component id = test]] threw an exception at
org.apache.wicket.RequestListenerInterface.internalInvoke(
RequestListenerInterface.java:268) at org.apache.wicket.
RequestListenerInterface.invoke(RequestListenerInterface.java:241) at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
r.invokeListener(ListenerInterfaceRequestHandler.java:248) at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
r.respond(ListenerInterfaceRequestHandler.java:234) at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at
org.springframework.web.servlet.mvc.ServletWrappingController.
handleRequestInternal(ServletWrappingController.java:157) at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
.handle(SimpleControllerHandlerAdapter.java:50) at org.springframework.web.
servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at
org.springframework.web.servlet.DispatcherServlet.
doService(DispatcherServlet.java:897) at org.springframework.web.
servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at
org.springframework.web.servlet.FrameworkServlet.
doPost(FrameworkServlet.java:872) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.
service(FrameworkServlet.java:846) at javax.servlet.http.
HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.
ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.
server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.
ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165) at org.apache.catalina.filters.
CorsFilter.handleNonCORS(CorsFilter.java:419) at
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192) at org.apache.catalina.core.
ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(
ThreadLocalsCleanupFilter.java:26) at org.apache.catalina.core.
ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165) at org.geoserver.filters.
SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69) at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
SpringDelegatingFilter.java:66) at org.geoserver.filters.
SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:41) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192) at org.apache.catalina.core.
ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(
AdvancedDispatchFilter.java:37) at org.apache.catalina.core.
ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165) at org.springframework.security.
web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
at org.geoserver.security.filter.GeoServerCompositeFilter$

Re: [Geoserver-users] Enable WFS Transaction in geoserver

2018-04-23 Thread Farook M
HI Rahkonen Jukka,

Thanks for your response. It's exactly due to the projection issue. I tried
inserting in 4326 and the insert works perfectly.




On Fri, Apr 20, 2018 at 7:32 PM, Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
> There may be other issues, but your coordinates do not make sense with
> EPSG:4326:
> Coordinates 494475.71056415,5433016.8189323 494982.70115662,5435041.
> 95096618
>
>
> -Jukka Rahkonen-
>
>
> -Alkuperäinen viesti-
> Lähettäjä: Farook [mailto:farookr...@gmail.com]
> Lähetetty: 20. huhtikuuta 2018 8:03
> Vastaanottaja: geoserver-users@lists.sourceforge.net
> Aihe: [Geoserver-users] Enable WFS Transaction in geoserver
>
> I am working in an application to edit attribute and features, for which i
> am trying to use WFST. I have given write access to all users and for all
> workspaces.Also,i have changed the service level to 'Transactional' in WFS
> settings. Restarted the tomcat and tried inserting a feature
> WFS_transactioninsert.xml in the Demo request. But feature is not being
> added to the layer. is there anything i need to configure?
>
> <http://osgeo-org.1560.x6.nabble.com/file/t375998/datarule.png>
> <http://osgeo-org.1560.x6.nabble.com/file/t375998/servicelevel.png>
>
>xmlns:wfs="http://www.opengis.net/wfs;
>xmlns:topp="http://www.openplans.org/topp;
>xmlns:gml="http://www.opengis.net/gml;
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>xsi:schemaLocation="http://www.opengis.net/wfs
>http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd
>   http://www.openplans.org/topp
>
> http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=
> topp:tasmania_roads">
>   
>
>
>  srsName="http://www.opengis.net/gml/srs/epsg.xml#4326;>
>   
> 
>   
>494475.71056415,5433016.8189323 494982.70115662,5435041.
> 95096618
>   
> 
>   
> 
>  
>  alley
> 
>
>   
> <http://osgeo-org.1560.x6.nabble.com/file/t375998/response.png>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-
> f3786390.html
>
> 
> --
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-
> requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] Enable WFS Transaction in geoserver

2018-04-20 Thread Farook
I am working in an application to edit attribute and features, for which i am
trying to use WFST. I have given write access to all users and for all
workspaces.Also,i have changed the service level to 'Transactional' in WFS
settings. Restarted the tomcat and tried inserting a feature
WFS_transactioninsert.xml in the Demo request. But feature is not being
added to the layer. is there anything i need to configure? 

 
 

   http://www.opengis.net/wfs;
   xmlns:topp="http://www.openplans.org/topp;
   xmlns:gml="http://www.opengis.net/gml;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.opengis.net/wfs 
   http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd 
  http://www.openplans.org/topp 
 
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=topp:tasmania_roads;>
  
   
   
http://www.opengis.net/gml/srs/epsg.xml#4326;>
  

  
   494475.71056415,5433016.8189323 494982.70115662,5435041.95096618
  

  

 
 alley

   
  
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] Installing ECW extension in geoserver in centos6

2017-08-08 Thread Farook
I am trying to install ECW extension in geoserver in Centos 6. I had followed
the instruction from here
https://halukapaydin.wordpress.com/2014/10/30/install-geoserver-with-ecw-support-on-centos-7-0-1406-64-bit/
As given in the link, I got this output

ECW …..
JP2ECW …
When i type gdalinfo --formats | grep ECW Also, i had installed java8,
apache tomcat 8.5.12 and geoserver 2.9.4. After installing geoserver, i had
installed CRS definitions and set the env called 'GDAL_DATA'in the path
/etc/init/tomcat.conf And when i tried installing native libraries i could
not see any libraries for centos 6 form here
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.16/native/gdal/linux/.
But still i had downloaded the imageio-ext for centos5.8 and copied to
WEB-INF/lib and restarted tomcat but extension was not enabled. Am i doing
anything wrong? Any help would be appreciated



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Installing-ECW-extension-in-geoserver-in-centos6-tp5330805.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] returning extent as response for the resultant query records from microsoft sql server in geoserver

2016-08-01 Thread Farook M
Hi Andrea,

Thanks for the response. If the returning is feature is 4, will the WPS
return 1 extent for all the 4 returning features instead of 4 individual
extents?

Thanks,
Farook

On Mon, Aug 1, 2016 at 11:19 PM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi Farook,
> no, WFS does not allow to just return the extent, without also returning
> the features (it's not like SQL where
> aggregations can be performed).
>
> However you can install and use WPS for that purpose, there is a process
> called Bounds that just
> returns the bounds without loading all the features
>
> Cheers
> Andrea
>
>
> On Mon, Aug 1, 2016 at 1:59 PM, Farook M <farookr...@gmail.com> wrote:
>
>> I have data in the GeoServer coming from Microsoft's SQL server. I want
>> to use CQL filter with WMS to query and get 4000k records as a result. I
>> need to know is there any way my CQl filter with WMS can return extent for
>> the 4k records in the resultant response?If the result is 2k records, then
>> it should return the extent for those.For ex,
>>
>> http://localhost:8080/geoserver/wfs?service=wfs=1.1.0=getfeature=topp:states_FILTER=STATE_NAME=%27Idaho%27=hits
>>
>> returns 1 record as below in XML
>>
>> http://www.geo-solutions.it;   
>>  xmlns:cite="http://www.opengeospatial.net/cite; 
>> xmlns:ogc="http://www.opengis.net/ogc; xmlns:tiger="http://www.census.gov; 
>> xmlns:sde="http://geoserver.sf.net; 
>> xmlns:topp="http://www.openplans.org/topp; 
>> xmlns:wfs="http://www.opengis.net/wfs; 
>> xmlns:ows="http://www.opengis.net/ows; 
>> xmlns:xlink="http://www.w3.org/1999/xlink; 
>> xmlns:KFRI="http://www.kfri.res.in/; 
>> xmlns:sf="http://www.openplans.org/spearfish; 
>> xmlns:gml="http://www.opengis.net/gml; xmlns:nurc="http://www.nurc.nato.int; 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; numberOfFeatures="1" 
>> timeStamp="2016-08-01T11:45:42.443Z" 
>> xsi:schemaLocation="http://www.opengis.net/wfs 
>> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"/>
>>
>> In addition,i need the extent also for the feature in the response. And
>> please note that if the response returns 4 features also it should return
>> one extent for all those 4 features instead of returning extent for each
>> feature.
>>
>>
>>
>>
>> --
>>
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> ---
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] returning extent as response for the resultant query records from microsoft sql server in geoserver

2016-08-01 Thread Farook M
I have data in the GeoServer coming from Microsoft's SQL server. I want to
use CQL filter with WMS to query and get 4000k records as a result. I need
to know is there any way my CQl filter with WMS can return extent for the
4k records in the resultant response?If the result is 2k records, then it
should return the extent for those.For ex,

http://localhost:8080/geoserver/wfs?service=wfs=1.1.0=getfeature=topp:states_FILTER=STATE_NAME=%27Idaho%27=hits

returns 1 record as below in XML

http://www.geo-solutions.it;
xmlns:cite="http://www.opengeospatial.net/cite;
xmlns:ogc="http://www.opengis.net/ogc;
xmlns:tiger="http://www.census.gov;
xmlns:sde="http://geoserver.sf.net;
xmlns:topp="http://www.openplans.org/topp;
xmlns:wfs="http://www.opengis.net/wfs;
xmlns:ows="http://www.opengis.net/ows;
xmlns:xlink="http://www.w3.org/1999/xlink;
xmlns:KFRI="http://www.kfri.res.in/;
xmlns:sf="http://www.openplans.org/spearfish;
xmlns:gml="http://www.opengis.net/gml;
xmlns:nurc="http://www.nurc.nato.int;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
numberOfFeatures="1" timeStamp="2016-08-01T11:45:42.443Z"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"/>

In addition,i need the extent also for the feature in the response. And
please note that if the response returns 4 features also it should return
one extent for all those 4 features instead of returning extent for each
feature.
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users