Re: [Geoserver-users] Point Data in X,Y Fields in RDBMS
On Wed, Oct 9, 2013 at 10:39 PM, osullivj jeremiahosulli...@gmail.comwrote: Andrea Many thanks for the reply. It looks like we might be going to upgrade to SQL Server in the near future so we can use that source directly. However we need an interim solution to get the web mapping app running in the short term (6 months) What do you think of having a scheduled task to run an ogr2ogr command line to pull out the data from the website into a shp file every x hours? I am aware the .shp isn't recommended for production environments. As it is only point data (@80,000 records) that needs to displayed and we will look at caching the tiles for a few hours to improve performance would it be ok for a few months? A shapefile for 8 points is going to be just fine 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 --- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Using LayerSwitcher() With a Layer Group of WMSs
Hello. I am newbie to GeoServer and OpenLayers. I am trying to setup a WMS that consists of 6 layers of thematic maps on GeoServer. I tried to add LayerSwitched() to the code but the map just went blank. My question is: is it possible to add LayerSwitched for a Layer Group of WMSs? If no, is there another way to show 6 layers of thematic maps (somehow at the same time) on GeoServer? Thanks in advance. //Ammar -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Using LayerSwitcher() With a Layer Group of WMSs
Hi Ammar, WMS is a great tool for showing layers altogether. To pinpoint your issue it will be usefull to have the part of the code you are using to load the layers into the map and to display the layerswitcher. Can you please provide a little snippet? Thank you Lorenzo Pini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == 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, Oct 10, 2013 at 11:08 AM, Ammar ammar8...@yahoo.com wrote: Hello. I am newbie to GeoServer and OpenLayers. I am trying to setup a WMS that consists of 6 layers of thematic maps on GeoServer. I tried to add LayerSwitched() to the code but the map just went blank. My question is: is it possible to add LayerSwitched for a Layer Group of WMSs? If no, is there another way to show 6 layers of thematic maps (somehow at the same time) on GeoServer? Thanks in advance. //Ammar -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Using LayerSwitcher() With a Layer Group of WMSs
Sounds like a question for the OpenLayers list. Russ --- On 10 Oct 2013, at 10:08, Ammar ammar8...@yahoo.com wrote: Hello. I am newbie to GeoServer and OpenLayers. I am trying to setup a WMS that consists of 6 layers of thematic maps on GeoServer. I tried to add LayerSwitched() to the code but the map just went blank. My question is: is it possible to add LayerSwitched for a Layer Group of WMSs? If no, is there another way to show 6 layers of thematic maps (somehow at the same time) on GeoServer? Thanks in advance. //Ammar -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Character encoding
I think it might be a bug. In the Geoserver logs I found: 2013-10-10 12:34:01,240 WARN [wicket.Localizer] - Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = dummy]] No one else experienced this? Please help. My /etc/environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANGUAGE=sv:en LANG=sv_SE.UTF-8 LC_ALL=sv_SE.UTF-8 LC_MESSAGES=sv_SE.UTF-8 LC_NUMERIC=sv_SE.UTF-8 LC_TIME=sv_SE.UTF-8 LC_MONETARY=sv_SE.UTF-8 LC_PAPER=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 My /etc/default/locale: LANG=sv_SE.UTF-8 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Using LayerSwitcher() With a Layer Group of WMSs
Hi, as Russ Hore also pointend, it's an OpenLayers question, here's why: I see you are using the GeoServer OpenLayers Preview as a base to build your map. I highly discourage that, because that page has the only required tools to preview the selected layer. If you want to start learning OpenLayers I recommend you this tutorial: http://docs.openlayers.org/library/introduction.html It's a step-by-step tutorial, very practical. The reason your map becomes blank it's because the OpenLayers library provided with the Preview page doesn't include the LayerSwitcher control. Trying to load that Control breaks the code execution, preventing the loading of the map. As you can see in the source code, there is a comment to warn you about that. !-- Import OpenLayers, reduced, wms read only version -- script src= http://localhost:8080/geoserver/openlayers/OpenLayers.js; type=text/javascript I hope this helps. Regards Lorenzo Pini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == 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, Oct 10, 2013 at 12:18 PM, Ammar ammar8...@yahoo.com wrote: Thanks for your reply Lorenzo. This is part of the code, which I think is related to my problem: [omitted] Regards, Ammar -- *From:* Lorenzo Pini lorenzo.p...@geo-solutions.it *To:* Ammar ammar8...@yahoo.com *Cc:* geoserver-users@lists.sourceforge.net geoserver-users@lists.sourceforge.net *Sent:* Thursday, October 10, 2013 11:53 AM *Subject:* Re: [Geoserver-users] Using LayerSwitcher() With a Layer Group of WMSs Hi Ammar, WMS is a great tool for showing layers altogether. To pinpoint your issue it will be usefull to have the part of the code you are using to load the layers into the map and to display the layerswitcher. Can you please provide a little snippet? Thank you Lorenzo Pini On Thu, Oct 10, 2013 at 11:08 AM, Ammar ammar8...@yahoo.com wrote: Hello. I am newbie to GeoServer and OpenLayers. I am trying to setup a WMS that consists of 6 layers of thematic maps on GeoServer. I tried to add LayerSwitched() to the code but the map just went blank. My question is: is it possible to add LayerSwitched for a Layer Group of WMSs? If no, is there another way to show 6 layers of thematic maps (somehow at the same time) on GeoServer? Thanks in advance. //Ammar -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Character encoding
Hi, I have encountered same issue and talked about it here earlier, but I left for holidays right afterwards and didn't have time to debug it further. Issue is most definitely bug, apparently regression from version 2.3.4 onwards. I couldn't replicate issue with 2.3.3 but it appears in all later versions. I think this should be reported as bug, although it would probably be good if we could find out more accurately what component is causing this issue to help with debugging. //koivutu -Original Message- From: Uggla Henrik [mailto:henrik.ug...@kristianstad.se] Sent: 10. lokakuuta 2013 13:47 To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Character encoding I think it might be a bug. In the Geoserver logs I found: 2013-10-10 12:34:01,240 WARN [wicket.Localizer] - Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = dummy]] No one else experienced this? Please help. My /etc/environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANGUAGE=sv:en LANG=sv_SE.UTF-8 LC_ALL=sv_SE.UTF-8 LC_MESSAGES=sv_SE.UTF-8 LC_NUMERIC=sv_SE.UTF-8 LC_TIME=sv_SE.UTF-8 LC_MONETARY=sv_SE.UTF-8 LC_PAPER=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 My /etc/default/locale: LANG=sv_SE.UTF-8 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Character encoding
Hello. I'm in the same situation. I have installed geoserver 2.4 (war) on a Tomcat 6 on linux CentOs 6.4. I've tried with version 2.3.5 of Geoserver and also same thing happens. Also on Windows. The character encoding problem occurs in texts of the styles and also at the layers, but not in the titles or descriptions of datastores. The version 2.3.4 of geoserver does not occur this problem. Cristina. -Mensaje original- De: Uggla Henrik [mailto:henrik.ug...@kristianstad.se] Enviado el: jueves, 10 de octubre de 2013 12:47 Para: geoserver-users@lists.sourceforge.net Asunto: Re: [Geoserver-users] Character encoding I think it might be a bug. In the Geoserver logs I found: 2013-10-10 12:34:01,240 WARN [wicket.Localizer] - Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = dummy]] No one else experienced this? Please help. My /etc/environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.6.0_45/bin:/root/bin LANGUAGE=sv:en LANG=sv_SE.UTF-8 LC_ALL=sv_SE.UTF-8 LC_MESSAGES=sv_SE.UTF-8 LC_NUMERIC=sv_SE.UTF-8 LC_TIME=sv_SE.UTF-8 LC_MONETARY=sv_SE.UTF-8 LC_PAPER=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 LANG=es_ES.UTF-8 LC_CTYPE=es_ES.UTF-8 LC_NUMERIC=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LC_COLLATE=es_ES.UTF-8 LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=es_ES.UTF-8 LC_PAPER=es_ES.UTF-8 LC_NAME=es_ES.UTF-8 LC_ADDRESS=es_ES.UTF-8 LC_TELEPHONE=es_ES.UTF-8 LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=es_ES.UTF-8 LC_ALL= My /etc/default/locale: LANG=sv_SE.UTF-8 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Hello I wonder if anyone can help. I'm trying to create an Image Mosaic from some tif files stored on a network drive - S:\. However I can't point Geoserver to a network location in the ImageMosaic plugin, just to the local files on the C:\ drive of the server. I've tried replacing S:\ with \\server\sharefile:///\\server\share but that doesn't work either. I don't really want to keep a second copy of these files, so is it possible to create a mosaic from a network location? I also tried this http://osgeo-org.1560.x6.nabble.com/Image-Mosaicking-Plugin-and-UNC-paths-td3806076.html. Geoserver and Tomcat are both running as services on my installation as in this post. The problem seems to be with this is that it definitely doesn't recognise S:\ within the dbf file, and I can't seem to get gdaltindex to write a UNC path. Any help gratefully received. Thanks Sandra CONFIDENTIALITY: The contents of this message are the views of the author, not necessarily the views of the North York Moors National Park Authority. This is a private message intended for the named addressee(s) only. Its contents may be confidential. If you have received this message in error please reply to say so and then delete the message. Any use, copying, disclosure or distribution by anyone other than the addressee is forbidden. www.northyorkmoors.org.ukhttp://www.northyorkmoors.org.uk Scanned by MailDefender - managed email security from intY - www.maildefender.net-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Hi Sandra, that seems strange. I have some sample data contained into a network disk which I refer as V:\bigdisk\... when configuring some mosaics and I have no issues. Could you please provide us some more information? 1) Which geoserver version are you using? 2) How are you configuring the mosaic? (As an instance, I have a V:\bigdisk\mosaic folder containing several TIFFs... I have created an imageMosaic store referring to that folder and it worked fine. Or are you dealing instead with a properties file to define an external location through the IndexingDirectories parameter?) Please, let us know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 2:50 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hello I wonder if anyone can help. I’m trying to create an Image Mosaic from some tif files stored on a network drive – S:\. However I can’t point Geoserver to a network location in the ImageMosaic plugin, just to the local files on the C:\ drive of the server. I’ve tried replacing S:\ with \\server\share but that doesn’t work either. I don’t really want to keep a second copy of these files, so is it possible to create a mosaic from a network location? I also tried this http://osgeo-org.1560.x6.nabble.com/Image-Mosaicking-Plugin-and-UNC-paths-td3806076.html. Geoserver and Tomcat are both running as services on my installation as in this post. The problem seems to be with this is that it definitely doesn’t recognise S:\ within the dbf file, and I can’t seem to get gdaltindex to write a UNC path. Any help gratefully received. Thanks Sandra CONFIDENTIALITY: The contents of this message are the views of the author, not necessarily the views of the North York Moors National Park Authority. This is a private message intended for the named addressee(s) only. Its contents may be confidential. If you have received this message in error please reply to say so and then delete the message. Any use, copying, disclosure or distribution by anyone other than the addressee is forbidden. www.northyorkmoors.org.uk *Scanned by MailDefender - managed email security from intY - www.maildefender.net* -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Create wms settings through the REST
Hi list! Please tell me how can I create wms settings for a given workspace through the REST? Method PUT allows only modify the settings, but does not create it. Cheers, Dmitriy -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Hi Sandra, another question: do you have proper permission on that drive? Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 4:45 PM, Daniele Romagnoli daniele.romagn...@geo-solutions.it wrote: Hi Sandra, I'm keeping the discussion inside the mailing list so that in case I'm unable to provide some more help, someone else can probably do it. Could you try to directly insert the mosaic path inside the ConnectionParameters: URL edit box? (Without using the Browse link) In my example I have: file://V:\bigdisk\data\mosaics\50cm Where V: is the network drive. Please let me know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 4:35 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele Thanks for your reply. I’m using 2.3.5 and configuring the image mosaic by Clicking Add New Store, choosing ImageMosaic and clicking the Browse button and trying to navigate to a location. I can only see local files though and trying to enter the paths to the network in manually doesn’t work either. I just get the error: Could not find file: \\server\share\folder If I copy the files to a local folder on the actual Geoserver server then it works fine. Regards Sandra Sandra Kennish GIS Officer *From:* dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] *On Behalf Of *Daniele Romagnoli *Sent:* 10 October 2013 14:53 *To:* Sandra Kennish *Cc:* geoserver-users@lists.sourceforge.net *Subject:* Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive Hi Sandra, that seems strange. I have some sample data contained into a network disk which I refer as V:\bigdisk\... when configuring some mosaics and I have no issues. Could you please provide us some more information? 1) Which geoserver version are you using? 2) How are you configuring the mosaic? (As an instance, I have a V:\bigdisk\mosaic folder containing several TIFFs... I have created an imageMosaic store referring to that folder and it worked fine. Or are you dealing instead with a properties file to define an external location through the IndexingDirectories parameter?) Please, let us know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 2:50 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hello I wonder if anyone can help. I’m trying to create an Image Mosaic from some tif files stored on a network drive – S:\. However I can’t point Geoserver to a network location in the ImageMosaic plugin, just to the local files on the C:\ drive of the server. I’ve tried replacing S:\ with \\server\share but that doesn’t work either. I don’t really want to keep a second copy of these files, so is it possible to create a mosaic from a network location? I also tried this http://osgeo-org.1560.x6.nabble.com/Image-Mosaicking-Plugin-and-UNC-paths-td3806076.html. Geoserver and Tomcat are both running as services on my installation as in this post. The problem seems to be with this is that it definitely doesn’t recognise S:\ within the dbf file, and I can’t seem to get gdaltindex to write a UNC path. Any help gratefully received. Thanks Sandra CONFIDENTIALITY: The contents of this message are the views of the author, not necessarily the views of the North York Moors National Park Authority. This is a private message intended for the named addressee(s) only. Its contents may be confidential. If you have received this message in error please reply to say so and then delete the message. Any use, copying, disclosure or distribution by anyone other than the addressee is forbidden. www.northyorkmoors.org.uk *Scanned by MailDefender - managed email security from intY - www.maildefender.net*
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Hi Daniele I've typed in: file://S:\OS_1_250_RASTERfile:///S:\OS_1_250_RASTER but I just get an error: Could not find file: file://S:\OS_1_250_RASTERfile:///S:\OS_1_250_RASTER The drives are showing on the server correctly - could it be permissions as I'm logged directly in to Geoserver as a Geoserver user, and while I have full access to these folders, the Geoserver user I'm using probably doesn't. How would I give a Geoserver user file permissions? Regards Sandra Sandra Kennish GIS Officer From: dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] On Behalf Of Daniele Romagnoli Sent: 10 October 2013 15:46 To: Sandra Kennish; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive Hi Sandra, I'm keeping the discussion inside the mailing list so that in case I'm unable to provide some more help, someone else can probably do it. Could you try to directly insert the mosaic path inside the ConnectionParameters: URL edit box? (Without using the Browse link) In my example I have: file://V:\bigdisk\data\mosaics\50cmfile:///V:\bigdisk\data\mosaics\50cm Where V: is the network drive. Please let me know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 4:35 PM, Sandra Kennish s.kenn...@northyorkmoors.org.ukmailto:s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele Thanks for your reply. I'm using 2.3.5 and configuring the image mosaic by Clicking Add New Store, choosing ImageMosaic and clicking the Browse button and trying to navigate to a location. I can only see local files though and trying to enter the paths to the network in manually doesn't work either. I just get the error: Could not find file: \\server\share\folderfile:///\\server\share\folder If I copy the files to a local folder on the actual Geoserver server then it works fine. Regards Sandra Sandra Kennish GIS Officer From: dany.geoto...@gmail.commailto:dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.commailto:dany.geoto...@gmail.com] On Behalf Of Daniele Romagnoli Sent: 10 October 2013 14:53 To: Sandra Kennish Cc: geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive Hi Sandra, that seems strange. I have some sample data contained into a network disk which I refer as V:\bigdisk\... when configuring some mosaics and I have no issues. Could you please provide us some more information? 1) Which geoserver version are you using? 2) How are you configuring the mosaic? (As an instance, I have a V:\bigdisk\mosaic folder containing several TIFFs... I have created an imageMosaic store referring to that folder and it worked fine. Or are you dealing instead with a properties file to define an external location through the IndexingDirectories parameter?) Please, let us know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313tel:%2B39%200584%20962313 fax: +39 0584 1660272tel:%2B39%200584%201660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 2:50 PM, Sandra Kennish s.kenn...@northyorkmoors.org.ukmailto:s.kenn...@northyorkmoors.org.uk wrote: Hello I wonder if anyone can help. I'm trying to create an Image Mosaic from some tif files stored on a network drive - S:\. However I can't point Geoserver to a network location in the ImageMosaic plugin, just to the local files on the C:\ drive of the server. I've tried replacing S:\ with \\server\sharefile:///\\server\share but that doesn't work either. I don't really want to keep a second copy of these files, so is it possible to create a mosaic from a network location? I also tried this http://osgeo-org.1560.x6.nabble.com/Image-Mosaicking-Plugin-and-UNC-paths-td3806076.html. Geoserver and Tomcat are both running as services on my installation as in this post. The problem seems to be with this is that it definitely doesn't recognise S:\ within the dbf file, and I can't seem to get gdaltindex to write a UNC path. Any help gratefully received. Thanks Sandra CONFIDENTIALITY: The contents of this message are the views of the author, not necessarily the views of the North York Moors National Park Authority. This is a private message intended for the named addressee(s) only. Its contents may be
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Ciao Sandra, if you are running GeoServer as a service, you need to fiddle with the account that is running that service to make sure it has acccess to network drives. 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, Oct 10, 2013 at 5:06 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele I’ve typed in: file://S:\OS_1_250_RASTER but I just get an error: Could not find file: file://S:\OS_1_250_RASTER The drives are showing on the server correctly – could it be permissions as I’m logged directly in to Geoserver as a Geoserver user, and while I have full access to these folders, the Geoserver user I’m using probably doesn’t. How would I give a Geoserver user file permissions? Regards Sandra Sandra Kennish GIS Officer From: dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] On Behalf Of Daniele Romagnoli Sent: 10 October 2013 15:46 To: Sandra Kennish; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive Hi Sandra, I'm keeping the discussion inside the mailing list so that in case I'm unable to provide some more help, someone else can probably do it. Could you try to directly insert the mosaic path inside the ConnectionParameters: URL edit box? (Without using the Browse link) In my example I have: file://V:\bigdisk\data\mosaics\50cm Where V: is the network drive. Please let me know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 4:35 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele Thanks for your reply. I’m using 2.3.5 and configuring the image mosaic by Clicking Add New Store, choosing ImageMosaic and clicking the Browse button and trying to navigate to a location. I can only see local files though and trying to enter the paths to the network in manually doesn’t work either. I just get the error: Could not find file: \\server\share\folder If I copy the files to a local folder on the actual Geoserver server then it works fine. Regards Sandra Sandra Kennish GIS Officer From: dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] On Behalf Of Daniele Romagnoli Sent: 10 October 2013 14:53 To: Sandra Kennish Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive Hi Sandra, that seems strange. I have some sample data contained into a network disk which I refer as V:\bigdisk\... when configuring some mosaics and I have no issues. Could you please provide us some more information? 1) Which geoserver version are you using? 2) How are you configuring the mosaic? (As an instance, I have a V:\bigdisk\mosaic folder containing several TIFFs... I have created an imageMosaic store referring to that folder and it worked fine. Or are you dealing instead with a properties file to define an external location through the IndexingDirectories parameter?) Please, let us know. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Oct 10, 2013 at 2:50 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hello I wonder if anyone can help. I’m trying to create an Image Mosaic from some tif files stored on a network drive – S:\. However I can’t point Geoserver to a network location in the ImageMosaic plugin, just to the local files on the C:\ drive of the server. I’ve tried replacing S:\ with \\server\share but that doesn’t work either. I don’t really want to keep a second copy of these files, so is it possible to create a mosaic from a network location? I also tried this http://osgeo-org.1560.x6.nabble.com/Image-Mosaicking-Plugin-and-UNC-paths-td3806076.html. Geoserver and Tomcat are both running as services on my installation
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
On Thu, Oct 10, 2013 at 5:06 PM, Sandra Kennish s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele I’ve typed in: file://S:\OS_1_250_RASTER but I just get an error: Could not find file: file://S:\OS_1_250_RASTER Have you tried with file://S:/OS_1_250_RASTER? Just a shot in the dark, may not be it at all 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 --- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive
Hi Andrea No afraid I get the same error. I'm off for a couple of days now, but I'll try looking at permissions when I get back. Regards Sandra Sandra Kennish GIS Officer From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 10 October 2013 16:43 To: Sandra Kennish Cc: Daniele Romagnoli; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Creating Image Mosaic from Files on a Networked Drive On Thu, Oct 10, 2013 at 5:06 PM, Sandra Kennish s.kenn...@northyorkmoors.org.ukmailto:s.kenn...@northyorkmoors.org.uk wrote: Hi Daniele I've typed in: file://S:\OS_1_250_RASTERfile:///S:\OS_1_250_RASTER but I just get an error: Could not find file: file://S:\OS_1_250_RASTERfile:///S:\OS_1_250_RASTER Have you tried with file://S:/OS_1_250_RASTERfile:///S:\OS_1_250_RASTER? Just a shot in the dark, may not be it at all 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 --- Scanned by MailDefender - managed email security from intY - www.maildefender.nethttp://www.maildefender.net CONFIDENTIALITY: The contents of this message are the views of the author, not necessarily the views of the North York Moors National Park Authority. This is a private message intended for the named addressee(s) only. Its contents may be confidential. If you have received this message in error please reply to say so and then delete the message. Any use, copying, disclosure or distribution by anyone other than the addressee is forbidden. www.northyorkmoors.org.ukhttp://www.northyorkmoors.org.uk Scanned by MailDefender - managed email security from intY - www.maildefender.net-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] No primary key or unique index found for
I'm getting the following error 23:38:06,673 WARN [org.geotools.jdbc] (MSC service thread 1-2) No primary key or unique index found for tcwradiuscf. The error is occurring on a view. We're using version 2.2.4. Any help would be greatly appreciated. Mike smime.p7s Description: S/MIME cryptographic signature -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] No primary key or unique index found for
I ran into this error previously when using Oracle as the backend database for my layer. As the error suggested, I created a unique index on the view, republished the layer, and it worked. What database are you using? In Oracle you can create constraints on views: Sample from documentation CREATE VIEW emp_sal (emp_id, last_name, email UNIQUE, CONSTRAINT id_pk PRIMARY KEY (emp_id)) AS SELECT employee_id, last_name, email FROM employees; Donovan From: Michael Sacauskis [mailto:msacaus...@forwardslope.com] Sent: Thursday, October 10, 2013 10:25 AM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] No primary key or unique index found for I'm getting the following error 23:38:06,673 WARN [org.geotools.jdbc] (MSC service thread 1-2) No primary key or unique index found for tcwradiuscf. The error is occurring on a view. We're using version 2.2.4. Any help would be greatly appreciated. Mike -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] App-Schema: Inheritance question
Hello Rini, I'm still not quite understanding, Why should the class being linked to have the ID field name of the class being linked from as part of its sorting? I agree there should be sorting on the main class by its ID, but it seems wrong to require that same field to exist in the table its linking to. I could understand if it decided to sort the linked class via its own 'id field' but that's not what it does. On 10 October 2013 16:19, rini.angre...@csiro.au wrote: Hi, Ben is quite right. The id ordering is used to handle multivalued properties. If idExpression is missing, it will order by primary key. If you don't want it to select v_super_class.sub_id, then perhaps you can set idExpression to map to another column. http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#idexpression-optional Rini -Original Message- From: Caradoc-Davies, Ben (CESRE, Kensington) Sent: Thursday, 10 October 2013 12:50 PM To: snuffy Cc: geoserver-users@lists.sourceforge.net; Angreani, Rini (CESRE, Kensington) Subject: Re: [Geoserver-users] App-Schema: Inheritance question Please keep discussions on list. I am not sure; I speculate that this is used for multivalued properties or denormalised tables (in the absence of joining). Perhaps Rini can explain? Kind regards, Ben. On 10/10/13 11:59, snuffy wrote: Hello Ben, Was hoping you could explain why app-schema does the following to the database. I have zero issue with the joins, what I do have an issue with is this seemly tacked on the end ASC, v_super_class.sub_id. I do not understand why it is required, now because i'm using postgreSQL inheritance for my tables I was forced to create a view that satisfied this additional requirement. Below is query: SELECT v_super_class.sup_id,v_super_class.sup_metadata_id,v_super_class.sup_f_contains,v_super_class.sub_id,sub_class.sub_id FOREIGN_ID_0_0 FROM v_super_class INNER JOIN sub_class ON ( sub_class.sup_f_contains = v_super_class.sup_f_contains) ORDER BY sub_class.sub_id ASC, v_super_class.sup_id ASC, CASE WHEN sub_class.sup_f_contains = v_super_class.sup_f_contains THEN 0 ELSE 1 END ASC, v_super_class.sub_id On 4 October 2013 14:55, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au mailto:ben.caradoc-dav...@csiro.au wrote: This error means that comcomp:BranchManagerType does not have a property comcomp:otherVar so it cannot be used in a xpath (that is why it referring to location path). targetAttribute is in general an xpath. Kind regards, Ben. On 04/10/13 11:04, snuffy wrote: Hello Ben, I managed to get it working, thanks for your quick reply on this. I'm now trying to generalise this simple use case into my more complex model, with more complex types, and frustratingly I'm getting a new set of errors: java.lang.RuntimeException: Error applying mapping with targetAttribute comcomp:otherVar Error applying mapping with targetAttribute comcomp:__otherVarcomcompotherVar is not a valid location path for type http://www.x.com/comcomp/1.0:__BranchManagerType http://www.x.com/comcomp/1.0:BranchManagerType. comcomp:otherVar ns: http://www.x.com/comcomp/1.0, BranchManagerType properties: null#FEATURE_LINK, http://www.x.com/comcomp/1.0#__branchManagerType http://www.x.com/comcomp/1.0#branchManagerType Since this ended up working fine in my simpler model i'm going to redo my more complex one, in the hope that it does fix the issue. ... but if you have any quick suggestions on what these errors mean, then I'd be very appreciative to hear them. Thanks On 2 October 2013 19:36, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au mailto:Ben.Caradoc-Davies@__csiro.au mailto:ben.caradoc-dav...@csiro.au wrote: Please send us the full error message that you get (include a stack trace from the logs if you have one), and your mapping file. Your schemas look good. Good job using FullMoon to generate them! Kind regards, Ben. On 02/10/13 15:44, snuffy wrote: Hello, I was playing around with app-schema and trying to do inheritance. I've got the following classes: (all exist within same namespace of 'company') There are 3 separate xsd's (person/employee/customer- people.xsd) (manager - people-core.xsd) (branchmanager - people-retail.xsd) Person (fields: name,age)
[Geoserver-users] App-schema and CharacterString Type
Hello All, I am trying to use the following constructs from the GMD namespace: CI_Contact / CI_Telephone + CI_Address It uses the 'CharacterString_PropertyType' which when i look at: http://www.isotc211.org/2005/gco/basicTypes.xsd States: xs:element name=CharacterString type=xs:string/ xs:complexType name=CharacterString_PropertyType xs:sequence minOccurs=0 xs:element ref=gco:CharacterString/ /xs:sequence xs:attribute ref=gco:nilReason/ /xs:complexType So it appears it maps back to the general 'string' type, but it is not working when trying to populate the entry with a varchar from the DB. Ideas? (Below is trace output from geoserver.log) 2013-10-11 11:11:11,192 TRACE [org.geotools.data.complex.filter] - ENTRY FeatureImpl:CI_AddressCI_Address_Type id=2=[] gmd:city next city null null 2013-10-11 11:11:11,192 TRACE [org.geotools.data.complex.filter] - ENTRY FeatureImpl:CI_AddressCI_Address_Type id=2=[ComplexAttributeImpl:cityCharacterString_PropertyType=[]] gmd:postalCode null null null Thanks in advance -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users