-
Notifications
You must be signed in to change notification settings - Fork 23
Nodes version 0.5
New nodes:
- OpenBrowser(Thanks to Ekko Nap)
- BelgiumGeoservicesLibrary
- SpainGeoservicesLibrary
- GetRevitSiteLocation(Thanks to Ekko Nap)
- SetRevitSiteLocation(Thanks to Ekko Nap)
- GoogleStaticMapsAPI
- TMSTileNumberFromCoordinate
- TMSBoundingboxFromTileNumber
- TMSWebServices
- TMS_WMTS_WebrequestAndCombineImages
- SystemDrawingBitmapToJPG
- DistanceBetweenCoordinatesWGS84
- DoubleToString
- TMSGetTileNumbersFromBboxLATLON
Changes to nodes:
-
CreatePointsPolygonsFromGML, CreatePointFromGML has option 'UnitsConversionFactor'. Factor is applied after transformation, so bigger coordinates can be handled.
-
WebrequestWMS2 doesn't need a temporarypath anymore to save the image.
-
GetLocationdataNetherlands has now a 'gemeentecode kadaster', 'provincie' and 'windgebied' parameter.
-
GetSharedCoordinate is expanded with scale, Elevation and Angle to True North.
-
SetSharedCoordinate is expanded with scale, angle to true north.
-
Some debugging with ImportImageInView.
-
'Width' in CreateBoundingboxLATLONG is now correct. It was 50% of the 'Width'.
-
Some debugging in CreateBoundingbox.
-
CreateBoundingboxLATLONG has higher precision.
-
Grouping of Nodes is changed.
Other
Library with multiple webadresses which can be used for WFS and WMS webrequests
Input
- Boundingboxstring
Output
- Webrequests WMS/WFS
Example
Gives Locationdata based on adress in the Netherlands.
Input
- City
- Streetname
- HouseNumber
Output
- RD-coordinate X(dutch coördinatesystem)
- RD-coordinate Y(dutch coördinatesystem)
- postalcode(dutch postalcode)
- sectie kadaster(dutch landregistry code)
- perceel kadaster(dutch landregistry code)
- longitude
- latitude
Example
imports the result(image) of a webrequest based on WMS-protocol into a view in Revit
Input
- WMSwebrequest
- boundingboxwidth[m]
- view
- tempfolder
Output
- watch image
Example
Create downloadlink and download BGT als GML to a certain folder
Input
- mortoncode
- tempfolder
Output
- filelocation
Example
Unzip zip-file
Input
- FilePathZipFile
- DirectoryToExtractTo
Output
Example
Create boundingboxstring in syntax to use in webrequests.
Input
- boxWidth
- boxHeight
- coordinate X
- coordinate Y
Output
- boxstring
Example
Set shared coordinate/project basepoint
Input
- X
- Y
- Z
- MeterstoMM
Output
Example
Get mortoncode given 2 coordinates and tiledimension. For more information check: https://en.wikipedia.org/wiki/Z-order_curve
Input
- X
- Y
- modX
- modY
- tileDimension
Output
- Z
Example
Create Points from space seperated GML
Input
- XML
- XPATHSTRING
- modX
- modY
Output
- points
Example
Create points and polygons from a xml/gml-file
Input
- xml
- XPATHSTRING
- deltaX
- deltaY
- connectpolygon
Output
- points
- polygons
Example
Create points and polygons from a xml/gml-file with x,y and z value
Input
- xml
- XPATHSTRING
- deltaX
- deltaY
- connectpolygon
Output
- points
- polygons
Example
Create detaillines from polygons in a view
Input
- view
- linestyle
- polycurves
Output
Example
set width of imported raster image
Input
- imagename
- imagewidth
Output
Example
filter GML-file based on boundingbox
Input
- gmlFile
- XPATH
- coordinateX
- coordinateY
- boundingboxWidthHeight
Output
- points
- polycurves
Example
Place textnotes for percelen from the dutch kadaster
Input
- URLWebrequestKadasterPerceel
- deltaX
- deltaY
- view
- texttypePerceel
Output
Example
Place textnotes for housenumbers from the dutch kadaster
Input
- URLWebrequestKadasterAnnotation
- deltaX
- deltaY
- view
- texttypePerceel
Output
Example
ntb
Input ntb
Output
Example
Input
- URLwebrequest
Output
- mapindexnumbers
- downloadlinkAHN2_gefilterd
- downloadlinkAHN2_uitgefilterd
- downloadlinkAHN3
Example
WMTS=Web Map Tile Service imports the result(images) of a webrequest based on WMTS-protocol into a view in Revit
Input
- WMTSwebrequest
- temppath
- TileRow
- TileColumn
- Layer
- Zoomlevel
Output
- TileFiles
- Layer
Example
WMTS=Web Map Tile Service Library with webrequests of WMTS-services in the Netherlands
Input
- TileRow
- TileColumn
- Zoomlevel
- Layer
Output
- url
Example
WMTS=Web Map Tile Service
Library with layers for webrequests of WMTS-services in the Netherlands
Output
- layers
Example
WMTS=Web Map Tile Service gives resolution, scaledenominator and number of tiles
Input
- Zoomlevel
Output
- Zoomlevel
- Resolution
- ScaleDenominator
- NumberOfTiles
Example
WMTS=Web Map Tile Service gives the tilerow and tilecolumn for the WMTS webrequest
Input
- Resolution
- Xcorner
- Ycorner
- RDx
- RDy
- PixelWidth
Output
- TileRow
- TileColumn
- DeltaX
- DeltaY
Example
WMTS=Web Map Tile Service gives a list with tiles
Input
- TileColumn
- TileROw
- bboxWidth
- Resolution
- PixelWidth
Output
- NumberOfTiles
- TileRows
- TileColumns
Example
WMTS=Web Map Tile Service combine all tiles to 1 images
Input
- ImageList
- TileRows
- TileColumns
- NumberOfPixels
- Layer
Output
- Watch Image
- ImagePath Example
import image in view
Input
- ImageWidth
- View
- ImagePath
- deltaX
- deltaY
Output
Example
total node with WMTS webrequest and import of image in view
Input
- rdx
- rdy
- boundingboxwidth
- zoomlevel
- temppathFiles
- view
- layer
Output
- image Example
gets coordinate from address with google API
Input
- streetname
- housenumber
- place
- country
- google API key
Output
- longitude
- latitude
- elevation
- XML
Example
create boundingbox with from lat/long coordinate in degrees
Input
- lat
- long
- width
Output
- West
- East
- South
- North
Example
download openstreetmaps using de overpass API
Input
- W
- E
- S
- N
- Filelocation
Output
- West
- East
- South
- North
Example
download LASZIP http://www.laszip.org/ https://github.com/LASzip/LASzip
Input
- Directory
Output
- FilePath laszip.exe
Example
commandline options for LASZIP
Input Output Example
create scriptfile to run laszip
Input *
Output *
Example
convert a pts-file(ascii) to dynamo points
Input *
Output *
Example
convert a GEF-file into soillayers. GEF=Geotechnical Exchange Format
https://publicwiki.deltares.nl/display/STREAM/GEF-CPT
Input
- file
- soilLayer1Name0_3MPA
- soilLayer1Name3_10MPA
- soilLayer1Name10_xMPA
- soilLayer1FrictionRatio
- soilLayer2Name
- soilLayer2FrictionRatio
- soilLayer3Name
- soilLayer3FrictionRatio
- soilLayer4Name
- soilLayer4FrictionRatio
- columnNumberDepth
- columnNumberPressure
- columnNumberFrictionRatio
Output
- startDepthUniqueSoilLayers
- nameUniqueSoilLayers
- pressureFromGEF
- frictionRatioFromGEF
- soillayerFromGEF
Example
creates 3D site families for each unique soillayer
Input
- closedPolyCurve
- startDepthUniqueSoilLayers
- nameUniqueSoilLayers
- familyTemplateSite
Output
Example
Filter OSM-data and look for buildings with 'height' parameter and create 3D solid
Input
- OSMBuildingpoints
- OSMBuildingKeys
Output
- Solids
Example
Uses the ESRI webserver to convert coordinates between coördinatesystems.
Input
- SourceCRS
- TargetCRS
- XCoordinate
- YCoordinate
Output
- Xtransformed
- Ytransformed
Example
Geoservices in Hawai.
Input
Output
- Link
Example
Geoservices in SouthAfrica
Input
Output
- Link
Example
ArcGIS query to webservers using the REST api. For documentation see: http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/gettingstarted.html
Input
Output
- Link
Example
Convert a JSON-file from a ARCGIS-server to points and polygons. And transforms the coordinates to the Revit project basepoint.
Input
- JSONConvertedToLists
- X
- Y
Output
- Points
- Polycurves
Example
Search for a Coordinate Reference System
Input
- EPSG-code
Output
- Name CRS
- URL CRS
- All CRS-systems
Example
Suggests the adress in the Netherlands that best matches the given search terms. https://github.com/PDOK/locatieserver/wiki/API-Locatieserver
Input
- search terms
Output
- plaatsnaam
- postcode
- straatnaam
- huisnummer
- adres
- score
Example
Opens the browser
Input
- toggle
- url
Output
- url
Example
Geoservices in Spain.
Input Boundingbox
Output
- Link
Example
Geoservices in Belgium.
Input Boundingbox
Output
- Link
Example
Gets the properties of the current Site Location of the active Revit Project.
Input Toggle
Output
- Name
- Lon
- Lat
- Location
Example
Sets the properties of the current Site Location of the active Revit Project
Input Toggle
Output
- Name
- Lon
- Lat
- Location
Example
Use the Google Static Maps API to download map or aerialphoto
Input
- Latitude
- Longitude
- GoogleAPIKey
- Zoomlevel
Output
- Google Satellite
- Google Terrain
- Google Hybrid
- Google Roadmap
Example
Calculate TMS(Tile Map Service) Number from a lat/lon coördinate
Input
- Latitude
- Longitude
- Zoomlevel
Output
- strTileX
- strTileY
- dblTileX
- dblTileY
Example
Calculate Lat/Lon boundaries from a TileNumber in TMS(Tile Map Service)
Input
- TileX
- TileY
- Zoomlevel
Output
- West
- East
- North
- South
Example
Calculate Lat/Lon boundaries from a TileNumber in TMS(Tile Map Service)
Input
- TileX
- TileY
- Zoomlevel
Output
- URL
Example
Save an System.Drawing.Bitmap object as a jpg-file
Input
- System.Drawing.Bitmap
- FileName
Output
- FileName
Example
Calculate the distance between 2 lat/lon coördinates in meters
Input
- lat1
- lon1
- lat2
- lon2
Output
- Distance
Example
Webrequest for list of WMTS or TMS/Google webrequests for tiles. Combines them to 1 image.
Input
- URLs
- UniqueTileNumbersColumnY
- UniqueTileNumbersRowX
- Pixels
- ReverseYaxis
Output
- Image
- TileImages
Example
Converts a double to a string
Input
- CoordinateDouble
Output
- CoordinateString
Example
Library with TMS Webservices
Input
- TileX
- TileY
- Zoomlevel
Output *URL
Example
Get the Tilenumbers in X and Y in the TMS Webprotocol based on a given Boundingbox in LAT/LON
Input
- West
- East
- North
- South
- Zoomlevel
- BoundingboxWidth
Output
- TileX
- TileY
- WidthM
- DeltaXinMM
- DeltaYinMM
Example