Jump to content

Our forum made possible by displaying online advertisements to our visitors.

Please consider supporting us by disabling your ads blocker.


  • Content count

  • Joined

  • Last visited

  • Days Won


yousef2233 last won the day on April 24

yousef2233 had the most liked content!

Community Reputation

273 Famous

1 Follower

About yousef2233

  • Rank

Contact Methods

Profile Information

  • Gender
    Not Telling
  • Interests
    Network Analysis :D
  1. Request for plotting of route waypoints using Google Map..?

    Dear Adnan, Would you send me a sample avl file ?
  2. Georeferencing multiple topo maps

    If you have access to ArcGIS, using "Warp" in modelbuilder or python could automate your process.
  3. http://stackoverflow.com/questions/1613117/resizing-an-image-in-cm-c-sharp bmp.HorizontalResolution , bmp.VerticalResolution "HorizontalResolution and the VerticalResolution are pixel per inch
  4. Sorry my bad take a look http://stackoverflow.com/questions/6455979/how-to-get-the-image-dimension-from-the-file-name
  5. System.Drawing.Image img = System.Drawing.Image.FromFile (@"my image.jpg") now you have img.Width and img.Height
  6. you have to move center of your image which is not georeferenced to the exact location, this is the movement problem and your question about pixels and cm, think about a resolution (100,100) with 2 different pixel sizes 1 - 1*1 cm2 2 - 1000*1000 cm2 do you think calculation in pixels is correct now?
  7. I don't have any documents, unfortunately. convert your image into an array. find the x y of the center of the image for example (10 cm, 12 cm) convert them to degrees dx = Long - Xdeg dy = Lat - Ydeg A = move all the cells with this dx and dy B = rotate A (flight azimuth) C = scale B based on flight height and .. (i'm not sure about dz)
  8. As far as I know, yes you can you have image size, camera elevation, camera focus length, so you can solve Scale problem, you have flight azimuth, so you can solve Rotation problem if you have delta X, delta Y and delta Z, so you can solve Movement problem.
  9. I dont know about that. But there is another angle on the top right of the image. I dont remember these courses but my guess is information on top are about flight and on the bottom are about camera settings!!
  10. Hi, Pixel size will solve the problem of scale, How about the rotation problem? Is that Azimuth angle? It seems like an imagery from a water body with an elevation near to zero. do you have the elevation of the camera (1114.1 meters?)? and size of the image? is it tilted?
  11. little help here

    Use ArcPy instead. I sent you the sample code in pm
  12. little help here

    Its not that easy, it makes some gaps and overlap some times 1 - do you care about topology rules ? 2 - how much is your accuracy ?
  13. Multiple buffer with arcpy ArcGIS

    I think you should use cursors like this input_fc="fc" field = "buffer_value_field" output = "fc_somewhere" output_temp = "fc_somewhereElse" cursor = arcpy.da.SearchCursor(input_fc) for row in cursor: arcpy.analysis.Buffer(input_fc,row.getValue(field),output_temp) arcpy.management.Append(output_temp,output,"NO_TEST") arcpy.management.Delete(output_temp) it does not work in the append process, I just made a conceptual example for you
  14. first thing on my mind is: 1 - convert end of your line to point - (arcpy.management.featurevertiestopoints) 2 - add points based on function(length, deflection) which based on last point on OID list [email protected] it calculates new XY maybe you can do it with tables only 3 - create a line based on points created in last step and then add it to first line you had 4 - do step 2 and 3 over and over again till end of your list
  15. Request for a Python Code

    I didnt check your file, but the solution is sth like this fc = "your_featureclass" fields = ["road_name_field"] cursor = arcpy.da.UpdateCursor(fc, fields) for row in cursor: full_name = [] full_name = row[0].split(" ") road_type = full_name[-1] if road_type = "ST": full_name[-1] = "STREET" elif road_type = "RD": full_name[-1] = "ROAD" result= full_name[:-1] result.append(full_name[-1]) row[0]= " ".join(result) cursor.updateRow(row)

Important Information

By using this site, you agree to our Terms of Use.