Autor Thema: pass autocad lines to Shp and switch to sona  (Gelesen 18819 mal)

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
pass autocad lines to Shp and switch to sona
« am: 09 April 2019, 02:22:19 »
Hello
Is it possible to pass autocad lines to Shp and switch to sonar?
thank you

A.Ramos

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #1 am: 09 April 2019, 07:17:18 »
There is a lot of converters between CAD and Esri shapes. The rest is simple.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #2 am: 09 April 2019, 15:07:25 »
Hello

You can help me in this process. The shap format for me is new.
I've done some maps by IMC but raster format.
What program should I use to convert DWG to Shap?
Must the list of attributes in the conversion be changed? How to do it?

Thank you

A.Ramos

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #3 am: 09 April 2019, 18:01:27 »
For the attributation you can read the IMC manual. The attributation you also can do in the IMC attribute mode or in a GIS application eg QGIS.
Please add a sample file (put it into a zip file and rename it as *.zi_).
We will see ...

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #4 am: 09 April 2019, 19:04:43 »
Hello, I can not.

If you send a file to see what is wrong. Can you help me.
I would like to know how I can have my autocad lines in my sonar.

Thank you

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #5 am: 09 April 2019, 19:23:35 »
This file contain only a picture. We need a small sample CAD file set from you for conversion tests (in the zi_-container back). The attributation is the next step.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #6 am: 09 April 2019, 20:51:26 »
That's what you want.
It is a DXF file with some bathymetrics.
Thanks for listening
A.Ramos

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #7 am: 09 April 2019, 21:32:54 »
The file was tested in ArcGIS and the newest QGIS. No problem, also with export as shape in QGIS. But:
- i don't know your coordinate sytem (the import dialog ask for) and
- i don't know the Attribute values (look into the attribute table)

I propose, that you test it self and than we will see further in the next days.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #8 am: 09 April 2019, 22:05:20 »
Hello
I can go there on qgis but after creating the shap imc does not read
My coordinate system is PT-TM06-ETRS89.
My problem is even with a table of values that comes with DXF. the IMC requires other attributes and values.
Thanks again.

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #9 am: 10 April 2019, 08:05:26 »
For me and the next steps is important (yes or no is sufficient):

Do you can add a new field in QGIS?
Do you can edit/fill a field in QGIS?
If i send you a picture from a IMC-correct attribute table, do you can realize it with your shape?
Do You have RM (Reefmaster) - this would be the simplest way?
Do you exacly know, the depth-/shoreline-value from your datas?


Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #10 am: 10 April 2019, 19:35:37 »
The best is, you use Reefmaster. Only load the shapefile and process as AT5-file.
The only Problem is - you must before edit the value field and only you know how!

In the attachment you find the shapefile from RM and the AT5 from RM.
And the pic. show the correct line attributation without correct depth values!

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #11 am: 10 April 2019, 23:34:42 »
Hello
I think I can add / edit / fill fields in Qgis, although I am a surveyor, I have never worked with Qgis and there may be my problem.
I do not have Reefmaster and now I have no opportunity to buy.
I know the depth of each level curve, is that what it takes?
I'll prepare my shap for you to see.
I do not know what kind of attributes to insert into Qgis so that Imc accepts the autocad lines.

Thanks again for your interest in helping me.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #12 am: 10 April 2019, 23:49:56 »
Hello, I've already tested your file, it's working perfectly.
The lines are all together. How can I give color and texture?
I'm going to work to see if I can do it myself.

Thank you so much again

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #13 am: 11 April 2019, 18:55:14 »
It makes not sense to quote the complete IMC manual. Please read the chapter

"Vector Mode Shapefile Attributes" pages 18-21 an "Common Color Scheme" pages 30-35. The IMC manual is included in the IMC zip-file

Best for you would be also, to use othe CAD elements for areas (as polygons) or convert lines to polygones (this also can do the IMC beta Version or QGIS).

Only lines - much more is possible.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #14 am: 11 April 2019, 23:18:13 »

425/5000
Hello

My problem is that my lines are very broken and I can not join thousands of lines to convert to area. "It would be work for years. I'd have another kind of map if I did.
Is there any way to put isobatimetric?
What can I do more with the lines?
I got here already. is no longer bad in two days. :)
Take a look at the photos and give me your experienced opinion.

Thank you

A.Ramos

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #15 am: 12 April 2019, 15:33:27 »
1. Use a ready background https://wiki.openstreetmap.org/wiki/AT5-OpenSeaMap-Chart_for_Lowrance_Simrad_B%26G

2. Reduce the line density.

3. You can merge lines in QGIS (extensions) if you select the line parts with the same value and save as seperatly files, If you do this all 5 meters for depth polygones, this is sufficient. But you must a bit digitalize. If the lines are closed, you can use other tools as ETGeowizards free 'polylines to polygones' or the IMC beta.
https://www.ian-ko.com/Downloads.html The islands i would separatly merge - this will be work best.

4 You can draw a bigger rectangle for land/islands (color 24), and about that a self by hand created shoreline polygone with Google Earth Pro as water (color 11 or so). QGIS can load and convert kml files. Note, that the polygon attributation is different to polylines. And the islands must be lay on the top, if they not donut polygons.

Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #16 am: 12 April 2019, 16:08:27 »
IMC Beta Attribute Processor Mode won't join end to end on lines.

The merge on lines just collects all the parts into a single geometry.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #17 am: 12 April 2019, 22:14:46 »
Hello
Here's a shap of my line to see her status
I tried on ETGeowizards but to no avail, not Qgis I'm not getting it.
An example of what ETGeowizards does to my file. Qgis does the same. I do not know how to solve it. :weisnicht1:

best regards

A.Ramos

Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #18 am: 12 April 2019, 22:28:32 »
I'm not familiar with those tools but I would guess either the contours aren't closed or that it's trying to close individual sections of the line.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #19 am: 12 April 2019, 22:46:44 »
It's true what it says.
I thought that there would be an automatic way to join the lines but by the only solution is to close the polygon, otherwise I will never have a surface
The big problem is that I have miles of miles to gather.
best regards :embarrassed:

Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #20 am: 12 April 2019, 22:55:13 »
The standard GIS procedure for this is called "dissolve".

You might still have gaps where end points aren't at the same position or at the edges of the lake.

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #21 am: 13 April 2019, 06:28:02 »
1. I wrote: You must a bit digitalize.

If the lines not overlays/touch, no GIS programm can work corekt, except there is an involved, tolerance distance option.
And when you have such open lines as your river estuary, first you must close the line by hand.

2. Do you have tested the OSM material (no 1 from my last post)

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #22 am: 13 April 2019, 18:07:45 »
The line from CAD to polyline shape is a polyline ZM (and possible other problems). With additional drawing and the tool "feature in polygon" (not QGIS) i can create a closed polygon. You can send me the shoreline, and i will take a look, what i can do.

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #23 am: 13 April 2019, 22:30:42 »
Hello
The problem is that I have to scan a lot and not a little bit. :cry: Each line has more than 1000Km and I have curves of 2.5 in 2.5m. The maximum quota is 152.5.
I tested the OSM and it did not fit very well in my maximum quota line.
(I send photos with the background of the attached OSM and coast line)
I already added the islands.
The dxf file of the coastline has more 5000kb I can not send through the forum. I can send by email or Wetranfer if I say an email
valid.
Here is my faceboock if you do not want to send your email through the forum.
https://www.facebook.com/antonio.ramos.798278


best regards
A.Ramos

Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #24 am: 15 April 2019, 15:40:04 »
OSM is typically not survey grade for water bodies.  The focus is on road features and most other features have a reasonable level of accuracy.

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #25 am: 18 April 2019, 10:34:08 »
I have your files and need a bit more time, because there is a lot of holes in the lines.
I would also test  another solution. For this please can you tell me the one or two dates (day/year), when the shoreline/water level was "0" as in your datas.

Another question, what is the source of your files (website)? Is there only CAD files as option for a download. In my country i can find such files?

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #26 am: 18 April 2019, 17:49:02 »
First of all for testing: 2 shapefiles, extracted from a satellite raster. Please try it and report back, if this would be an option. 

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #27 am: 19 April 2019, 17:00:49 »
Hello

I already have all the curves in shap.I already mounted the map.
How do I add geotif as background?

hug

A.Ramos

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #28 am: 19 April 2019, 17:28:06 »
Geotiff als WGS84 with the IMC raster mode.
But why you not convert the height line into: shoreline = 0 and depth lines 1, 2, ... n meters?

Looks very nice!!!

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #29 am: 19 April 2019, 21:25:30 »
HELLO
  YOU CAN HELP ME WITH THAT SHAP AND EDIT THE CORRECT ATTRIBUTES.
HOW CAN I ENCRYPT MY MAPS SO THAT OTHERS CAN NOT COPY

best regards
A.RAMOS

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #30 am: 19 April 2019, 23:55:46 »
"(But why you not convert the height line into: shoreline = 0 and depth lines 1, 2, ... n meters?)"
I do not know how to do this conversion. can you help me?

best regards

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #31 am: 20 April 2019, 10:52:57 »
Protection is only possible, if you ask Navico for "toolkit partnership". It's cost about 1.000 USD.

For free is only the possibility to set an expiration date with the IMC. The user cannot use the chart after expiration of the date. This is helpful, but not 100% secure.

Your depth values: I hope you have a shape with all depth lines together. I also must know the line value distance (i hope ever 0,1 m between two lines)

For help i need the value from the shoreline and the value from the greatest deep. The rest is editing in the attribute table. You also can send us the shape file, other users we also help withe there original files and we respect your data protection rights (contact LUKE, the admin, not load the files into the forum).

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #32 am: 20 April 2019, 13:54:33 »
HELLO
  YOU CAN HELP ME WITH THAT SHAP AND EDIT THE CORRECT ATTRIBUTES.
HOW CAN I ENCRYPT MY MAPS SO THAT OTHERS CAN NOT COPY

best regards
A.RAMOS

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #33 am: 20 April 2019, 13:54:56 »
HELLO
  YOU CAN HELP ME WITH THAT SHAP AND EDIT THE CORRECT ATTRIBUTES.
HOW CAN I ENCRYPT MY MAPS SO THAT OTHERS CAN NOT COPY

best regards
A.RAMOS

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #34 am: 20 April 2019, 14:00:55 »
???
Do you read my posts and answer for my questions?

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #35 am: 23 April 2019, 00:28:37 »
Hello, I'm sorry. I was wrong about the answers above. I do not know what happened.

I have all the line nun shap. How much distance of the values ​​of the line you are talking about Will the length of each line be?
The coastline I sent the previous message and has the value of 152.5m deep in relation to the average level of sea water.
A line of lower depth is 82.5m deep in relation to the average level of sea water.

A.Ramos

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #36 am: 23 April 2019, 00:32:21 »
 Can you explain a little better?
 Navico for "toolkit partnership". It's cost about 1.000 USD.


Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #37 am: 23 April 2019, 15:59:38 »
It's unlikely that Navico would engage in a toolkit partner license here.

Date restrictions would be the best path forward.

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #38 am: 23 April 2019, 17:36:01 »
Hello, I'm sorry. I was wrong about the answers above. I do not know what happened.

I have all the line nun shap. How much distance of the values of the line you are talking about Will the length of each line be?
The coastline I sent the previous message and has the value of 152.5m deep in relation to the average level of sea water.
A line of lower depth is 82.5m deep in relation to the average level of sea water.

A.Ramos

There is a small manual for this case: https://www.tacklefever.de/index.php?topic=7678.0

But there is also prohably a small problem - RM need points instead commas and this is the way for you in QGIS:

regexp_replace( "<your column name>" , ',' , '.' )

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #39 am: 24 April 2019, 20:47:39 »
 :weisnicht1:

Offline Antonioramos

  • Jungbrut im Schwarm
  • *
  • Beiträge: 23
  • My/Mein Echo Equipment: HDS-12 Live, Motor Guide Xi5 105 Wireless GPS Remote
Re: pass autocad lines to Shp and switch to sona
« Antwort #40 am: 24 April 2019, 21:01:14 »
I have everything for layers.
I do not know what I can do anymore.
I do not know what you want with maximum and minimum depth?
hug
A.Ramos

Offline gregory

  • Insight Map Creator
  • *
  • Beiträge: 854
Re: pass autocad lines to Shp and switch to sona
« Antwort #41 am: 24 April 2019, 21:23:33 »
It's typical in bathymetric maps to convey elevation lines as depth below shoreline rather than elevation above sea level.

The 152 is only important to convert into this type of map.  (Shoreline Elevation - Contour Elevation = Depth Below Shoreline)

Offline fjordfischer

  • Moby Dick
  • *******
  • Beiträge: 2386
  • My/Mein Echo Equipment: HDS-7 Carbon, HDS-7 G3, HDS-7 G2, SS3D, echoMAP-71sv
Re: pass autocad lines to Shp and switch to sona
« Antwort #42 am: 24 April 2019, 21:29:15 »
1. You can translate the complete website with the manual with Google Translator.
2. You can change your line values as in the picture and the way for this with QGIS and your line shape you find in the manual. Your max depth is 70 m (152,5 - 82,5 m) if the shoreline is 0 (= 152,5 m high).