-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
48 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
# NO LONGER IN USE, ONLY EPANET MODELS CAN BE LOADED | ||
|
||
## Extract InfoWorks WS Pro Model to GeoJson | ||
The script included in this directory converts a simulation in InfoWorks WS Pro into a GeoJSON file which can be opened with compatible GIS software or with the Model View application. | ||
|
||
The script included in this directory converts a simulation in InfoWorks WS Pro into a GeoJSON file which can be opened with compatible GIS software or with the Model View application. | ||
|
||
## Using the script | ||
|
||
1. [Download the script](https://raw.githubusercontent.com/modelcreate/model-view/master/ruby/modelview_export_to_geojson.rb) | ||
2. Open a simulation in InfoWorks WS Pro | ||
3. With the geoplan open run the script by going to Network > Run Ruby Script | ||
4. Choose a location and filename for the GeoJSON file | ||
5. The script runs between 1 minute to 10 minutes, based on the size of your network | ||
|
||
## Known issues/limitations | ||
* Currently only tested with IW Pro 3.5, it may not work on older versions | ||
* Will only extract simulation results, you can not use it on a network directly | ||
* Which fields get extracted are currently hard-coded within the ruby script | ||
|
||
- Currently only tested with IW Pro 3.5, it may not work on older versions | ||
- Will only extract simulation results, you can not use it on a network directly | ||
- Which fields get extracted are currently hard-coded within the ruby script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters