OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Error displaying GeoTIF layer #334

Closed smalers closed 3 years ago

smalers commented 3 years ago

I am trying to add a GeoTIF layer to the Colorado Agricultural Water Transfer website. Below is the GeoProcessor commands to add the layer:

# = = = = = = = = = =
# Municipality raster data:  read layers and add to a layer view group.
# - copy from the repository that contains WWR data
# GeoLayerViewGroupID: MunicipalitiesRasterGroup
#
AddGeoLayerViewGroupToGeoMap(GeoLayerViewGroupID="MunicipalitiesRasterGroup",Name="Colorado Municipalities (Raster)",Description="Colorado Municipality area derived from polygons",InsertPosition="Top")
#
CopyFile(SourceFile="${WWRRepoFolder}/Rasters/Municipality.tif",DestinationFile="layers/Municipality.tif")
ReadRasterGeoLayerFromFile(InputFile="layers/Municipality.tif",GeoLayerID="MunicipalitiesRasterLayer",Name="Colorado Municipalities (Raster)",Description="Colorado Municipality area derived from polygons")
AddGeoLayerViewToGeoMap(GeoLayerID="MunicipalitiesRasterLayer",GeoLayerViewID="MunicipalitiesRasterLayerView",Name="Colorado Municipalities (Raster)",Description="Colorado Municipality area derived from polygons",Properties="docPath:'layers/Municipality.md'")

The layer does show up in the legend but it replaces the normal background layers, does not display, and the slider and kebab menu are not working. Need to figure out what is going on.

image

image

smalers commented 3 years ago

I uploaded to the cloud: http://coagtransfer.openwaterfoundation.org/0.3.0/#/map/data-municipalities

Nightsphere commented 3 years ago

This seems to be working now on 0.3.0. I'm not sure if Steve pushed again with new changes, but there are no errors anymore for the raster.

Nightsphere commented 3 years ago

This has been resolved in the previous commit and merge. Closing the issue.