Skip to content

Nodes version 0.6

Maarten Vroegindeweij edited this page May 17, 2018 · 18 revisions

Changes 0.6

New nodes:

  • WMTSWebrequest
  • CzechRepublicGeoservicesLibrary
  • CropImage
  • MergeImages
  • GeocodingNomatimAPI
  • SetMaterialAppearanceTextureGeneric

Changes to nodes:

  • WebRequestWMS is using .NET in stead of ironpython to download files.
  • WMTSRequestAndImport does not save the tiles temporary on your harddisk. Speed improved.
  • TMS_WMTS_WebrequestAndCombineImages can be used for TMS and WMTS.
  • TMSWebservices now includes google roads, terrain, terrain only, hybrid, standard roadmap
  • GeoservicesLibraryNetherlands is expanded with OGC:WMS webservices for loading Historical Cadastral Parcals and Building from 1832 from the province of Zeeland
  • GeoservicesLibraryNetherlands is expanded with Luchtfoto 2017.

Nodes removed:

  • CombineImage is removed. TMS_WMTS_WebrequestAndCombineImages can ben used for this.
  • WebrequestWMTS is removed. TMS_WMTS_WebrequestAndCombineImages can ben used for this.

Example Workspaces:

  • WMTS example workspace is improved with new nodes.
  • Kadaster1832 Zeeland is added(OGC:WMS service for Cadastral Parcels and Building in the dutch province of Zeeland)
  • Kadaster1832 Nederland is added. Looks for the mapnumber and url of the Historical Cadastral Maps from 1832.
  • Different example workspaces are added, names changed.
  • Toposurface Set Rendermaterial.
  • Coordinate Reference System(CRS) Transform Example.
  • TMS Example Google Earth.

Nodedescription

GeoservicesLibraryNetherlands

Library with multiple webadresses which can be used for WFS and WMS webrequests

Input

  • Boundingboxstring

Output

  • Webrequests WMS/WFS

Example

GetLocationdataNetherlands

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

WebrequestWMS

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

DownloadBGTData

Create downloadlink and download BGT als GML to a certain folder

Input

  • mortoncode
  • tempfolder

Output

  • filelocation

Example

UnzipFile

Unzip zip-file

Input

  • FilePathZipFile
  • DirectoryToExtractTo

Output

Example

CreateBoundingBox

Create boundingboxstring in syntax to use in webrequests.

Input

  • boxWidth
  • boxHeight
  • coordinate X
  • coordinate Y

Output

  • boxstring

Example

SetSharedCoordinate

Set shared coordinate/project basepoint

Input

  • X
  • Y
  • Z
  • MeterstoMM

Output

Example

GetMortonCodeCoordinate

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

CreatePointFromGML

Create Points from space seperated GML

Input

  • XML
  • XPATHSTRING
  • modX
  • modY

Output

  • points

Example

CreatePointsPolygonFromGMLxy

Create points and polygons from a xml/gml-file

Input

  • xml
  • XPATHSTRING
  • deltaX
  • deltaY
  • connectpolygon

Output

  • points
  • polygons

Example

CreatePointsPolygonFromGMLxyz

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

CreateDetailLinesFromPolygons

Create detaillines from polygons in a view

Input

  • view
  • linestyle
  • polycurves

Output

Example

SetImageWidth

set width of imported raster image

Input

  • imagename
  • imagewidth

Output

Example

FilterGML

filter GML-file based on boundingbox

Input

  • gmlFile
  • XPATH
  • coordinateX
  • coordinateY
  • boundingboxWidthHeight

Output

  • points
  • polycurves

Example

KadasterPercelen

Place textnotes for percelen from the dutch kadaster

Input

  • URLWebrequestKadasterPerceel
  • deltaX
  • deltaY
  • view
  • texttypePerceel

Output

Example

KadasterHouseNumbers

Place textnotes for housenumbers from the dutch kadaster

Input

  • URLWebrequestKadasterAnnotation
  • deltaX
  • deltaY
  • view
  • texttypePerceel

Output

Example

BGT2D

ntb

Input ntb

Output

Example

DownloadAHN

Input

  • URLwebrequest

Output

  • mapindexnumbers
  • downloadlinkAHN2_gefilterd
  • downloadlinkAHN2_uitgefilterd
  • downloadlinkAHN3

Example

WMTSGeoservicesLibraryNetherlands

WMTS=Web Map Tile Service Library with webrequests of WMTS-services in the Netherlands

Input

  • TileRow
  • TileColumn
  • Zoomlevel
  • Layer

Output

  • url

Example

WMTSLayersNetherlands

WMTS=Web Map Tile Service

Library with layers for webrequests of WMTS-services in the Netherlands

Output

  • layers

Example

WMTSScaleSetNetherlands

WMTS=Web Map Tile Service gives resolution, scaledenominator and number of tiles

Input

  • Zoomlevel

Output

  • Zoomlevel
  • Resolution
  • ScaleDenominator
  • NumberOfTiles

Example

WMTSZoomLevelTileRow

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

WMTSTileListFromBbox

WMTS=Web Map Tile Service gives a list with tiles

Input

  • TileColumn
  • TileROw
  • bboxWidth
  • Resolution
  • PixelWidth

Output

  • NumberOfTiles
  • TileRows
  • TileColumns

Example

ImportImageInView

import image in view

Input

  • ImageWidth
  • View
  • ImagePath
  • deltaX
  • deltaY

Output

Example

WMTSRequestAndImport

total node with WMTS webrequest and import of image in view

Input

  • rdx
  • rdy
  • boundingboxwidth
  • zoomlevel
  • temppathFiles
  • view
  • layer

Output

  • image Example

GeocodingGoogleAPI

gets coordinate from address with google API

Input

  • streetname
  • housenumber
  • place
  • country
  • google API key

Output

  • longitude
  • latitude
  • elevation
  • XML

Example

CreateBoundingBoxLATLONG

create boundingbox with from lat/long coordinate in degrees

Input

  • lat
  • long
  • width

Output

  • West
  • East
  • South
  • North

Example

DownloadOSM

download openstreetmaps using de overpass API

Input

  • W
  • E
  • S
  • N
  • Filelocation

Output

  • West
  • East
  • South
  • North

Example

DownloadLASZIP

download LASZIP http://www.laszip.org/ https://github.com/LASzip/LASzip

Input

  • Directory

Output

  • FilePath laszip.exe

Example

LASZIPCommands

commandline options for LASZIP

Input Output Example

BuildCMDLASZIP

create scriptfile to run laszip

Input *

Output *

Example

PTStoPoints

convert a pts-file(ascii) to dynamo points

Input *

Output *

Example

ReadGEFCPT

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

GEFCPTTo3DSoilLayers

creates 3D site families for each unique soillayer

Input

  • closedPolyCurve
  • startDepthUniqueSoilLayers
  • nameUniqueSoilLayers
  • familyTemplateSite

Output

Example

OSM3DBuilding

Filter OSM-data and look for buildings with 'height' parameter and create 3D solid

Input

  • OSMBuildingpoints
  • OSMBuildingKeys

Output

  • Solids

Example

TransformCRS_epsg

Uses the ESRI webserver to convert coordinates between coördinatesystems.

Input

  • SourceCRS
  • TargetCRS
  • XCoordinate
  • YCoordinate

Output

  • Xtransformed
  • Ytransformed

Example

HawaiGeoservicesLibrary

Geoservices in Hawai.

Input

Output

  • Link

Example

SouthAfricaGeoservicesLibrary

Geoservices in SouthAfrica

Input

Output

  • Link

Example

ArcGIS_REST_API_QUERY

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

ArcGISJSONtoPolygons

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

SearchCRS

Search for a Coordinate Reference System

Input

  • EPSG-code

Output

  • Name CRS
  • URL CRS
  • All CRS-systems

Example

SuggestLocationdata

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

OpenBrowser

Opens the browser

Input

  • toggle
  • url

Output

  • url

Example

SpainGeoservicesLibrary

Geoservices in Spain.

Input

  • Boundingbox

Output

  • Link

Example

Belgium GeoservicesLibrary

Geoservices in Belgium.

Input

  • Boundingbox

Output

  • Link

Example

GetRevitSiteLocation

Gets the properties of the current Site Location of the active Revit Project.

Input

  • Toggle

Output

  • Name
  • Lon
  • Lat
  • Location

Example

SetRevitSiteLocation

Sets the properties of the current Site Location of the active Revit Project

Input

  • Toggle

Output

  • Name
  • Lon
  • Lat
  • Location

Example

GoogleStaticMapsAPI

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

TMSTileNumberFromCoordinate

Calculate TMS(Tile Map Service) Number from a lat/lon coördinate

Input

  • Latitude
  • Longitude
  • Zoomlevel

Output

  • strTileX
  • strTileY
  • dblTileX
  • dblTileY

Example

TMSBoundingboxFromTileNumber

Calculate Lat/Lon boundaries from a TileNumber in TMS(Tile Map Service)

Input

  • TileX
  • TileY
  • Zoomlevel

Output

  • West
  • East
  • North
  • South

Example

TMSWebServices

Calculate Lat/Lon boundaries from a TileNumber in TMS(Tile Map Service)

Input

  • TileX
  • TileY
  • Zoomlevel

Output

  • URL

Example

SystemDrawingBitmapToJPG

Save an System.Drawing.Bitmap object as a jpg-file

Input

  • System.Drawing.Bitmap
  • FileName

Output

  • FileName

Example

DistanceBetweenCoordinatesWGS84

Calculate the distance between 2 lat/lon coördinates in meters

Input

  • lat1
  • lon1
  • lat2
  • lon2

Output

  • Distance

Example

TMS_WMTS_WebrequestAndCombineImages

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

DoubleToString

Converts a double to a string

Input

  • CoordinateDouble

Output

  • CoordinateString

Example

TMSWebServices

Library with TMS Webservices

Input

  • TileX
  • TileY
  • Zoomlevel

Output *URL

Example

TMSGetTileNumbersFromBboxLATLON

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

CzechRepublicGeoservicesLibrary

Geoservices in the Czech Republic.

Input

  • Boundingbox

Output

  • Link

Example

GeocodingNomatimAPI

gets WGS-84 coordinate from address with Open Streets Maps API

Input

  • streetname
  • housenumber
  • place
  • country

Output

  • longitude
  • latitude
  • postalcode
  • XML

Example

SetMaterialAppearanceTextureGeneric

Change the values of the texture of the appearanceasset of a Revit Material of the type 'generic'

Input

  • Material
  • TextureFileLocation
  • TextureOffsetX
  • TextureOffsetY
  • TextureSizeXmm
  • TextureSizeYmm
  • LockScale
  • Angle

Example

Clone this wiki locally