Open xhqiao89 opened 6 years ago
ericch[CodePlex]
Tested with a Shale network shapefile of observation points and it loaded correctly.
danames[CodePlex]
Please try this with the Shale network shapefile of observation points as a test. It would be nice to pre-load that shapefile with their plugin and have it already work as a site-data layer for downloading observations.
ericch[CodePlex]
In the SearchLayerModifier, the function IsSearchLayer(ILayer layer) won't return true with the attached example shapefile due to the shapefile not having all the required search columns in its data set.
The layer columns of the following example shapefile are: SiteName, SiteCode, StartDate, Latitude, Longitude, ts_id, Agency, WaterML.
The needed search columns as a minimum are: SiteCode, VarCode, ServiceCode, ServiceURL, StartDate, EndDate, ValueCount.
Right now the only search columns that the example shapefile fulfills are SiteCode and Start Date. The extra columns don't cause a problem but all the needed search columns need to be fulfilled. If the search columns were all fulfilled, then I think this tool would already work. I'll continue thinking on how to make the shapefile compatible.
cuylerfris[CodePlex]
marking as active
danames[CodePlex]
We need to be able to download data from a HydroServer using a pre-defined/pre-built shapefile that matches the specifications of the shapefiles.
The idea is that if someone already has a shapefile of valid data sites (maybe they we're sent it from a friend, or downloaded it from the web or maybe it was pre-loaded with HD or available in an extension) then they should be able to import that shapefile and have it act just like one that was created by the search plugin (i.e. they should be able to hover over points and download data, etc.)
An example shapefile that contains points and WaterML links is attached to this issue. This one is not in the same format as the ones that are created by search, but we should support importing it as well.
This may need to be built as a new plugin, perhaps called quotSiteImporterquot.