[BUG] Depthmap Fails to Delete Axial Lines
ylerman opened this issue · 27 comments
There is a bug in the latest DepthMap versions related to manual deletion of axial lines.
The program deletes the wrong lines when trying to remove axial line or just crashes.
This bug happens on every .dxf and .grpah, so you can use gallery.dxf or any other
- Create the axial line map and
- Use "Reduce to Fewest Line Map..."
- Go to "Fewest-Line Map (Minimal)"
- Press "Editable Off" to allow editing.
- Select an axial line and try yo delete it.
- A wrong line was removed or the program had crashed.
This issue doesn't happen when using DepthMap 8.15.
Thank you very much,
Yoav Lerman.
Department of Geography and Human Environment
Tel-Aviv University
Will look into it.
Tasos
Hi Tasos,
Did you have a chance to look into this bug?
This happens also in the new DepthMapX version whenever you delete axial
lines not related to the "fewest line map".
Thanks,
Yoav.
2012/4/20 Tasos Varoudis <
reply@reply.github.com
Will look into it.
Tasos
Reply to this email directly or view it on GitHub:
#4 (comment)
Ill move it to the new repo. "deleting" was a problem in the old version, I thought I fixed some of them. Ill check.
(initial thoughts) after investigation this bug seems to be deeply rooted into the core. I've also found a comment form Alasdair saying "lets hope that works".
It might take longer to uncover.
Tasos
(I have posted you report on the depthmapX side)
Thanks a lot for looking into this. I hope it will be resolved. It has to do probably with the way memeory for the objects is allocated and destroyed on deletion.
Hi.
I have a bug with both depthmap and depthmap X when I use "reduce to fewest line map". It keeps crashing when the process is arriving 73%. Actually this function worked pretty well before. but for this time, the data is much bigger. Could this be the reason? Is there anyone can help me solve this problem, please?
Many thanks!
Saiwen
The problem is probably in your import file.
There is some glitch in your drawing maybe?
Without test data its impossible to help you.
Tasos
On 4 Feb 2013, at 17:49, saiwentang <notifications@github.commailto:notifications@github.com> wrote:
Hi.
I have a bug with both depthmap and depthmap X when I use "reduce to fewest line map". It keeps crashing when the process is arriving 73%. Actually this function worked pretty well before. but for this time, the data is much bigger. Could this be the reason? Is there anyone can help me solve this problem, please?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13089361.
Hi, Tasos.
Depthmap has already computed all line map. The file is a .graph file.
Kind regards!
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Monday, February 4, 2013 7:20 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
The problem is probably in your import file.
There is some glitch in your drawing maybe?
Without test data its impossible to help you.
Tasos
On 4 Feb 2013, at 17:49, saiwentang <notifications@github.commailto:notifications@github.com> wrote:
Hi.
I have a bug with both depthmap and depthmap X when I use "reduce to fewest line map". It keeps crashing when the process is arriving 73%. Actually this function worked pretty well before. but for this time, the data is much bigger. Could this be the reason? Is there anyone can help me solve this problem, please?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13089361.
—
Reply to this email directly or view it on GitHub.
Hi.
In the all line map, there are 163525 lines. Is this map too big?
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Monday, February 4, 2013 7:20 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
The problem is probably in your import file.
There is some glitch in your drawing maybe?
Without test data its impossible to help you.
Tasos
On 4 Feb 2013, at 17:49, saiwentang <notifications@github.commailto:notifications@github.com> wrote:
Hi.
I have a bug with both depthmap and depthmap X when I use "reduce to fewest line map". It keeps crashing when the process is arriving 73%. Actually this function worked pretty well before. but for this time, the data is much bigger. Could this be the reason? Is there anyone can help me solve this problem, please?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13089361.
—
Reply to this email directly or view it on GitHub.
Dear Tasos
I still got the problem of reducing the all line axial map into fewest line map. The all line map is generated in Depthmap, so the file is a .graph file. In the all line map, There are 163525 lines. Every time it crashed when I tried to reduce the all line map into fewest line map. Could you please help me sort it out?
Many thanks!
Saiwen
Looks big to me. But I haven't used a map that big to be honest.
The only think I can do of you is to test your map, if you want to submit a test file.
Tasos
On 6 Feb 2013, at 11:28, saiwentang <notifications@github.commailto:notifications@github.com>
wrote:
Dear Tasos
I still got the problem of reducing the all line axial map into fewest line map. The all line map is generated in Depthmap, so the file is a .graph file. In the all line map, There are 163525 lines. Every time it crashed when I tried to reduce the all line map into fewest line map. Could you please help me sort it out?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13177662.
Dear Tasos
Thank you for your help. I attached the all line map I generated using Depthmap. My computer is windows 7, 64 bit with 32 G ram. So my computer should be capable of doing the computation.
Could you please inform me the probable time you expect to solve this problem? Because I have to rearrange my research.
The document I sent you is a copyright map. If you are willing to use it in the future for academic purpose, recommaded reference as followed:
Alain Chiaradia, Saiwen Tang and Valerio Audisio,(2013), Planning and Geography, Cardiff University.
Kind regards!
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 11:40 AM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Looks big to me. But I haven't used a map that big to be honest.
The only think I can do of you is to test your map, if you want to submit a test file.
Tasos
On 6 Feb 2013, at 11:28, saiwentang <notifications@github.commailto:notifications@github.com>
wrote:
Dear Tasos
I still got the problem of reducing the all line axial map into fewest line map. The all line map is generated in Depthmap, so the file is a .graph file. In the all line map, There are 163525 lines. Every time it crashed when I tried to reduce the all line map into fewest line map. Could you please help me sort it out?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13177662.
—
Reply to this email directly or view it on GitHub.
Saiwen's message:
"Clerkenwell Graph"
Click here to view:
https://www.dropbox.com/l/PQcKhfsMgqliveDM
(Saiwen shared this file using Dropbox. Enjoy!)
Hi.
Because the size of the document, I sent it the via Dropbox. You should be able to receive my invitation in a minute.
Saiwen
From: Saiwen Tang saiwentang@yahoo.com
To: SpaceGroupUCL/Depthmap reply@reply.github.com
Cc: Alain Chiaradia zen63296@zen.co.uk
Sent: Wednesday, February 6, 2013 4:27 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Dear Tasos
Thank you for your help. I attached the all line map I generated using Depthmap. My computer is windows 7, 64 bit with 32 G ram. So my computer should be capable of doing the computation.
Could you please inform me the probable time you expect to solve this problem? Because I have to rearrange my research.
The document I sent you is a copyright map. If you are willing to use it in the future for academic purpose, recommaded reference as followed:
Alain Chiaradia, Saiwen Tang and Valerio Audisio,(2013), Planning and Geography, Cardiff University.
Kind regards!
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 11:40 AM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Looks big to me. But I haven't used a map that big to be honest.
The only think I can do of you is to test your map, if you want to submit a test file.
Tasos
On 6 Feb 2013, at 11:28, saiwentang <notifications@github.commailto:notifications@github.com>
wrote:
Dear Tasos
I still got the problem of reducing the all line axial map into fewest line map. The all line map is generated in Depthmap, so the file is a .graph file. In the all line map, There are 163525 lines. Every time it crashed when I tried to reduce the all line map into fewest line map. Could you please help me sort it out?
Many thanks!
Saiwen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13177662.
—
Reply to this email directly or view it on GitHub.
Hi, Im sorry to say that, but your map is HUGE! (huge is an underestimate too)
I believe that your cad file has many glitches, that even with manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or try to fix your cad file and run the analysis on smaller segments of the map first)
Ill close this as its not a bug.
Tasos
When you say glitches in my cad file, do you mean the small isolated polygons outside of the main system. Cause this could be quickly fixed with ArcGis.
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 4:47 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Hi, Im sorry to say that, but your map is HUGE! (huge is an underestimate too)
I believe that your cad file has many glitches, that even with manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or try to fix your cad file and run the analysis on smaller segments of the map first)
Ill close this as its not a bug.
Tasos
—
Reply to this email directly or view it on GitHub.
Hi.
Did you try compute it in your computer. I agree it is not a bug. But does it mean DepthMap can not computer least map for such a big site. Is that any other way to do it, cause I do need Automatic axial map to carry on my research other than the axial map made by hand.
Saiwen
From: SPACE Group - UCL (T.Varoudis) notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 4:47 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Hi, Im sorry to say that, but your map is HUGE! (huge is an underestimate too)
I believe that your cad file has many glitches, that even with manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or try to fix your cad file and run the analysis on smaller segments of the map first)
Ill close this as its not a bug.
Tasos
—
Reply to this email directly or view it on GitHub.
Not only.
I can think of many but: very small corners (that might freakout with float precision), not well connected lines…
But in general you need to start with a simpler map, not a GIS export of half the London.
Build/Clean small areas one by one and analyse as you go.
Tasos
On 6 Feb 2013, at 16:53, saiwentang <notifications@github.commailto:notifications@github.com>
wrote:
When you say glitches in my cad file, do you mean the small isolated polygons outside of the main system. Cause this could be quickly fixed with ArcGis.
Saiwen
From: SPACE Group - UCL (T.Varoudis) <notifications@github.commailto:notifications@github.com>
To: SpaceGroupUCL/Depthmap <Depthmap@noreply.github.commailto:Depthmap@noreply.github.com>
Cc: saiwentang <saiwentang@yahoo.commailto:saiwentang@yahoo.com>
Sent: Wednesday, February 6, 2013 4:47 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Hi, Im sorry to say that, but your map is HUGE! (huge is an underestimate too)
I believe that your cad file has many glitches, that even with manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or try to fix your cad file and run the analysis on smaller segments of the map first)
Ill close this as its not a bug.
Tasos
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-13192023.
I would put the quality of your map first. The "size" of the map, number of lines, might be OK (for automatic generation).
Check my above post.
Direct other replies to my email.
Tasos
Dear Saiwen,
As Tasos put it, first you need to clean and generalise the geometry
of your base map as much as possible. This is easily doable in
ArcGIS, as you know. The reason of the hangup is not necessarily the
number of lines but the number of points in your polygons.
As for Axial line generation, it is meant for research as a proof of
concept and not meant for large area axial map production. You can
split it in chunks, others have done it, but you will always run
into problems at the edges between tiles. There the map won't be
correct.
There is an alternative by Liu and Jiang for ArcGIS 9, called
Axialgen, but they also explain that it won't be able to handle tens
of thousands of lines. You can give it a try though.
Alternatively, Axwoman 6 for ArcGIS 10 has a method for generating
axial maps from road centre lines. They have used it in rather large
maps of whole cities, including London, from OpenStreetMap data. Not
sure it serves your purpose as it is not exactly the same thing.
Hope this information is useful.
Best regards,
Jorge GilOn 06/02/2013 17:00, saiwentang wrote:
Hi.
Did you try compute it in your computer. I agree it is not a bug.
But does it mean DepthMap can not computer least map for such a
big site. Is that any other way to do it, cause I do need
Automatic axial map to carry on my research other than the axial
map made by hand.
Saiwen
________________________________
From: SPACE Group - UCL (T.Varoudis)
<notifications@github.com>
To: SpaceGroupUCL/Depthmap <Depthmap@noreply.github.com>
Cc: saiwentang <saiwentang@yahoo.com>
Sent: Wednesday, February 6, 2013 4:47 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines
(#4)
Hi, Im sorry to say that, but your map is HUGE! (huge is an
underestimate too)
I believe that your cad file has many glitches, that even with
manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or
try to fix your cad file and run the analysis on smaller segments
of the map first)
Ill close this as its not a bug.
Tasos
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view
it on GitHub.
--
Jorge Gil
PhD Candidate
TU Delft / Faculty of Architecture
Department of Urbanism
Chair of Spatial Planning and Strategy
Julianalaan 134
2628 BL Delft
P.O. Box 5043
2600 GA Delft
The Netherlands
Dear Jorge.
Thank you very much for your advice.
It is what we are doing to solve the issue. I did find problems along the cutting edge, which I think may be solved by processing a small area on both sides of the edge.
Kind regards!
Saiwen
From: Jorge Gil notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 8:12 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines (#4)
Dear Saiwen,
As Tasos put it, first you need to clean and generalise the geometry
of your base map as much as possible. This is easily doable in
ArcGIS, as you know. The reason of the hangup is not necessarily the
number of lines but the number of points in your polygons.
As for Axial line generation, it is meant for research as a proof of
concept and not meant for large area axial map production. You can
split it in chunks, others have done it, but you will always run
into problems at the edges between tiles. There the map won't be
correct.
There is an alternative by Liu and Jiang for ArcGIS 9, called
Axialgen, but they also explain that it won't be able to handle tens
of thousands of lines. You can give it a try though.
Alternatively, Axwoman 6 for ArcGIS 10 has a method for generating
axial maps from road centre lines. They have used it in rather large
maps of whole cities, including London, from OpenStreetMap data. Not
sure it serves your purpose as it is not exactly the same thing.
Hope this information is useful.
Best regards,
Jorge GilOn 06/02/2013 17:00, saiwentang wrote:
Hi.
Did you try compute it in your computer. I agree it is not a bug.
But does it mean DepthMap can not computer least map for such a
big site. Is that any other way to do it, cause I do need
Automatic axial map to carry on my research other than the axial
map made by hand.
Saiwen
From: SPACE Group - UCL (T.Varoudis)
notifications@github.com
To: SpaceGroupUCL/Depthmap Depthmap@noreply.github.com
Cc: saiwentang saiwentang@yahoo.com
Sent: Wednesday, February 6, 2013 4:47 PM
Subject: Re: [Depthmap] [BUG] Depthmap Fails to Delete Axial Lines
(#4)
Hi, Im sorry to say that, but your map is HUGE! (huge is an
underestimate too)
I believe that your cad file has many glitches, that even with
manual correction (in a cad software) will take you a lot of time.
SpaceSyntax has an Axial map of London. Maybe go that route? (or
try to fix your cad file and run the analysis on smaller segments
of the map first)
Ill close this as its not a bug.
Tasos
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view
it on GitHub.
Jorge Gil
PhD Candidate
TU Delft / Faculty of Architecture
Department of Urbanism
Chair of Spatial Planning and Strategy
Julianalaan 134
2628 BL Delft
P.O. Box 5043
2600 GA Delft
The Netherlands
www.tudelft.nl
—
Reply to this email directly or view it on GitHub.
Hi
i just want to ask a question how to create a graph files because i can't use depthmap without a graph file please help me i really need it thank you
this is not a general help forum. use the 'space syntax mail list'
Hi,
I am just unable to import few dxf files in depthmap 10. The programme stops functioning whenever I try to do that. What could be the possible reasons and how do I resolve this?
please use the list for general questions next time!
Only DXF file with just straight line can be used! NO curves, polylines, circles etc! Clean your files first.
Tasos
Hi all,
I faced this problem before, you need first to be sure if your dxf file are
polygons (closed very well),
Also you make sure, if your drawings in one layer of lines (advice:try to
redraw your drawings in Autocad in polyline*)
Best
Wafaa
On 7 Mar 2016 20:08, "Tasos Varoudis" notifications@github.com wrote:
please use the list for general questions next time!
Only DXF file with just straight line can be used! NO curves, polylines,
circles etc! Clean your files first.Tasos
—
Reply to this email directly or view it on GitHub
#4 (comment)
.
Thanks a lot.