Jump to content

Use Marionette to access the internet from VW


Recommended Posts

  • 4 weeks later...

Glad you both like it. We had a great intern here over the summer who contributed alot to Marionette. His final project was a network that leveraged some external Python libraries to download realtime weather data from the internet, create a Voronoi diagram from the data points and plot the result on a map of the earth. Here is a picture, I'll pull the .vwx files together soon and post them.

Link to comment
  • 2 months later...
  • 2 months later...
  • 8 months later...
  • 7 years later...

@Mark Flamer @Patrick Winkler

Does anyone have basic instructions for how to use the marionette in this file to get an image from a different URL (a different location)? I'm looking at what's in the file "ImageFromURL.vwx" and trying to play with it to understand how to use it. I have a URL for a different location. I don't see where put the URL in the Marionette set to get the new bitmap output.

 

The file is great, but it needs instructions to make it useful.

THANKS!

Link to comment

The object is relatively complicated because it is using the data from a heliodon object to find the aerial photo and import and geolocate it.

 

If all you want is to bring in an image, you need a much simpler Marionette.

 

image.png.5d730e37a417181ee0b9dbb646fa346e.png

 

Give the String tile a name and it will show up in the OIP.  I named it URL for Image.

 

Right click on one of the nodes and Wrap the network. Select the Wrapped Network and make an Object Node out of it.  Now you will have an image in the file linked to a URL.

 

But it does not error checking. If you enter a non-existent url (or one that does not have an image type file attached), it will let you enter the URL, but the object will basically disappear.  Undo should bring it back so you can try again.

 

HTH

  • Like 1
Link to comment
On 6/24/2024 at 4:44 PM, Pat Stanford said:

The object is relatively complicated because it is using the data from a heliodon object to find the aerial photo and import and geolocate it.

 

If all you want is to bring in an image, you need a much simpler Marionette.

 

image.png.5d730e37a417181ee0b9dbb646fa346e.png

 

Give the String tile a name and it will show up in the OIP.  I named it URL for Image.

 

Right click on one of the nodes and Wrap the network. Select the Wrapped Network and make an Object Node out of it.  Now you will have an image in the file linked to a URL.

 

But it does not error checking. If you enter a non-existent url (or one that does not have an image type file attached), it will let you enter the URL, but the object will basically disappear.  Undo should bring it back so you can try again.

 

HTH

@Pat Stanford, but will the image be georeferenced? I want to add an aerial image/orthophoto from Google to my georeferenced document. I need it to land in the correct location in my vwx file.

Anna

Link to comment

I don't know.  It appears that VW will import a georeferenced file as georeferenced if the file you are importing into is georeferenced.  I can't find any commands to specifically geo reference images.

 

Do a manual import and get all the settings correct to have the image georeferenced. Then you "should" be able to use the marionette to bing in other georeferenced images as georeferenced also.

 

And please let us know if it works.

 

Or send me a georeferenced image file along with the Document Georeferencing information and I will try it.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...