On 30 July 2017 at 15:56, dracic <davor.ra...@gmail.com> wrote:

> So when no ordering is present in freemarker template the normal behavior
> is that Geoserver orders attributes randomly for each Getfeatureinfo
> request? Is that what you are trying to tell me?
>

I'm saying that GeoServer and the WMS specification make no promises as to
the attribute order in a GetFeatureInfo request.


>
> So my logic tells me that if this is the case, this would be the case with
> the default Geoserver template. But that is not the case. There is an order
> if there is not an explicit order in the template, and that is the order in
> which attributes are listed in the table definition. If that isn't the case
> every Getfeatureinfo would have different attribute order. I haven't seen
> this behavior in any Geoserver setup.
>
>
That some undefined behaviour occurs in a certain way in some cases in no
way implies that it will be that way for all cases.



> This behavior only exists when I apply attribute filter in Geofence -
> whether I have my own template or use the default one.
>
>
So if you need a fixed order set up a template that defines that order,
otherwise ask for the info in another format and sort it your self to match
your requirements.

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

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

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

Reply via email to