[Geoserver-users] Problem loading style through REST (with Python)

Hi everyone:

I'm trying to post an sld heatmap style (the same as the geoserver example
<http://docs.geoserver.org/stable/en/user/styling/sld-extensions/rendering-transform.html&gt;
) using python httplib2 library. I can upload the style, but not as I want.

<FeatureTypeStyle>
       <Transformation>
         *<ogc:Function name="gs:Heatmap">*
           <ogc:Function name="parameter">
             <ogc:Literal>data</ogc:Literal>
           </ogc:Function>
        ...
        </Transformation>
...
</FeatureTypeStyle>

The bold line is uploaded as *<ogc:Function name="Heatmap">* without the
"gs:" before "Heatmap" and that make the style unusable. If I add the "gs:"
manually, the style start working without troubles. If I upload the style
trough the geoserver interface works well too.

I have no problems whit other styles (without transformations).

I'm using geoserver 2.3.3 on a windows 7 64 bits machine.

Thanks!
Álvaro.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-loading-style-through-REST-with-Python-tp5069047.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

HI Álvaro,
Apparently your email got sucked into the spam bin for the mailing list, hence no replies. This sounds like it might be a bug in the RESTful interface. Unless Andrea says otherwise it might be worth reporting - http://docs.geoserver.org/latest/en/user/introduction/gettinginvolved.html#bug-tracking

Jonathan

On 26 July 2013 23:38, AlvaroP <alvaroparedesl@anonymised.com> wrote:

Hi everyone:

I’m trying to post an sld heatmap style (the same as the geoserver example
<http://docs.geoserver.org/stable/en/user/styling/sld-extensions/rendering-transform.html>
) using python httplib2 library. I can upload the style, but not as I want.

** data ... ...

The bold line is uploaded as <ogc:Function name=“Heatmap”> without the
“gs:” before “Heatmap” and that make the style unusable. If I add the “gs:”
manually, the style start working without troubles. If I upload the style
trough the geoserver interface works well too.

I have no problems whit other styles (without transformations).

I’m using geoserver 2.3.3 on a windows 7 64 bits machine.

Thanks!
Álvaro.


View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-loading-style-through-REST-with-Python-tp5069047.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Get 100% visibility into Java/.NET code with AppDynamics Lite!
It’s a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

On Tue, Aug 13, 2013 at 1:54 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

HI Álvaro,
  Apparently your email got sucked into the spam bin for the mailing list,
hence no replies. This sounds like it might be a bug in the RESTful
interface. Unless Andrea says otherwise it might be worth reporting -
http://docs.geoserver.org/latest/en/user/introduction/gettinginvolved.html#bug-tracking

Yep, it's a bug in the SLD reformat routines (which we cannot disable right
now, but for which we could offer an turn off option if someone is up to
develop it)

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

-------------------------------------------------------