Select to view content in your preferred language

ArcIMS REST Service-Weather Radar in FlexViewer 2.1

2895
7
09-24-2010 04:55 AM
DavidKiendl
New Contributor
I am trying to pull  2 different weather radar layer services via REST into the new 2.1 viewer (also didnt work in 2.0) these same services both worked fine in the 1.3 API. The REST page says that these services are IMS and i am guess that is the reason. I have tried coding different types in the config file such as "acrims" "feature" "dynamic" etc. Any ideas?
Tags (2)
0 Kudos
7 Replies
DasaPaddock
Esri Regular Contributor
FlexViewer 2.1 does support ArcIMS services. Can you post your layer tag from your config?
0 Kudos
DavidKiendl
New Contributor
Here is the layer: <layer label="Weather Radar" type="dynamic" visible="false"
                   url="http://129.79.145.13/ArcGIS/rest/services/Maps/radar/MapServer/"/>

This layer resides w/in <operationallayers> tags and ive tried changing type to all other options. ie. tiled, image, arcims...
0 Kudos
DasaPaddock
Esri Regular Contributor
The layer tag is fine (you can remove the trailing slash). This is a non-cached ArcGIS service. The problem is that the service returns blank images when it's being asked to be projected to web mercator. It works fine if you leave it in 4326 like this (notice the change in base layer):

    <map initialextent="-146 16 -61 59" top="40">
        <basemaps>
            <layer label="Streets" type="tiled" visible="true"  alpha="1"
                        url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/>
        </basemaps>
        <operationallayers>
            <layer label="Weather Radar" type="dynamic" visible="false"
                url="http://129.79.145.13/ArcGIS/rest/services/Maps/radar/MapServer"/>
        </operationallayers>
    </map>
0 Kudos
DavidKiendl
New Contributor
Thank you! I had a feeling it was a projection issue. IMS does not seem to project on the fly like the other layer types do.
0 Kudos
JeffPace
MVP Alum
Could you please please 🙂 tell me the source of your weather data? I have been trying fruitlessly to get weather data into our app for quite some time.

Thanks in advance
0 Kudos
DonCopple
Occasional Contributor III
Here's one you can try:
http://rmgsc.cr.usgs.gov/ArcGIS/rest/services

Seems to work most of the time.

Here is another form NOAA, doesn't always seem to work though:

http://gis.srh.noaa.gov/arcgis/rest/services

😄
0 Kudos
omaraboulola
New Contributor
im trying to find a weather feed for the whole world in other words, i want the temperature for the world and or each country, State

Thanks
0 Kudos