Re: [Geoserver-users] SLD styling in production environment

2018-11-07 Thread Nauwanga Nauwanga
Hello All,

I use Udig for sophisticated stylings, like layers with categorized
symbologies and labeling something QGIS does not do very well.
I then import the SLD in Geoserver.

Best
Amelia

On Wed, Nov 7, 2018 at 5:30 PM Ian Turton  wrote:

> Depending on how you like styling things, if you like clicking a mouse you
> may find SLDEditor  is worth
> installing but if you prefer a more "code" based approach then I would use
> the SLD editor in GeoServer. Unless you already know CSS (and like it) I
> would steer clear of it.
>
> But this is mostly my prejudices showing (and my RSI from too much mouse
> work playing up).
>
> Ian
>
> On Wed, 7 Nov 2018 at 13:44, Ville Koivisto <
> ville.koivi...@kuntotekniikka.fi> wrote:
>
>> *Dear list,*
>>
>>
>>
>> I need start working on with a bunch of styling with different layers.
>> Knowing Geoserver, alternatives are either SLD or CSS. Could someone more
>> experienced please enlighten me, what might be the most efficient way of
>> producing SLD styles when number of styled layers is high?
>>
>>
>>
>> Should I start learning CSS and go with that?
>>
>>
>>
>> Should I produce SLD styles with QGIS and then repair their mismatches
>> which are caused by version conflict? Or just start writing them in
>> Geoserver panel? Use Udig that can produce SLD 1.0.0 as I’ve heard?
>>
>>
>>
>> Thanks in advance.
>>
>>
>>
>> *Kind regards,*
>>
>>
>>
>> Ville Koivisto
>>
>> +35840 701 4283
>>
>> GIS Expert
>>
>> Suomen kuntotekniikka Oy
>>
>> [image: KUNTO TEKNIIKKA logo transparent FF9900]
>>
>>
>> ___
>> 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
>>
>
>
> --
> Ian Turton
> ___
> 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 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] WMS does not permit cross origin framing

2018-07-04 Thread Nauwanga Nauwanga
Dear Jody

I am using Tomcat,I tried uncomenting the CORS Filter in the xml using the
// but still did not take away the error?

It appears to me that I am trying to call parameters which are not defined,
https://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it

I believe this has to do with undefined WMS get feature info request
parameters which I am not sure how to set.

Thank you for the suggestion.

Regards
Amelia

On Tue, Jul 3, 2018 at 8:34 PM, Jody Garnett  wrote:

> Filling in some of those headers is a matter of configuring the
> application server
> <http://docs.geoserver.org/latest/en/user/production/container.html>. Are
> you using tomcat application server, or the default 'jerry' application
> server we provide with the standalone geoserver application.
> --
> Jody Garnett
>
>
> On Mon, 2 Jul 2018 at 01:49, Nauwanga Nauwanga 
> wrote:
>
>> Dear List,
>>
>> I am still working on geting multiple layers to identify on OpenLayers 4.
>> Currently I am getting an Error WMS does not permit cross origin framing
>> (firefox) and chrome says Resource interpreted as Document but transferred
>> with MIME type application/xml. I strongly believe this has to do with the
>> way I have sent the request to Geoserver. I have been reading on WMS
>> getfeature info but I cannot put out the correct code or how to set
>> GetFeature info paramaters in the code. I know where to find information
>> such as services,bbox on individual WMS urls. Perharps someone can point me
>> to a code to set WMS get feature info parameters request.
>>
>> Here is my current code
>>
>>  map.on('click', function (evt) {
>> var url = GetFeatureInfoUrl = 'http://localhost:8080/
>> geoserver/County/wms'
>> 'evt.coordinate', 'viewResolution', 'viewProjection', 'EPSG:3857',
>> {'INFO_FORMAT': 'text/html',
>> 'QUERY_LAYERS': 'County:Boundary,County:
>> Regions,County:Constituencies,County:Towns'};
>> if (url) {
>>   document.getElementById('info').innerHTML =
>> content.innerHTML = '';
>> }
>> });
>>
>> Thank you all for your assistance.
>>
>> Best regards
>> Amelia
>> 
>> --
>> 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] WMS does not permit cross origin framing

2018-07-02 Thread Nauwanga Nauwanga
Dear List,

I am still working on geting multiple layers to identify on OpenLayers 4.
Currently I am getting an Error WMS does not permit cross origin framing
(firefox) and chrome says Resource interpreted as Document but transferred
with MIME type application/xml. I strongly believe this has to do with the
way I have sent the request to Geoserver. I have been reading on WMS
getfeature info but I cannot put out the correct code or how to set
GetFeature info paramaters in the code. I know where to find information
such as services,bbox on individual WMS urls. Perharps someone can point me
to a code to set WMS get feature info parameters request.

Here is my current code

 map.on('click', function (evt) {
var url = GetFeatureInfoUrl = '
http://localhost:8080/geoserver/County/wms'
'evt.coordinate', 'viewResolution', 'viewProjection', 'EPSG:3857',
{'INFO_FORMAT': 'text/html',
'QUERY_LAYERS':
'County:Boundary,County:Regions,County:Constituencies,County:Towns'};
if (url) {
  document.getElementById('info').innerHTML =
content.innerHTML = '';
}
});

Thank you all for your assistance.

Best regards
Amelia
--
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] Fwd: SQL view lost after restarting Tomcat

2018-06-28 Thread Nauwanga Nauwanga
Thank you Erik,

After some further research another solution would be to customize the
content ftl/template to show only desired columns.I will try to implement
this solution

https://gis.stackexchange.com/questions/6009/how-to-select-
fields-returned-by-geoserver-wms-getfeatureinfo-request


On Thu, Jun 28, 2018 at 12:58 AM, Valley GIS Limited <
esing...@peaklandservices.com> wrote:

> Hello Amelia,
>
>
>
>   The only thing I would suggest is maybe experiment with building your
> view on the database end of things.  I prefer, whenever possible, to
> publish layers that are provided by Materialized Views (virtually a table)
> and harness the strengths of the database engine.  Instead of performing
> n-many complex calculations on demand, x-many times per session, these
> calculations are made when the m_view is refreshed.  I can run cron jobs /
> scheduled tasks to perform this as often as necessary.  New indices can be
> made which are unique to the contents of this specific view which may
> further improve performance.
>
>   If you are publishing a layer from a materialized view, you’re avoiding
> the possibility of Geoserver discarding your finely-tuned configuration.
> That fine-tuning occurs outside its scope, within the database engine.
>
>
>
> I hope this helps,
>
> Erik
>
>
>
> *From:* Nauwanga Nauwanga [mailto:amellynicode...@gmail.com]
> *Sent:* Wednesday, June 27, 2018 12:21 PM
> *To:* GeoServer Mailing List List 
> *Subject:* [Geoserver-users] SQL view lost after restarting Tomcat
>
>
>
> Hello list
>
>
>
> I have successfully created the SQL view in Geoserver, I then copied my
> code for the template into the workspace and previewed my layer in
> Geoserver and Openlayers which works fine. Displays the filtered attribute
> accordingly.
>
>
>
> The issue is that after I stop Tomcat and restart it, it throws away the
> SQL view definition and brings a whole list of attribute information for
> the layer.
>
>
>
> I am suspecting this has to do with the code in the content ftl.
>
>
>
> Do I need to define the column headings to be displayed on the client side
> in the content ftl after creating the SQL view? Is there a tutorial that I
> can follow.
>
>
>
> My other Question is one of my layer has photos as attribute. The default
> window is thus small and would like to find out on how to expand it? (I
> would like to do this for now due to limited time and improve on the code
> by implementing the popup afterwards).
>
>
>
> I am running Geoserver 2.13
>
>
>
> Thank you all for your help.
>
>
>
> Kind Regards
>
> Amelia
>
--
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] SQL view lost after restarting Tomcat

2018-06-27 Thread Nauwanga Nauwanga
Hello list

I have successfully created the SQL view in Geoserver, I then copied my
code for the template into the workspace and previewed my layer in
Geoserver and Openlayers which works fine. Displays the filtered attribute
accordingly.

The issue is that after I stop Tomcat and restart it, it throws away the
SQL view definition and brings a whole list of attribute information for
the layer.

I am suspecting this has to do with the code in the content ftl.

Do I need to define the column headings to be displayed on the client side
in the content ftl after creating the SQL view? Is there a tutorial that I
can follow.

My other Question is one of my layer has photos as attribute. The default
window is thus small and would like to find out on how to expand it? (I
would like to do this for now due to limited time and improve on the code
by implementing the popup afterwards).

I am running Geoserver 2.13

Thank you all for your help.

Kind Regards
Amelia
--
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] HOW TO SELECT AN INDIVIDUAL GEOMETRY FEATURE FROM A LAYER IN OPENLAYERS 4

2018-06-25 Thread Nauwanga Nauwanga
Hello List,

This is an OpenLayer issue but I am hoping someone can assist me.
I have been trying to get multiple wms layers to identify in Openlayer to
no success at all. Only one layer is identifying.

I would like to find out HOW TO SELECT AN INDIVIDUAL GEOMETRY FEATURE FROM
A LAYER IN OPENLAYERS 4.

Thank you all so much for your help.

Kind regards
Amelia
--
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] Active url not displaying in Geoserver but active in QGIS

2018-06-02 Thread Nauwanga Nauwanga
Hello Ian,

Thanks for your reply, I learned that Geoserver requires the url to be
defined in the content ftl to display.
http://longwayaround.org.uk/notes/custom-geoserver-getfeatureinfo-template/

I am working on it.

Thanks

On Sat, Jun 2, 2018 at 11:26 AM, Ian Turton  wrote:

> How are you displaying the links? have you customised the template?
>
> Ian
>
> On Fri, 1 Jun 2018 at 19:23, Nauwanga Nauwanga 
> wrote:
>
>> Hello there,
>>
>> I have active url's that I would like to display per feature. The url's
>> works fine in QGIS without a need to create an action, if I double click on
>> the link from the list of attribute information by means of the identify
>> tool, it direct me exactly to where it should go. However when I preview my
>> layers in Geoserver the link is no longer active? How do I resolve this?
>>
>> Thank you.
>> Amelia
>> 
>> --
>> 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
>>
>
>
> --
> Ian Turton
>
--
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] Active url not displaying in Geoserver but active in QGIS

2018-06-01 Thread Nauwanga Nauwanga
Hello there,

I have active url's that I would like to display per feature. The url's
works fine in QGIS without a need to create an action, if I double click on
the link from the list of attribute information by means of the identify
tool, it direct me exactly to where it should go. However when I preview my
layers in Geoserver the link is no longer active? How do I resolve this?

Thank you.
Amelia
--
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] WMS Layers not identifying

2018-05-17 Thread Nauwanga Nauwanga
Hello there,

I loaded my WMS layers that I have created in Geoserver in Openlayers. I
have 5 layers and only the first one that I have loaded get to Identify.
The rest of the other layers the popup shows up empty.

I did some research and found this code to be the solution

map.on('click', function (evt) {
var url = wms_layer.getSource().getGetFeatureInfoUrl(
evt.coordinate, viewResolution, viewProjection,
{
'INFO_FORMAT': 'text/html',
'QUERY_LAYERS':
'HissarFullData:block_boundary,HissarFullData:habitations,HissarFullData:pwd'
});


I changed the code accordingly but now I am getting an error on this line

'INFO_FORMAT': 'text/html',

It is says in chrome Uncaught Syntax Error Unexpected token:

Mozilla firefox says the character encoding of the Html document is not
declared.

So now I am have been trying to figure out how to declare the encoding in
Openlayers and I cannot seem to get that right. Can someone please advise
if I am heading the right path and refer some codes/tutorials for me to try
and figure out the solution.

Many thanks.

Regards
Amelia
--
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] Displaying the picture in Geoserver

2018-05-14 Thread Nauwanga Nauwanga
I finally managed to get my pictures to work. This tutorial still provided
all major steps
http://docs.geoserver.org/latest/en/user/tutorials/GetFeatureInfo/index.html

Since I am using Xamp I needed to put my pictures in the tomcat folder.

Thank you all for your patience.
--
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] Fwd: Fwd: Displaying the picture in geoserver

2018-05-08 Thread Nauwanga Nauwanga
my apologies,
 I have changed the src as follows
 

based on the below explanation, not as given earlier but still does not work

Thank you Ian,

I tried to convert one sample picture to an active url to test using Google
drive, the Url works once I am signed in to my gmail (previewing the
picture link works just fine in chrome).
I took the link and placed it in my attribute table (for one point feature)
,it looks like this https://drive.google.com/uc?id=10ZOOUuX1ImkDtTJCu-U2n7w-
0aeLapKM
then I changed the img src in the content ftl to the following


buildvwg_2018=attribute column heading with the link for the feature picture
This still does not work.

I will give it more tries and revert back.




On Mon, May 7, 2018 at 7:16 PM, Ian Turton <ijtur...@gmail.com> wrote:

> Do you have an example URL for an image? is that stored in your database?
>
> if so then all you need is an 
> where you replace thumb nail with the attribute name.
>
> If you don't have the full URL stored in the database then you'll need to
> add the root of the URL to the attribute. https://myurl.myserver.com/images/${feature.THUMBNAIL.value};>
>
> Ian
>
> On 7 May 2018 at 17:04, Nauwanga Nauwanga <amellynicode...@gmail.com>
> wrote:
>
>> Dear All,
>>
>> For quite sometimes now, I have been trying to figure out how to get
>> pictures to display in Geoserver but still not working. I got someone to
>> help me configure the IP address but still does not work.
>>
>>
>> The question I have is how do I create the qualified url that I should
>> call in the content ftl as suggested by Mark?
>>
>> After creating the working url, does the individual pictures in the
>> attribute table also needs to be qualified url? how do I create this?
>> because I would like each point to have its picture showing together with
>> the attribute information.
>>
>>
>> My pictures are stored in normal folders and I created paths in the
>> attribute table. I did a QGIS to web app and I manage to get the pictures
>> to show without so much struggle only a few configuration but I now I also
>> need it it to work on the other application using Geoserver.
>>
>> Thank you so much for the hints/recommendation.
>>
>> Regards
>> Amelia
>>
>>
>>
>> On Sun, Apr 22, 2018 at 1:20 PM, Mark Prins <mc.pr...@gmail.com> wrote:
>>
>>>
>>>
>>> 2018-04-21 16:31 GMT+02:00 Nauwanga Nauwanga <amellynicode...@gmail.com>
>>> :
>>>
>>>>
>>>>   
>>>>
>>>>   
>>>> 
>>>>
>>>>
>>>> The tutorial suggested that  I should refer to my Internet visible
>>>> server address instead of localhost, or its IP if I have fixed IPs, I do
>>>> not understand this very very well,
>>>>
>>>>
>>> the img src should end up to be a fully qualified url to the image in
>>> the featureinfo response so the browser knows where to get it; it cannot be
>>> a file path. It can be localhost, but the the url will only resolve if the
>>> webbrowser and the webserver hosting the image are on the same machine, it
>>> can be a relative link to the geoserver url if you are hosting the image on
>>> the same webserver as geoserver, I'm assuming you aren't.
>>>
>>> Mark
>>>
>>> --
>>> Disclaimer;
>>> This message is just a reflection of what I thought at the time of
>>> sending. The message may contain information that is not intended for you
>>> or that you don't understand.
>>>
>>> 
>>> --
>>> 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-req
>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/

[Geoserver-users] Fwd: Displaying the picture in geoserver

2018-05-07 Thread Nauwanga Nauwanga
Dear All,

For quite sometimes now, I have been trying to figure out how to get
pictures to display in Geoserver but still not working. I got someone to
help me configure the IP address but still does not work.


The question I have is how do I create the qualified url that I should call
in the content ftl as suggested by Mark?

After creating the working url, does the individual pictures in the
attribute table also needs to be qualified url? how do I create this?
because I would like each point to have its picture showing together with
the attribute information.


My pictures are stored in normal folders and I created paths in the
attribute table. I did a QGIS to web app and I manage to get the pictures
to show without so much struggle only a few configuration but I now I also
need it it to work on the other application using Geoserver.

Thank you so much for the hints/recommendation.

Regards
Amelia



On Sun, Apr 22, 2018 at 1:20 PM, Mark Prins <mc.pr...@gmail.com> wrote:

>
>
> 2018-04-21 16:31 GMT+02:00 Nauwanga Nauwanga <amellynicode...@gmail.com>:
>
>>
>>   
>>
>>   
>> 
>>
>>
>> The tutorial suggested that  I should refer to my Internet visible
>> server address instead of localhost, or its IP if I have fixed IPs, I do
>> not understand this very very well,
>>
>>
> the img src should end up to be a fully qualified url to the image in the
> featureinfo response so the browser knows where to get it; it cannot be a
> file path. It can be localhost, but the the url will only resolve if the
> webbrowser and the webserver hosting the image are on the same machine, it
> can be a relative link to the geoserver url if you are hosting the image on
> the same webserver as geoserver, I'm assuming you aren't.
>
> Mark
>
> --
> Disclaimer;
> This message is just a reflection of what I thought at the time of
> sending. The message may contain information that is not intended for you
> or that you don't understand.
>
> 
> --
> 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-req
> uesting-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] Displaying the picture in geoserver

2018-04-21 Thread Nauwanga Nauwanga
Hello there,

I am still struggling to display my pictures whose paths are in the
attribute table and would like to display as pictures and not paths.

Currently, only the path of the picture is showing and not the actual
picture.

I have the pictures in the attribute as hyperlinks.

I tried to change the content ftl for my point file to the following
<#list features as feature>
  Type: ${type.name} (id: ${feature.fid}):

  <#list feature.attributes as attribute>
<#if !attribute.isGeometry>
  ${attribute.name}: ${attribute.value}


<#list features as feature>
  Point of interest, "${feature.NAME.value}": 
  

  



The tutorial suggested that  I should refer to my Internet visible server
address instead of localhost, or its IP if I have fixed IPs, I do not
understand this very very well,

hence my struggle with defining the src.
http://docs.geoserver.org/latest/en/user/tutorials/GetFeatureInfo/index.html

Someone please help.

Thank you.
--
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] Geoserver Poi Template:Displaying pictures

2018-04-17 Thread Nauwanga Nauwanga
Hello Ian,

Thank you for yesterday's recommendation I tried to work on it to no
success.
Please advise where I am going wrong,
Also would like to mention that the pictures are stored in QGIS
(hyperlinks) and would like the same to show below the list of attribute in
openlayers (is this possible?).

Thank you for your help.

On Mon, Apr 16, 2018 at 6:33 PM, Ian Turton <ijtur...@gmail.com> wrote:

>
>
> On 16 April 2018 at 17:06, Nauwanga Nauwanga <amellynicode...@gmail.com>
> wrote:
>
>> Hello Everyone
>>
>> I am seeking advise regarding displaying pictures in the popup.
>>
>> I did create a popup and also changed the template as per this tutorial,
>> http://docs.geoserver.org/latest/en/user/tutorials/GetFeatur
>> eInfo/index.html
>>
>> My challenge is I cannot find this directory being refered to here in
>> Geoserver
>> workspaces/topp/DS_poi/poi
>>
>
> That is a reference to the layer with the points of interest in the
> example - you should replace that with the  name of your data
> (for topp) and the name of your  for DS_poi and the name of your
>  for poi
>
>>
>>
>> I am assuming it is this directory on my computer,
>> C:\Program Files (x86)\GeoServer 2.12.1\data_dir\workspaces\top
>> p\states_shapefile\states
>>
>> under this directory there are five files
>> description.ftl
>> featuretype.xml
>> layer.xml
>> title.ftl
>>
>> I am hoping it is the featuretype.xml file being referred to in the
>> tutorial? my question, where do I paste the code being referred to in this
>> tutorial in the xml file? Can I display my pictures straight from the
>> attribute table or I need to do some other settings.
>>
>>
> Never, ever (even in fun) change the  featuretype.xml file it will break
> GeoServer's ability to display your data. You should be editing the
> content.ftl file
>
>
> Ian
>
>


content.ftl
Description: Binary data
--
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] Geoserver Poi Template:Displaying pictures

2018-04-16 Thread Nauwanga Nauwanga
Hello Everyone

I am seeking advise regarding displaying pictures in the popup.

I did create a popup and also changed the template as per this tutorial,
http://docs.geoserver.org/latest/en/user/tutorials/GetFeatureInfo/index.html

My challenge is I cannot find this directory being refered to here in
Geoserver
workspaces/topp/DS_poi/poi

I am assuming it is this directory on my computer,
C:\Program Files (x86)\GeoServer
2.12.1\data_dir\workspaces\topp\states_shapefile\states

under this directory there are five files
description.ftl
featuretype.xml
layer.xml
title.ftl

I am hoping it is the featuretype.xml file being referred to in the
tutorial? my question, where do I paste the code being referred to in this
tutorial in the xml file? Can I display my pictures straight from the
attribute table or I need to do some other settings.


Kindly advise, your assistance will be highly appreciated.

Regards
Amelia

The pictures I would like to display are stored in an attribute table.

This pictures have
On Fri, Apr 6, 2018 at 1:52 AM, Nauwanga Nauwanga <amellynicode...@gmail.com
> wrote:

> Hello list,
>
> I wanted to say I did manage to get rid of the X Frame error
>
> Here is the solution,
> https://helpx.adobe.com/target/kb/how-to-use-a-
> browser-extension-to-remove-x-frame-options-console.html
>
> Thank you Dave for the hints,
>
> On Tue, Apr 3, 2018 at 2:34 PM, Dave Potts <mrdapo...@gmail.com> wrote:
>
>> Cors issues normally need to be resolved by your web server.
>>
>> There is a cors filter that needs to be enabled in the current version of
>> tomcat.
>> https://tomcat.apache.org/tomcat-8.0-doc/config/filter.html
>>
>> There is also a plugin in for Chrome that will spoof the cors issue
>> https://chrome.google.com/webstore/detail/allow-control-allo
>> w-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
>>
>> In Spring is possible to turn a filter on.
>> see
>>
>>
>>
>> On 3 April 2018 at 09:19, Nauwanga Nauwanga <amellynicode...@gmail.com>
>> wrote:
>>
>>> If there is anyone who can assist with setting proxy for Openlayer 4, I
>>> will really appreciate.
>>>
>>> On Tue, Apr 3, 2018 at 9:55 AM, Nauwanga Nauwanga <
>>> amellynicode...@gmail.com> wrote:
>>>
>>>> Hi Andria,
>>>>
>>>> Yes I am still busy researching, I believe I have found the solution
>>>> which has to do with cross domain. I therefore need to set my proxy
>>>> accordingly.
>>>>
>>>> I am getting the error that says access to image has been blocked by
>>>> CORS policy.
>>>>
>>>> *The real issue is now how to set proxy in Openlayer 4.*
>>>>
>>>> I have found some links with the setting but not working?
>>>>
>>>> Here are some links with the solution
>>>> http://www.fernandoquadro.com.br/html/2009/03/05/configurand
>>>> o-o-proxyhost-no-openlayers/
>>>> https://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/
>>>>
>>>> Still busy trying to get this figured and working.
>>>>
>>>> Kind regards
>>>> Amelia
>>>>
>>>>
>>>> On Thu, Mar 29, 2018 at 11:07 AM, Andrea Aime <
>>>> andrea.a...@geo-solutions.it> wrote:
>>>>
>>>>> HI Amelia,
>>>>> I see you got no answer here, maybe you should ask on the OpenLayers
>>>>> mailing list too?
>>>>>
>>>>> Cheers
>>>>> Andrea
>>>>>
>>>>> On Wed, Mar 28, 2018 at 4:33 AM, Nauwanga Nauwanga <
>>>>> amellynicode...@gmail.com> wrote:
>>>>>
>>>>>> Hello Everyone
>>>>>>
>>>>>> I am new to Web Mapping and I have been trying to get the feature
>>>>>> info to work for my WMS when I group them with Openlayer. I am using
>>>>>> Openlayer 4.
>>>>>>
>>>>>> I am trying the following to no success
>>>>>> http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html
>>>>>>
>>>>>> Thank you for your kind help.
>>>>>>
>>>>>> Kind regards
>>>>>> Amelia
>>>>>>
>>>>>> 
>>>>>> --
>>>>>> 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] WMS get feature info

2018-04-05 Thread Nauwanga Nauwanga
Hello list,

I wanted to say I did manage to get rid of the X Frame error

Here is the solution,
https://helpx.adobe.com/target/kb/how-to-use-a-browser-extension-to-remove-x-frame-options-console.html

Thank you Dave for the hints,

On Tue, Apr 3, 2018 at 2:34 PM, Dave Potts <mrdapo...@gmail.com> wrote:

> Cors issues normally need to be resolved by your web server.
>
> There is a cors filter that needs to be enabled in the current version of
> tomcat.
> https://tomcat.apache.org/tomcat-8.0-doc/config/filter.html
>
> There is also a plugin in for Chrome that will spoof the cors issue
> https://chrome.google.com/webstore/detail/allow-control-allow-origi/
> nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
>
> In Spring is possible to turn a filter on.
> see
>
>
>
> On 3 April 2018 at 09:19, Nauwanga Nauwanga <amellynicode...@gmail.com>
> wrote:
>
>> If there is anyone who can assist with setting proxy for Openlayer 4, I
>> will really appreciate.
>>
>> On Tue, Apr 3, 2018 at 9:55 AM, Nauwanga Nauwanga <
>> amellynicode...@gmail.com> wrote:
>>
>>> Hi Andria,
>>>
>>> Yes I am still busy researching, I believe I have found the solution
>>> which has to do with cross domain. I therefore need to set my proxy
>>> accordingly.
>>>
>>> I am getting the error that says access to image has been blocked by
>>> CORS policy.
>>>
>>> *The real issue is now how to set proxy in Openlayer 4.*
>>>
>>> I have found some links with the setting but not working?
>>>
>>> Here are some links with the solution
>>> http://www.fernandoquadro.com.br/html/2009/03/05/configurand
>>> o-o-proxyhost-no-openlayers/
>>> https://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/
>>>
>>> Still busy trying to get this figured and working.
>>>
>>> Kind regards
>>> Amelia
>>>
>>>
>>> On Thu, Mar 29, 2018 at 11:07 AM, Andrea Aime <
>>> andrea.a...@geo-solutions.it> wrote:
>>>
>>>> HI Amelia,
>>>> I see you got no answer here, maybe you should ask on the OpenLayers
>>>> mailing list too?
>>>>
>>>> Cheers
>>>> Andrea
>>>>
>>>> On Wed, Mar 28, 2018 at 4:33 AM, Nauwanga Nauwanga <
>>>> amellynicode...@gmail.com> wrote:
>>>>
>>>>> Hello Everyone
>>>>>
>>>>> I am new to Web Mapping and I have been trying to get the feature info
>>>>> to work for my WMS when I group them with Openlayer. I am using Openlayer 
>>>>> 4.
>>>>>
>>>>> I am trying the following to no success
>>>>> http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html
>>>>>
>>>>> Thank you for your kind help.
>>>>>
>>>>> Kind regards
>>>>> Amelia
>>>>>
>>>>> 
>>>>> --
>>>>> 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-req
>>>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>>
>>>>>
>>>>> Geoserver-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>>
>>>> Andrea Aime
>>>>
>>>> ==
>>>> GeoServer Professional Services from the experts! Visit
>>>> http://goo.gl/it488V for more information.
>>>> ==
>>>>
>>>> Ing. Andrea Aime
>>>> @geowolf
>>>> Technical Lead

Re: [Geoserver-users] WMS get feature info

2018-04-03 Thread Nauwanga Nauwanga
Hello Dave,

Thank you for the recomendations. I have enable the cors filter and
installed the plugin on chrome.

I am now getting the following error

Refused to display '' in a frame because it set 'X-Frame-Options' to
'sameorigin'

What am I doing wrong?

Many thanks
Amelia

On Tue, Apr 3, 2018 at 2:34 PM, Dave Potts <mrdapo...@gmail.com> wrote:

> Cors issues normally need to be resolved by your web server.
>
> There is a cors filter that needs to be enabled in the current version of
> tomcat.
> https://tomcat.apache.org/tomcat-8.0-doc/config/filter.html
>
> There is also a plugin in for Chrome that will spoof the cors issue
> https://chrome.google.com/webstore/detail/allow-control-allow-origi/
> nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
>
> In Spring is possible to turn a filter on.
> see
>
>
>
> On 3 April 2018 at 09:19, Nauwanga Nauwanga <amellynicode...@gmail.com>
> wrote:
>
>> If there is anyone who can assist with setting proxy for Openlayer 4, I
>> will really appreciate.
>>
>> On Tue, Apr 3, 2018 at 9:55 AM, Nauwanga Nauwanga <
>> amellynicode...@gmail.com> wrote:
>>
>>> Hi Andria,
>>>
>>> Yes I am still busy researching, I believe I have found the solution
>>> which has to do with cross domain. I therefore need to set my proxy
>>> accordingly.
>>>
>>> I am getting the error that says access to image has been blocked by
>>> CORS policy.
>>>
>>> *The real issue is now how to set proxy in Openlayer 4.*
>>>
>>> I have found some links with the setting but not working?
>>>
>>> Here are some links with the solution
>>> http://www.fernandoquadro.com.br/html/2009/03/05/configurand
>>> o-o-proxyhost-no-openlayers/
>>> https://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/
>>>
>>> Still busy trying to get this figured and working.
>>>
>>> Kind regards
>>> Amelia
>>>
>>>
>>> On Thu, Mar 29, 2018 at 11:07 AM, Andrea Aime <
>>> andrea.a...@geo-solutions.it> wrote:
>>>
>>>> HI Amelia,
>>>> I see you got no answer here, maybe you should ask on the OpenLayers
>>>> mailing list too?
>>>>
>>>> Cheers
>>>> Andrea
>>>>
>>>> On Wed, Mar 28, 2018 at 4:33 AM, Nauwanga Nauwanga <
>>>> amellynicode...@gmail.com> wrote:
>>>>
>>>>> Hello Everyone
>>>>>
>>>>> I am new to Web Mapping and I have been trying to get the feature info
>>>>> to work for my WMS when I group them with Openlayer. I am using Openlayer 
>>>>> 4.
>>>>>
>>>>> I am trying the following to no success
>>>>> http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html
>>>>>
>>>>> Thank you for your kind help.
>>>>>
>>>>> Kind regards
>>>>> Amelia
>>>>>
>>>>> 
>>>>> --
>>>>> 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-req
>>>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>>
>>>>>
>>>>> Geoserver-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>>
>>>> Andrea Aime
>>>>
>>>> ==
>>>> GeoServer Professional Services from the experts! Visit
>>>> http://goo.gl/it488V for more information.
>>>> ==
>>>>
>>>> Ing. Andrea Aime
>>>&g

Re: [Geoserver-users] WMS get feature info

2018-04-03 Thread Nauwanga Nauwanga
If there is anyone who can assist with setting proxy for Openlayer 4, I
will really appreciate.

On Tue, Apr 3, 2018 at 9:55 AM, Nauwanga Nauwanga <amellynicode...@gmail.com
> wrote:

> Hi Andria,
>
> Yes I am still busy researching, I believe I have found the solution which
> has to do with cross domain. I therefore need to set my proxy accordingly.
>
> I am getting the error that says access to image has been blocked by CORS
> policy.
>
> *The real issue is now how to set proxy in Openlayer 4.*
>
> I have found some links with the setting but not working?
>
> Here are some links with the solution
> http://www.fernandoquadro.com.br/html/2009/03/05/
> configurando-o-proxyhost-no-openlayers/
> https://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/
>
> Still busy trying to get this figured and working.
>
> Kind regards
> Amelia
>
>
> On Thu, Mar 29, 2018 at 11:07 AM, Andrea Aime <
> andrea.a...@geo-solutions.it> wrote:
>
>> HI Amelia,
>> I see you got no answer here, maybe you should ask on the OpenLayers
>> mailing list too?
>>
>> Cheers
>> Andrea
>>
>> On Wed, Mar 28, 2018 at 4:33 AM, Nauwanga Nauwanga <
>> amellynicode...@gmail.com> wrote:
>>
>>> Hello Everyone
>>>
>>> I am new to Web Mapping and I have been trying to get the feature info
>>> to work for my WMS when I group them with Openlayer. I am using Openlayer 4.
>>>
>>> I am trying the following to no success
>>> http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html
>>>
>>> Thank you for your kind help.
>>>
>>> Kind regards
>>> Amelia
>>>
>>> 
>>> --
>>> 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-req
>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>>
>> Regards,
>>
>> Andrea Aime
>>
>> ==
>> 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
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa=gmail=g>
>> 55054  Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa=gmail=g>
>> (LU)
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>> mob: +39  339 8844549 <+39%20339%20884%204549>
>>
>> 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 privac

Re: [Geoserver-users] WMS get feature info

2018-04-03 Thread Nauwanga Nauwanga
Hi Andria,

Yes I am still busy researching, I believe I have found the solution which
has to do with cross domain. I therefore need to set my proxy accordingly.

I am getting the error that says access to image has been blocked by CORS
policy.

*The real issue is now how to set proxy in Openlayer 4.*

I have found some links with the setting but not working?

Here are some links with the solution
http://www.fernandoquadro.com.br/html/2009/03/05/configurando-o-proxyhost-no-openlayers/
https://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/

Still busy trying to get this figured and working.

Kind regards
Amelia


On Thu, Mar 29, 2018 at 11:07 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> HI Amelia,
> I see you got no answer here, maybe you should ask on the OpenLayers
> mailing list too?
>
> Cheers
> Andrea
>
> On Wed, Mar 28, 2018 at 4:33 AM, Nauwanga Nauwanga <
> amellynicode...@gmail.com> wrote:
>
>> Hello Everyone
>>
>> I am new to Web Mapping and I have been trying to get the feature info to
>> work for my WMS when I group them with Openlayer. I am using Openlayer 4.
>>
>> I am trying the following to no success
>> http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html
>>
>> Thank you for your kind help.
>>
>> Kind regards
>> Amelia
>>
>> 
>> --
>> 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-req
>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> 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
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa=gmail=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa=gmail=g>
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> 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 wer

[Geoserver-users] WMS get feature info

2018-03-27 Thread Nauwanga Nauwanga
Hello Everyone

I am new to Web Mapping and I have been trying to get the feature info to
work for my WMS when I group them with Openlayer. I am using Openlayer 4.

I am trying the following to no success
http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html

Thank you for your kind help.

Kind regards
Amelia
--
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