Jump to content

yousef2233

Members
  • Content Count

    405
  • Joined

  • Last visited

  • Days Won

    27

yousef2233 last won the day on January 3 2018

yousef2233 had the most liked content!

Community Reputation

278 Famous

1 Follower

About yousef2233

  • Rank
    Lecturer

Contact Methods

Profile Information

  • Gender
    Not Telling
  • Interests
    Network Analysis :D

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi (Works for Hyperlinks): If your images are in a sub-folder next to your mxd named "Images", Hyperlink field value have to be "Images\Image_1.jpg".
  2. do you work with layout.mxd or "current" ? do you save it after adding layers? works fine here import arcpy arcpy.env.workspace = r"C:\Users\Default.gdb" mxd = arcpy.mapping.MapDocument(r"D:\Untitled.mxd") listFC = arcpy.ListFeatureClasses() df = arcpy.mapping.ListDataFrames(mxd)[0] for fc in listFC: layer = arcpy.mapping.Layer(fc) arcpy.mapping.AddLayer(df,layer,"TOP") mxd.save() del mxd
  3. dear Reyalino, put df = arcpy.mapping.ListDataFrames(mxd)[0] before "for loop", import arcpy arcpy.env.workspace = "D:/Directory/Map" mxd = arcpy.mapping.MapDocument("D:/Directory/Map/layout.mxd") listFC = arcpy.ListFeatureClasses() df = arcpy.mapping.ListDataFrames(mxd)[0] for fc in listFC: layer = arcpy.mapping.Layer(fc) arcpy.mapping.AddLayer(df,layer,"TOP")
  4. With Image Classification toolbar it recognizes objects in images
  5. Dear fernandocjr, Check "Integrate" tool in FeatureClass toolset.
  6. dear zsoooc, It seems your problem is Capacitated maximal covering location problems and for the stated problem my recommendation is Esri Arcgis Network Analyst Location Allocation tools.
  7. Dear Adnan, Would you send me a sample avl file ?
  8. If you have access to ArcGIS, using "Warp" in modelbuilder or python could automate your process.
  9. http://stackoverflow.com/questions/1613117/resizing-an-image-in-cm-c-sharp bmp.HorizontalResolution , bmp.VerticalResolution "HorizontalResolution and the VerticalResolution are pixel per inch
  10. Sorry my bad take a look http://stackoverflow.com/questions/6455979/how-to-get-the-image-dimension-from-the-file-name
  11. System.Drawing.Image img = System.Drawing.Image.FromFile (@"my image.jpg") now you have img.Width and img.Height
  12. 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?
  13. 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)
  14. 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.
×

Important Information

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