Grasshopper

algorithmic modeling for Rhino

Hi Djordje

During testing, I found some bug or something similar :) please see belowNext thing is, a misleading in the components requiring MapView installation it sais you need to give it to install folder but actually you need to provide the folder the "Master code"

Best

Peter

Views: 1342

Attachments:

Replies to This Discussion

Hi Peter,

Thank you for the quick testing!!

I fixed the first issue with "installFolder_". Good eye!

As for the second issue: for some reason, the System.Drawing.Color methods do not like the British spelling of "grey" color, and accept only US "gray" spelling. I have no idea why is this so.
I fixed it with a small function.

Check the attached file below.

Let me know if any other error appeared.
If not, then I will explain the changes that I made with the attached definition.

Attachments:

I forgot to project the streets to the terrain.
Sorry about that.

Attachments:

Hi Djordje,

So when I increased the range to 350, it found something on the map which Gismo don´t like, looks like some value below 0

Attachments:


EDIT: something is wrong with Ning forum. My text is not visible.

What I wrote is that: I can not replicate the error you had with color_the_buildings_Stuttgart2b_PZ.gh file. The "OSM 3D" component runs fine, as the rest of the definition. Check the attached screenshots of the definition once it has been ran, and the results.

Is it possible to run the color_the_buildings_Stuttgart2b_PZ.gh file on some other PC in your office?

Attachments:

Hello,

Really nice plugin, and great work !

Unfortunately, when I try the example files, the 2D Shapes component "Gismo_OSM Shapes" gives me a WindowsError (I attached the screenshot below with the output message).

Thanks for your help.

Best,

Mathieu

Attachments:

Hi Mathieu,

First of all, thank you for the kind words and for testing!! It is likely that there would be a few more bugs, and I am very grateful for the free time you spend in testing of Gismo! It enables me to make it better!

As for the issue you are having: for some reason, it seems that "open" function that "OSM shapes" component is using may cause resource leak on some Windows systems. At least this is according to a similar issue reported on stackoverflow. I tried fixing the issue by replacing the mentioned "open" with "with" syntax. Check the attached file below. It contains a new "OSM Shapes" component dated with "01_FEB_2017". Let me know if this component works now.

If it does, can you use that same component for other Gismo example files as well? Meaning: replace "OSM Shapes" component from those file with the "01_FEB_2017" one.
If it does work everywhere, then I will incorporate this version of "OSM Shapes" as the official one.

I would appreciate if you would let me know what happened.

EDIT: Before you open the "color_the_buildings2.gh" file, can you please close your Rhino and Grasshopper, and delete the whole following folder: "C:\gismo\osm_files". Then run Rhino and Grasshopper again, and open the "color_the_buildings2.gh" file. You will have to do this only now, not in the future.

Attachments:

Hello Djordje,

No luck, I try your definition after deleted the osm_files folder, and I get the same error on the OSM Shapes component. See the screenshot below also.

Glad to help you, I know what it is to debug some code ! I hope this will be easy, I'm very interested about your gismo plugin !

Attachments:

Hi Mathieu,

Try the attached .gh file below.
Please repeat again the previous folder deletion process before opening the "color_the_buildings2b.gh" file:
Close your Rhino and Grasshopper, and delete the whole folder: "C:\gismo\osm_files". Then run Rhino and Grasshopper again, and open the "color_the_buildings2b.gh" file.

I apologize for all this inconvenience.

Attachments:

Hi,

This one works !

Just one error telling that it cannot access to the path of the osmconf.ini, so I just go into the folder C:\Program Files\MapWinGIS\gdal-data, right-click properties on the osmconfig.ini and allow full control into security tab for all users and accounts.

Thanks for your help ! I'm going to play with gismo now, yeah !

Glad it worked Mathieu!

Just in case other users experience the same issue:
What was the text of osmconf.ini error message?

Here is the error shown : "1. Solution exception:Access to the path 'C:\Program Files\MapWinGIS\gdal-data\osmconf.ini' is denied."

To solve : osmconf.ini > properties > security > allow full control

And the screenshots for detailed error, and the properties settings.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service