|
Hello Everybody,
I have some query regarding to find out the location from google map or Images. So I want some help from your site.
Q1 : How to get the Road Area From an Image?
Q2 : Is this any Component to Import the data from AutoCad File and Export to AutoCad File.
Q3 : Is this any component for Window Based Control for Get the control from ArcGis.
Q4 : How Can i convert the Road to Line Form?
Your suggestions and help is required.
Thanks
If you can think then I Can.
|
|
|
|
|
Before anybody could offer any help, you might want to explain what you are trying to achieve so we can offer you some alternatives. There are no easy ways to extract roads from images because roads are not 2 dimensional items - they are represented internally as having X, Y and Z axes.
As far as the conversion of AutoCAD data, you need to specify what you are trying to convert it into/from. If it's a well known type, it might be supported by OGR which has a .NET version here[^].
|
|
|
|
|
Based on the assumption that you do GIS project.
Q1: normally, the road name for GIS project does not from image, it is from vector map data, the map data format could be shape file (.shp) or some other format. If you really want to get the road name from image, you need do image processing.
Q3: ArcGIS has a development SDK and you can uses in windows application, it supports C++, C# and so on. You can check on ESRI website.
Q4: If you have map data and in vector format, you don't need convert to line and you just read from the file. If you want to exact the road from a image, then again, you have to use image processing.
Hope it help.
From Athena Solution (www.athena-solution.com)
|
|
|
|
|
So Today I was going trough some old projects of mine and found a project i tried to make a couple of years ago. It's a client for any flash game on the web. But the problem I have with it is that i never was able to find out how to record something that happend in the form. I am asking your help because I really want to finish this project so that I can make movies of some of the flash games I play and I dont feel like use camtasia or something.
I am not asking for you guys to write my code but some help in the right direction may be helpful
Kind regards
Yves Cambré
|
|
|
|
|
|
Yes I searched google before and the only things you find there are to take screenshots of your screen I have implemented a screenshot tool in the verry beginning already
But i cant seem to find anything to make it record a movie of the form.
And thanks for the reply btw
|
|
|
|
|
|
I will explore it the moment I get home from work
|
|
|
|
|
Good hope it will help you, otherwise I guess exists libraries which you can use to accomplish your task.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
It didn't work out for me
It doesn't seem to work for windows 7 vs 2010 ultimate
|
|
|
|
|
Maybe try to work with Microsoft Expression Encoder Screen Capture
|
|
|
|
|
I checked it out and the free version has a 10minute recording limite + I don't know if can embed it in my program
The best thing should be a library i could call to
Because i would like to write the recorder myself
|
|
|
|
|
You can try camstudio, it is a screen capture software. If the frame/sec is not fast enough, I remember Microsoft has a SDK (Direct show or ?) for this screen capture.
from Athena Solution (www.athena-solution.com)
|
|
|
|
|
If you're using XP, I think Windows Media Encoder may be an option.
I believe that it can be automated.
Not supported under Windows 7 though...
replace by Expression Encoder which doesn't seem to be free.
|
|
|
|
|
Hello.
I'm trying upload a file which name contains '#', for example: '#1.doc', or 'myFile#125.exe' to WebDAV Server, which is running on Linux.
I use HttpUtility.UrlEncode() Method for encoding URL, but everytime the result will be files with name '1.doc' and 'myFile' on the server.
Please, give some advice.
Thank you.
|
|
|
|
|
Can you please show us the code?
HttpUtility.UrlEncode() Method will replace the
# with
%23
Better, try your code without this method.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
I do use HttpUtility.UrlEncode().
But it's not replacing # to %23, simply, leaving it as it is.
So, I replaced # to %23 manually.
Now it's working.
Thank you.
|
|
|
|
|
Uri.EscapeDataString
Should encode '#' (as well as others).
|
|
|
|
|
Thank you.
This is really a helpful method.
|
|
|
|
|
List<string> savedControls = new List<string>();
List<Control> formControls = new List<Control>();
private void button2_Click(object sender, EventArgs e)
{
savedControls.Clear(); formControls.Clear();
StreamReader sr = new StreamReader(path + "\\settings.txt");
string s = sr.ReadToEnd();
RichTextBox text = new RichTextBox();
text.Text = s;
foreach (Control c in this.Controls)
{
formControls.Add(c);
}
for (int i = 0; i <= text.Lines.Length - 1; i++)
{
savedControls.Add(text.Lines[i]);
}
for (int i = 0; i <= formControls.Count - 1; i++)
{
for (int j = 0; j <= savedControls.Count - 1; j++)
{
if (savedControls[j].Contains(formControls[i].Name))
{
savedControls[j] = savedControls[j].Replace(formControls[i].Name + "=", "");
}
}
}
sr.Close();
}
|
|
|
|
|
I am trying with this little code:
foreach (NumericUpDown num in this.Controls)
{
if (num.Name == formControls[i].Name)
{
num.Value = int.Parse(savedControls[j]);
break;
}
}
but it throws errors:
<br />
System.InvalidCastException was unhandled<br />
Message=Unable to cast object of type 'System.Windows.Forms.ProgressBar' to type 'System.Windows.Forms.NumericUpDown'.
|
|
|
|
|
Try this code instead:
foreach (Control num in this.Controls)
{
if ( ! ( num is NumericUpDown ) )
continue;
NumericUpDown numeric = (NumericUpDown)num;
if (numeric.Name == formControls[i].Name)
{
numeric.Value = int.Parse(savedControls[j]);
break;
}
}
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
its working ...thanks [Richard Andrew x64]
I must test it for other values and other controls...so until then this remain a open post.
|
|
|
|
|
this.Controls contains a set of all controls.
Since you need to access only a particular control, have a check (case or if statement) just for that type of control.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
I'm working on a project which is by C# language. I want to produce a Dictionary which is similar to Narcis or Easylingo that able the user to use the mouse and just move the cursor on the WORD in any application then the program detect the word and will find the meaning for that particular word.
My question is How I can detect the word which is under the Mouse Cursor on the screen in any application such as Microsoft office or Web browsers, etc.
I'm looking for any tips and guide or any Codes which can help me.
Your cooperation is highly appreciated.
|
|
|
|