[Geoserver-users] Help disabling X-Frame-Options for Geoserver
Hi, I am trying to use Geoserver data into an JS WebGIS application. I am having trouble disabling the X-Frame-Options from adding the SAMEORIGIN header to incoming requests. I have read the instructions on: http://docs.geoserver.org/latest/en/user/production/config.html#x-frame-options-policy My TOMCAT's conf/web.xml has deactivated X-FRAME-OPTIONS: HttpHeaderSecurityFilter org.apache.catalina.filters.HttpHeaderSecurityFilter true antiClickJackingEnabled false HttpHeaderSecurityFilter /* REQUEST Requests to localhost:8080/manager do not show the X-Frame-Options, so it should be working. My geoserver's web.xml has the following configuration: xFrameOptionsFilter org.geoserver.filters.XFrameOptionsFilter geoserver.xframe.policy DENY xFrameOptionsFilter /* REQUEST Each time I do a request to the geoserver I get a response with the dreaded X-FRAME-OPTIONS: SAMEORIGINDoes anyone have any insight on how to set geoserver to stop being secured against clickJacking? BTW, this stackexchange answer is no good: https://gis.stackexchange.com/questions/267758/setting-geoserver-x-frame-options it breaks the geoserver if you use the values and it won't run. Any ideas? -- 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
Re: [Geoserver-users] Elevation profile
There is also interesting tool for your request, try it and please give feedback. Thank you https://github.com/kaktus40/Cesium-GeoserverTerrainProvider >Четверг, 21 июня 2018, 17:54 +06:00 от Simone Giannecchini >: > >Short answer, I don't think this is supported right now. > >Longer answer, it would be fairly easy to support by implementing a >GetTransect operation for the ncWMS extension. > >Regards, >Simone Giannecchini >== >GeoServer Professional Services from the experts! >Visit http://goo.gl/it488V for more information. >== >Ing. Simone Giannecchini >@simogeo >Founder/Director > >GeoSolutions S.A.S. >Via di Montramito 3/A >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 > >--- >Con riferimento alla normativa sul trattamento dei dati personali >(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati >“GDPR”), si precisa che ogni circostanza inerente alla presente email >(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui >conoscenza è riservata al/i solo/i destinatario/i indicati dallo >scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a >cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato >se potesse darmene notizia. > >This email is intended only for the person or entity to which it is >addressed and may contain information that is privileged, confidential >or otherwise protected from disclosure. We remind that - as provided >by European Regulation 2016/679 “GDPR” - copying, dissemination or use >of this e-mail or the information herein by anyone other than the >intended recipient is prohibited. If you have received this email by >mistake, please notify us immediately by telephone or e-mail. > >On Tue, Jun 19, 2018 at 11:37 AM < faw...@tutamail.com > wrote: >> >> Hi, >> I want to create an elevation profile using Geoserver. I have a large >> geotiff file that contains the elevations. I've Googled for this problem and >> found the following solution >> >> https://gis.stackexchange.com/questions/110241/how-to-get-elevation-profile-from-tif-dsm-on-the-web-map >> The solution requires to put the geotiff file in PostGIS table, then execute >> a query to get the profile. >> >> Actually I do not want to put the geotiff in a DB, to not have duplicate >> data in my project, because I'm using this geotiff file as a layer in >> Geoserver for other purpose. >> >> My question is, is there other methods to create elevation profile in >> Geoserver? >> can I make a Geotools custom function that does that? >> >> Another question, if I put the geotiff file in a PostGIS table (as a raster >> data type), can I publish this table as a layer in Geoserver, and use it >> normally like geotiff layer? >> >> Regards, >> Fawzy >> >> -- >> 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 Жандос Керимкулов -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Re: [Geoserver-users] Elevation profile
Short answer, I don't think this is supported right now. Longer answer, it would be fairly easy to support by implementing a GetTransect operation for the ncWMS extension. Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via di Montramito 3/A 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 --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. On Tue, Jun 19, 2018 at 11:37 AM wrote: > > Hi, > I want to create an elevation profile using Geoserver. I have a large geotiff > file that contains the elevations. I've Googled for this problem and found > the following solution > https://gis.stackexchange.com/questions/110241/how-to-get-elevation-profile-from-tif-dsm-on-the-web-map > The solution requires to put the geotiff file in PostGIS table, then execute > a query to get the profile. > > Actually I do not want to put the geotiff in a DB, to not have duplicate data > in my project, because I'm using this geotiff file as a layer in Geoserver > for other purpose. > > My question is, is there other methods to create elevation profile in > Geoserver? > can I make a Geotools custom function that does that? > > Another question, if I put the geotiff file in a PostGIS table (as a raster > data type), can I publish this table as a layer in Geoserver, and use it > normally like geotiff layer? > > Regards, > Fawzy > > -- > 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
Re: [Geoserver-users] NADCON grid shift transforms - data file formats have changed
Hi Andria, I do have moderate Java Dev skills. I’ll need instructions on how to configure my NetBeans to pull off the repo, etc. I’m sure there’s a number of web pages that’ll detail that for me, I’ll do a search. I would like to use whichever reader is being used currently for the NADCON grid transform (*.las and *.los) as a basis to model my solution off of. Meanwhile, I’m going to print out the NADCON document so I can start puzzling out the format of the data files or I won’t be able to put together a very effective reader. I’ll grunt through the process a couple of times manually before I even think to start writing code. I’ll look on geo-solutions.it web site to see about pricing for having expert Java Devs put together a solution. It is an additional option that I hadn’t considered. Thank You, Erik From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: Thursday, June 21, 2018 2:00 AM To: Valley GIS Limited Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] NADCON grid shift transforms - data file formats have changed On Thu, Jun 21, 2018 at 6:06 AM, Valley GIS Limited mailto:esing...@peaklandservices.com> > wrote: I was seeking to transform my NAD83 vector data into NAD27 using the documented instructions at http://docs.geoserver.org/stable/en/user/configuration/crshandling/coordtransforms.html and the link to the NADCON program posted will no longer provide the files needed by Geoserver to perform this operation. They’ve changed their software and they’ve changed their underlying data. From the email that I received when checking into this issue with NGS: “With NADCON 5.0 we moved from the *.las and *.los format to the *.b format.” “In the NADCON 5.0 report, Chapter 10 (starts on page 213), we provide detail on the formats of the historic and new NADCON grids: https://www.ngs.noaa.gov/library/pdfs/NOAA_TR_NOS_NGS_0063.pdf” -- Andria I’ve searched the mailing list for this solution and I may have missed one if it exists. So my first question is whether this situation has already been resolved. Did I simply not see it? You're not missing anything, we don't have a reader to handle this new ".b" format. It's the first time I hear about it. If not, I am willing to “Earn my Support” and go through the process of converting *.b files into *.las and *.los files so that they can seamlessly be dropped into place in the user_projections directory. I will document my steps and submit them so that perhaps they can help others. My second question is whether you consider this a sound approach or whether you’d advise a different one. The best option would be to write a reader for that new format, but it's going to either require funds or, if you have java dev skills, your time. A documented conversion approach is the second best option of course. Cheers Andrea == 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 --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. -- 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:
Re: [Geoserver-users] JP2 overlap: cannot make "white background" transparent
Hi Adam, I recently came across same issue while trying to put a raster layer on the map via WMS service. The only difference is that my data source was a raster Tiff file. I tried setting the output transparent color to #FF but it didn't help. I could finally get rid of the white background by adding a parameter 'transparent=true' to the WMS URL. Try if it solves your problem. Cheers! Priyanshu On Thu, Jun 21, 2018 at 1:38 PM GeoUser via Geoserver-users < geoserver-users@lists.sourceforge.net> wrote: > Set output transparent color to FF. > > > > -- > 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 > -- Priyanshu Agarwal -- 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
Re: [Geoserver-users] JP2 overlap: cannot make "white background" transparent
Set output transparent color to FF. -- 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
Re: [Geoserver-users] NADCON grid shift transforms - data file formats have changed
On Thu, Jun 21, 2018 at 6:06 AM, Valley GIS Limited < esing...@peaklandservices.com> wrote: > I was seeking to transform my NAD83 vector data into NAD27 using the > documented instructions at http://docs.geoserver.org/ > stable/en/user/configuration/crshandling/coordtransforms.html and the > link to the NADCON program posted will no longer provide the files needed > by Geoserver to perform this operation. They’ve changed their software and > they’ve changed their underlying data. From the email that I received when > checking into this issue with NGS: > > > > “With NADCON 5.0 we moved from the *.las and *.los format to the *.b > format.” > > “In the NADCON 5.0 report, Chapter 10 (starts on page 213), we provide > detail on the formats of the historic and new NADCON grids: > https://www.ngs.noaa.gov/library/pdfs/NOAA_TR_NOS_NGS_0063.pdf” > > -- Andria > > > > I’ve searched the mailing list for this solution and I may have missed one > if it exists. So my first question is whether this situation has already > been resolved. Did I simply not see it? > You're not missing anything, we don't have a reader to handle this new ".b" format. It's the first time I hear about it. > > > If not, I am willing to “Earn my Support” and go through the process of > converting *.b files into *.las and *.los files so that they can seamlessly > be dropped into place in the user_projections directory. I will document > my steps and submit them so that perhaps they can help others. My second > question is whether you consider this a sound approach or whether you’d > advise a different one. > The best option would be to write a reader for that new format, but it's going to either require funds or, if you have java dev skills, your time. A documented conversion approach is the second best option of course. Cheers Andrea == 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 --- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.* -- 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
Re: [Geoserver-users] Elevation profile
Hi Fawzy, Off the top of my head I think that's going to be your best option, though others probably know better. It *might* be possible to do it via WPS, but you're still going to need something behind it that does the processing part. > Another question, if I put the geotiff file in a PostGIS table (as a raster data type), can I publish this table as a layer in Geoserver, and use it normally like geotiff layer? I believe it's possible (https://gis.stackexchange.com/questions/28423/publish-postgis-raster-to-geoserver ) but it's generally not good practice as PostGIS isn't really made for serving raw raster data. You'll get much more performance serving it up as a GeoTIFF. Cheers, Jonathan On 2018-06-19 10:36, faw...@tutamail.com wrote: Hi, I want to create an elevation profile using Geoserver. I have a large geotiff file that contains the elevations. I've Googled for this problem and found the following solution https://gis.stackexchange.com/questions/110241/how-to-get-elevation-profile-from-tif-dsm-on-the-web-map The solution requires to put the geotiff file in PostGIS table, then execute a query to get the profile. Actually I do not want to put the geotiff in a DB, to not have duplicate data in my project, because I'm using this geotiff file as a layer in Geoserver for other purpose. My question is, is there other methods to create elevation profile in Geoserver? can I make a Geotools custom function that does that? Another question, if I put the geotiff file in a PostGIS table (as a raster data type), can I publish this table as a layer in Geoserver, and use it normally like geotiff layer? Regards, Fawzy -- 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