[mapguide-users] RES: How to display PNG images
Gordon Luckett
gordon.luckett at arrowgeomatics.com
Tue Sep 27 12:19:13 PDT 2022
Most images in MapGuide require a georeferencing file or World file.
For JPG you may have to create a JPW
(check out this
https://iric-gui-user-manual.readthedocs.io/en/latest/06/09_georef.html or
google JPG world files)
The json should be enough to create the file.
On Tue, Sep 27, 2022 at 10:01 AM <liglio.pessoal at nexxa.com.br> wrote:
> Hi Gordon,
>
>
>
> I want to display the image on my map, it´s a rain area image. You can
> download the image using the link
> https://estatico-redemet.decea.mil.br/radar/2022/09/25/mi/maxcappi/maps/2022-09-25--18:46:27.png
> .
>
> The images are provided using an API, that returns a json with information
> about the image: coordinates, link to download, etc. I provided an example
> of the json return.
>
> I have to create a feature source and a layer to display this image, but I
> don’t know what type of feature source to use, or type of layer.
>
>
>
> Regards,
>
>
>
> Liglio
>
>
>
> *De:* mapguide-users <mapguide-users-bounces at lists.osgeo.org> *Em nome de
> *Gordon Luckett
> *Enviada em:* terça-feira, 27 de setembro de 2022 09:12
> *Para:* MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
> *Assunto:* Re: [mapguide-users] How to display PNG images
>
>
>
> What is the source of the image?
>
> Where did it come from?
>
>
>
> Do you want it to appear as a tooltip or is it geo-coded?
>
>
>
> where did the metadata come from?
>
>
>
>
>
>
>
>
>
> On Mon, Sep 26, 2022 at 4:35 PM <liglio.pessoal at nexxa.com.br> wrote:
>
> Hi,
>
>
>
> I got an image (PNG) to display on map, but I don’t know how to do it.
> What feature source and layer types to select ?
>
> I got these information returned from a API Json.
>
>
>
> "lat_center": "-28.128373",
>
> "lon_center": "-49.471816",
>
> "lon_min": "-53.6805",
>
> "lon_max": "-45.2529",
>
> "lat_min": "-31.758",
>
> "lat_max": "-24.462",
>
> "path": "
> https://estatico-redemet.decea.mil.br/radar/2022/09/25/mi/maxcappi/maps/2022-09-25--18:46:27.png
> ",
>
> "size": 20184,
>
> "date": "2022-09-25 18:46:27"
>
>
>
> Thanks,
>
>
>
> Liglio
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20220927/8e7a126a/attachment.htm>
More information about the mapguide-users
mailing list