Discussion:
Symbols in KML outout
Peter Hopfgartner
2014-10-15 09:57:58 UTC
Permalink
From http://mapserver.org/output/kml_output.html#id2, it should be
possible to have icons for sysmbols. The pixmap of the ison should be
referenced in the href node.
In my output, the href ode looks like:

<href>(null)</href>

Is there anything I missed?

Regards,

Peter

--
Peter Hopfgartner
web : http://www.r3-gis.com
TDS
2014-10-15 11:30:02 UTC
Permalink
Hello,

look at this:
http://lists.osgeo.org/pipermail/mapserver-users/2014-July/076732.html
Problem is known but nobody says why it won't be fixed or similar...

Bye, TDS
------------------------------------------------------------------------
mailto:***@tds-net.de
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
Am 15.10.2014 um 11:57 schrieb Peter Hopfgartner:
> From http://mapserver.org/output/kml_output.html#id2, it should be
> possible to have icons for sysmbols. The pixmap of the ison should be
> referenced in the href node.
> In my output, the href ode looks like:
>
> <href>(null)</href>
>
> Is there anything I missed?
>
> Regards,
>
> Peter
>
Peter Hopfgartner
2014-10-16 08:09:22 UTC
Permalink
Just as a quick fix, I'd propose to drop the href node if no reasonable
value is given. Anything more elaborate can be added later on. Comments?

Peter

On 10/15/2014 11:57 AM, Peter Hopfgartner wrote:
> From http://mapserver.org/output/kml_output.html#id2, it should be
> possible to have icons for sysmbols. The pixmap of the ison should be
> referenced in the href node.
> In my output, the href ode looks like:
>
> <href>(null)</href>
>
> Is there anything I missed?
>
> Regards,
>
> Peter
>


--
Peter Hopfgartner
R3 GIS Srl - GmbH
Via Johann Kravogl-Str. 2
I-39012 Meran/Merano (BZ)
web : www.r3-gis.com
mail : ***@r3-gis.com
phone: +39 0473 494949
fax : +39 0473 069902

ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail.

ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten.

WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003)
Eichner, Andreas - SID
2014-10-16 12:56:27 UTC
Permalink
Never used it but it seems the KML driver creates PNG images on the fly and returns them as href. This seems to be independent of the type of symbol. So you should make sure MS is able to write those images into /tmp or $MS_TEMPPATH. The "(null)" indicates that it was unable to do so.

HTH
________________________________________
Von: mapserver-users-***@lists.osgeo.org [mapserver-users-***@lists.osgeo.org]&quot; im Auftrag von &quot;Peter Hopfgartner [***@r3-gis.com]
Gesendet: Donnerstag, 16. Oktober 2014 10:09
An: mapserver-***@lists.osgeo.org
Betreff: Re: [mapserver-users] Symbols in KML outout

Just as a quick fix, I'd propose to drop the href node if no reasonable
value is given. Anything more elaborate can be added later on. Comments?

Peter

On 10/15/2014 11:57 AM, Peter Hopfgartner wrote:
> From http://mapserver.org/output/kml_output.html#id2, it should be
> possible to have icons for sysmbols. The pixmap of the ison should be
> referenced in the href node.
> In my output, the href ode looks like:
>
> <href>(null)</href>
>
> Is there anything I missed?
>
> Regards,
>
> Peter
>


--
Peter Hopfgartner
R3 GIS Srl - GmbH
Via Johann Kravogl-Str. 2
I-39012 Meran/Merano (BZ)
web : www.r3-gis.com
mail : ***@r3-gis.com
phone: +39 0473 494949
fax : +39 0473 069902

ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail.

ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten.

WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003)
Peter Hopfgartner
2014-10-17 07:57:28 UTC
Permalink
On 10/16/2014 02:56 PM, Eichner, Andreas - SID wrote:
> Never used it but it seems the KML driver creates PNG images on the fly and returns them as href. This seems to be independent of the type of symbol. So you should make sure MS is able to write those images into /tmp or $MS_TEMPPATH. The "(null)" indicates that it was unable to do so.
Hi Andreas,

setting reasonable values for TEMPPATH, IMAGEPATH and IMAGEURL fixed the
issue, indeed.


Thanks,

Peter
> HTH
> ________________________________________
> Von: mapserver-users-***@lists.osgeo.org [mapserver-users-***@lists.osgeo.org]&quot; im Auftrag von &quot;Peter Hopfgartner [***@r3-gis.com]
> Gesendet: Donnerstag, 16. Oktober 2014 10:09
> An: mapserver-***@lists.osgeo.org
> Betreff: Re: [mapserver-users] Symbols in KML outout
>
> Just as a quick fix, I'd propose to drop the href node if no reasonable
> value is given. Anything more elaborate can be added later on. Comments?
>
> Peter
>
> On 10/15/2014 11:57 AM, Peter Hopfgartner wrote:
>> From http://mapserver.org/output/kml_output.html#id2, it should be
>> possible to have icons for sysmbols. The pixmap of the ison should be
>> referenced in the href node.
>> In my output, the href ode looks like:
>>
>> <href>(null)</href>
>>
>> Is there anything I missed?
>>
>> Regards,
>>
>> Peter
>>
>

--
Peter Hopfgartner
web : http://www.r3-gis.com
Smith, Michael ERDC-RDE-CRREL-NH
2014-10-16 13:16:10 UTC
Permalink
You also have to make sure that the IMAGEURL is a full web URL not just a
path.

Mike

On 10/16/14, 8:56 AM, "Eichner, Andreas - SID"
<***@sid.sachsen.de> wrote:

>Never used it but it seems the KML driver creates PNG images on the fly
>and returns them as href. This seems to be independent of the type of
>symbol. So you should make sure MS is able to write those images into
>/tmp or $MS_TEMPPATH. The "(null)" indicates that it was unable to do so.
>
>HTH
>________________________________________
>Von: mapserver-users-***@lists.osgeo.org
>[mapserver-users-***@lists.osgeo.org]&quot; im Auftrag von
>&quot;Peter Hopfgartner [***@r3-gis.com]
>Gesendet: Donnerstag, 16. Oktober 2014 10:09
>An: mapserver-***@lists.osgeo.org
>Betreff: Re: [mapserver-users] Symbols in KML outout
>
>Just as a quick fix, I'd propose to drop the href node if no reasonable
>value is given. Anything more elaborate can be added later on. Comments?
>
>Peter
>
>On 10/15/2014 11:57 AM, Peter Hopfgartner wrote:
>> From http://mapserver.org/output/kml_output.html#id2, it should be
>> possible to have icons for sysmbols. The pixmap of the ison should be
>> referenced in the href node.
>> In my output, the href ode looks like:
>>
>> <href>(null)</href>
>>
>> Is there anything I missed?
>>
>> Regards,
>>
>> Peter
>>
>
>
>--
>Peter Hopfgartner
>R3 GIS Srl - GmbH
>Via Johann Kravogl-Str. 2
>I-39012 Meran/Merano (BZ)
>web : www.r3-gis.com
>mail : ***@r3-gis.com
>phone: +39 0473 494949
>fax : +39 0473 069902
>
>ATTENZIONE! Le informazioni contenute nella presente e-mail e nei
>documenti eventualmente allegati sono confidenziali. La loro diffusione,
>distribuzione e/o riproduzione da parte di terzi, senza autorizzazione
>del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di
>ricezione per errore, Vogliate immediatamente informare il mittente del
>messaggio e distruggere la e-mail.
>
>ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten
>beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung
>und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders
>verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie
>diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns
>umgehend zu informieren und anschließend die Mitteilung zu vernichten.
>
>WARNING! This e-mail may contain confidential and/or privileged
>information. If you are not the intended recipient (or have received this
>e-mail in error) please notify the sender immediately and destroy this
>e-mail. Any unauthorised copying, disclosure or distribution of the
>material in this e-mail is strictly forbidden and could be against the
>law (D. Lgs. 196/2003)
>
>_______________________________________________
>mapserver-users mailing list
>mapserver-***@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
>_______________________________________________
>mapserver-users mailing list
>mapserver-***@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
Loading...