Hexagon Geospatial
MENU

Support WebGIS

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 130
Registered: ‎08-10-2016
Accepted Solution

Time Series Weather Maps/Charts Display in Geospatial Portal

Suppose a client periodically generates surface maps from weather stations in a region, how can this information be rendered effectively in Geospatial Portal? and assuming the data is generated weekly and the web portal/site has to be updated with the new map as soon as it is available, how can the updates be captured in the geospatial portal while at the same time providing a means for sliding forward and backward to display the maps at different times?

Contributor
Posts: 65
Registered: ‎02-10-2017

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

Not sure if I understand the question rigth, but have you tried to display that information on a WMS that has the time capability that allow you to see the previous and the actual data?

Frequent Contributor
Posts: 130
Registered: ‎08-10-2016

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

[ Edited ]

Yes i tried that and i didnt find a proper way of doing it...i actually didn't suceed in getting the map to display after shoving all my data in one service. The challenge i have with the WMS -Time settings GeoMedia WebMap is that it works well for vector features in one feature class but not for thematic layers. Below is a screenshot of Geospatial Portal showing a sample surface map for a week. There are several other similar maps create  from interpolated  point data (TINS) and this is done weekly.

 

Drought Index.png

 

I need a workflow that will enable me to display the historical information as well as the current information. For example if i click on the play button in Geospatial portal i should be able to visualize the animation of the surface map during the different times (same effect should be achieved with the slider).

 

How should i organize and publish my data for me to achieve this?

Staff
Posts: 230
Registered: ‎02-04-2016

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

Hi Elvis,

 

What do you mean by "it works well for vector feature class but not for thematic layers" ?

 

Thanks

 

Frank

Frequent Contributor
Posts: 130
Registered: ‎08-10-2016

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

Hi Frank,

 

Sorry this didn't come out clearly but what i meant is that with a feature class it is easier to include a time/date column , create a WMS with time parameters enabled and then display the features in the Geospatial portal using the Time tool. However i am struggling to implement this when the features are contours generated from an interpolation process and are to be styled thematically before displaying in the geospatial portal at different times. Below is a screenshot os the styled and non-styled contours in GeoMedia

 

surface map.png

 

 

Surface data.png

 

Note that am using this data only for illustration and it is not the client data. source: http://droughtmonitor.unl.edu/

 

I merged the features in one class, created and pupulated the time column, generated one thematic map instead of four but still did not work for me in the portal as nothing displayed.

 

hbm
Staff
Posts: 285
Registered: ‎11-05-2015

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

I'd enable detailed GWM Logging and after a single GetMap request would investigate that whether any errors or discrepancies show. The data loading section:

2018-01-09 10:37:12 (0.099179) - Spatial Filter Applied
2018-01-09 10:37:12 (0.116518) - Legend Entry 6 (States) Loaded
2018-01-09 10:37:12 (0.116541) - Record Count 49
2018-01-09 10:37:12 (0.116563) - LE Loaded

is of special interest here.

Frequent Contributor
Posts: 130
Registered: ‎08-10-2016

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

[ Edited ]

Hi Hbm,

 

Is there any GeoMedia WebMap/Geospatial Portal documentation on what date/time format is required inorder for the WMS-T to work?

 

I looked at the GMWLog and i don't get any errors...am also not sure what discrepancies to look out for...

 

<Layers xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.intergraph.com/GeoMedia/WebServiceInterface/GenerateMap"> 
<Layer xsi:type="BaseLayer"> 
<Name>Drought1922</Name> 
</Layer> 
</Layers>
2018-03-27 13:27:51 (0.215076) - GMWS: Init Map Server
2018-03-27 13:27:51 (0.215087) - GMWS: Init Map Server
2018-03-27 13:27:51 (0.215146) - Closing OPs
2018-03-27 13:27:51 (0.215207) - OPs closed
2018-03-27 13:27:51 (0.215218) - Logo Font Size in Clear 0.000000
2018-03-27 13:27:51 (0.215228) - Entering AddLibraryConnection Name:SADroughtIndexLibraryConnection ConnString:TYPE=GDO;PROGID=Access.GDatabase;LOCATION=C:\WebMap Publisher Data\SADroughtIndex.mdb;SOURCE=;
2018-03-27 13:27:51 (0.215243) - Count: 12
2018-03-27 13:27:51 (0.215252) - Found
2018-03-27 13:27:51 (0.215261) - WP Meta - checking for stale
2018-03-27 13:27:51 (0.215269) - Try to get WPSettings.UpdateSequence for SADroughtIndexLibraryConnection
2018-03-27 13:27:51 (0.215279) - check query select UpdateSequence from WPSettings
2018-03-27 13:27:51 (0.215818) - Query result: 00000000
2018-03-27 13:27:51 (0.215845) - Update sequence value: 3
2018-03-27 13:27:51 (0.215935) - Exiting AddLibraryConnection - 0
2018-03-27 13:27:51 (0.216168) - GMWS: Init Map Server Done
2018-03-27 13:27:51 (0.216831) - Enter CGWMMapServer::SetCoordinateSystem C:\WebMap Publisher Projects\SADroughtIndex\CSF\EPSG3857.csf
2018-03-27 13:27:51 (0.216853) - Setting CS
2018-03-27 13:27:51 (0.219225) - Exit CGWMMapServer::SetCoordinateSystem 0(0)
2018-03-27 13:27:51 (0.219724) - GMWS: Range 413403.726576,6647730.052761 -5000316.072331,-1359547.793931
2018-03-27 13:27:51 (0.219746) - GMWS: Width,Height 1274,744
2018-03-27 13:27:51 (0.219765) - Publisher: WebServicesUtilities: SetSpatialFilterByRange : SetSpatialFilterByRange called
2018-03-27 13:27:51 (0.220012) - GMWS: LayerName Drought1922
2018-03-27 13:27:51 (0.220036) - Publisher: WebServicesUtilities: GetLegendEntry : Getting legend entry ID for layer name Drought1922
2018-03-27 13:27:51 (0.221214) - Publisher: WebServicesUtilities: GetLegendEntry : Calling LegendEntryServices.GetLegendEntries
2018-03-27 13:27:51 (0.221249) - Publisher: LegendEntryServices: GetLegendEntries : Entering GetLegendEntries, legend entry ids: 1
2018-03-27 13:27:51 (0.221266) - Publisher: LegendEntryServices: GetLegendEntries : Getting legend entry metadata
2018-03-27 13:27:51 (0.222404) - Publisher: LegendEntryServices: GetLegendEntries : Getting DisplayFields metadata
2018-03-27 13:27:51 (0.223506) - Publisher: LegendEntryServices: GetLegendEntries : Get legend entry from library: 1
2018-03-27 13:27:51 (0.223533) - GetFromLibrary(SADroughtIndexLibraryConnection,GeoMedia.LegendEntry,DefaultTheme.MapWindow1|1)
2018-03-27 13:27:51 (0.223603) - Checking cache first
2018-03-27 13:27:51 (0.223622) - Cache hit, getting a copy of SADroughtIndexLibraryConnection,GeoMedia.LegendEntry,DefaultTheme.MapWindow1|1
2018-03-27 13:27:51 (0.226828) - Got legend entry from cache
2018-03-27 13:27:51 (0.226861) - GWMServices: ASFSW :SetSpatialFilter: Null Filter passed
2018-03-27 13:27:51 (0.226876) - Applying an empty spatial filter to the legend entry copy
2018-03-27 13:27:51 (0.226887) - GWMServices: ASFSW :ApplySpatialFilterToLegendEntry: Starting
2018-03-27 13:27:51 (0.226973) - GWMServices: ASFSW :ApplySpatialFilterToLegendEntry: Exiting
2018-03-27 13:27:51 (0.227033) - GetFromLibrary return 0
2018-03-27 13:27:51 (0.228149) - Publisher: LegendEntryServices: GetLegendEntries : Applying a spatial filter from passed objASFSW
2018-03-27 13:27:51 (0.228177) - GWMServices: ASFSW :ApplySpatialFilterToLegendEntry: Starting
2018-03-27 13:27:51 (0.228466) - GWMServices: ASFSW :ApplySpatialFilterToLegendEntry: Exiting
2018-03-27 13:27:51 (0.228821) - Publisher: LegendEntryServices: GetLegendEntries : Exiting with success
2018-03-27 13:27:51 (0.228896) - Publisher: WebServicesUtilities: GetLegendEntry : EXIT
2018-03-27 13:27:51 (0.228942) - GWMWebServicesSupport: legend entries count (after insert) : 1
2018-03-27 13:27:51 (0.229316) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Starting
2018-03-27 13:27:51 (0.229359) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Exiting
2018-03-27 13:27:51 (0.235725) - GWMWebServicesSupport: WebLabel.WebIntf : 
2018-03-27 13:27:51 (0.235754) - Map Range 413403.726576, -5000316.072331, 6647730.052761, -1359547.793931
2018-03-27 13:27:51 (0.235770) - Enter CGWMMapServer::CreateMapByRange
2018-03-27 13:27:51 (0.235778) - Logo Font Size in CMBR 0.000000
2018-03-27 13:27:51 (0.235791) - Enter CGWMMapServer::CreateMapByFixedRange
2018-03-27 13:27:51 (0.235811) - Width=1274 Height=744
2018-03-27 13:27:51 (0.235820) - Output Type 7
2018-03-27 13:27:51 (0.235827) - Calculated Map Scale = 18495139.844550
2018-03-27 13:27:51 (0.235836) - Passed Map Scale = 17476806.251918
2018-03-27 13:27:51 (0.235846) - m_GRO.Populate
2018-03-27 13:27:51 (0.235854) - Logo Font Size in new API 0.000000
2018-03-27 13:27:51 (0.235861) - DisplayType 7
2018-03-27 13:27:51 (0.235869) - GRO = 1372dd50
2018-03-27 13:27:51 (0.235877) - Loading LE
2018-03-27 13:27:51 (0.235978) - Setting OP mode
2018-03-27 13:27:51 (0.236032) - OP mode set
2018-03-27 13:27:51 (0.236043) - dispLegend QI: 0
2018-03-27 13:27:51 (0.236075) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Starting
2018-03-27 13:27:51 (0.236115) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Exiting
2018-03-27 13:27:51 (0.236134) - Spatial Filter Applied
2018-03-27 13:27:51 (0.239016) - Legend Entry 1 (Drought1922) Loaded
2018-03-27 13:27:51 (0.239036) - Record Count 52
2018-03-27 13:27:51 (0.245473) - Legend Entry 9 (6 to 8) Loaded
2018-03-27 13:27:51 (0.245494) - Record Count 7
2018-03-27 13:27:51 (0.245806) - Legend Entry 8 (5 to 6) Loaded
2018-03-27 13:27:51 (0.245825) - Record Count 9
2018-03-27 13:27:51 (0.246128) - Legend Entry 7 (4 to 5) Loaded
2018-03-27 13:27:51 (0.246146) - Record Count 6
2018-03-27 13:27:51 (0.246432) - Legend Entry 6 (3 to 4) Loaded
2018-03-27 13:27:51 (0.246451) - Record Count 8
2018-03-27 13:27:51 (0.246759) - Legend Entry 5 (2 to 3) Loaded
2018-03-27 13:27:51 (0.246778) - Record Count 7
2018-03-27 13:27:51 (0.247089) - Legend Entry 4 (1 to 2) Loaded
2018-03-27 13:27:51 (0.247108) - Record Count 5
2018-03-27 13:27:51 (0.247393) - Legend Entry 3 (0 to 1) Loaded
2018-03-27 13:27:51 (0.247412) - Record Count 4
2018-03-27 13:27:51 (0.247765) - Legend Entry 2 (-1 to 0) Loaded
2018-03-27 13:27:51 (0.247785) - Record Count 6
2018-03-27 13:27:51 (0.247798) - LE Loaded
2018-03-27 13:27:51 (0.247808) - Logo Font Size in get 0.000000
2018-03-27 13:27:51 (0.247819) - UpdateLegend->Canvas 129c8078
2018-03-27 13:27:51 (0.248465) - Before Gro->RefreshRect
2018-03-27 13:27:51 (0.248485) - Before GetClientDPI
2018-03-27 13:27:51 (0.248497) - Before IGMRenderSetup->RefreshRect
2018-03-27 13:27:51 (0.268892) - After IGMRenderSetup->RefreshRect
2018-03-27 13:27:51 (0.268930) - memory canvas
2018-03-27 13:27:51 (0.284131) - After Gro->RefreshRect
2018-03-27 13:27:51 (0.284270) - Exit CGWMMapServer::CreateMapByFixedRange - 0 (0)
2018-03-27 13:27:51 (0.284288) - Exit CGWMMapServer::CreateMapByRange - 0 (0)
2018-03-27 13:27:51 (0.284309) - GMWS: Exit MapURL 0 (0)

Regards,

Elvis

Technical Evangelist
Posts: 806
Registered: ‎09-11-2015

Re: Time Series Weather Maps/Charts Display in Geospatial Portal

Hi Elvis,

 

ISO 8601 standard is used for the date format, example:

 timeex.png

 

Some documentation is available here:

https://hexagongeospatial.fluidtopics.net/reader/jFUgMwV8rLquX7vj86E_6A/SPJWCouYfDgoMnfdPr2AwA

 

If I recal correctly, I used fileds of date type in the database for the disparate rows.

 

Jan

 

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.