tproduit / pic2map

QGIS plugin for camera orientation and interaction between a picture and the map (monoplotting).
22 stars 5 forks source link

Pic2Map setup #21

Closed ermondo closed 3 years ago

ermondo commented 4 years ago

Hello sir good day,

I want to install pic2map tool to do orthorectification. In the image I sent to you,URL:? can you send the information? Is there a video or text file that clearly defines the download?

I can't load OpenGL, OpenGL accelerator, piexif python modules with OSGeo4W cmd can you help me please ?

my contact address: burokovic2@gmail.com

pic2mapp

1

2

3

frpin33 commented 4 years ago

Hello to you,

if you read the installation part from the ReadMe on github, you can see that the pluggin require 3 diffrents libraries. To install them you need to find your OSGeo4W, usually the path is directly on C disk then go in the apps folder then in the python37 folder (C:\OSGeo4W64\apps\Python37). From this folder you can launch a command prompt. In the readme you will find the 3 required line to paste. It should launch an installation process.

image

ermondo commented 4 years ago

I have no experience with this, please have a chance to take a small video or picture? please ..

frpin33 commented 4 years ago

I don't understand what is not clear. To open a command prompt you can write cmd in the window search bar and press enter it should open it. The path of the OSGeo4W64 is chosen when you install QGIS. By default it's in the C: disk drive, so if you change it when you did the installation you're the only one to who where it is on your PC. In the command prompt cd is change the current path of the commande line, you need to go in the python directory so when you call python it call the right one. The 3 line you need to paste after de cd call are :

python -m pip install pyOpenGL python -m pip install pyOpenGL_accelerate python -m pip install piexif

You can do it one by one to make sure they are all install. Pip is a python library that facilitate the python libraries intallation. It's already install for you with OSGeo

frpin33 commented 4 years ago

image

ermondo commented 4 years ago

33

I tried to do what you said, but the problem I marked appears.

frpin33 commented 4 years ago

the command is : cd C:\OSGeo4W64\apps\Python37

you forgot cd

ermondo commented 4 years ago

2222

dddddd

I understand the cd event :) but I get such a warning, am i on the right track ?

frpin33 commented 4 years ago

Alright, I found an other simpler way to install the lib.

Go to the OSGeo4W64 directory and open the batch file

image

write the command py3_env

you should be able to launch the python -m pip command after https://landscapearchaeology.org/2018/installing-python-packages-in-qgis-3-for-windows/

image

ermondo commented 4 years ago

afafafa

Sir, I came across such a result, did I do it right?

frpin33 commented 4 years ago

Yes, you can try to reinstall Pic2Map via QGIS

ermondo commented 4 years ago

I am trying right now,

SSSS

frpin33 commented 4 years ago

https://gis.stackexchange.com/questions/161812/how-to-fix-qgis-plugins-crashing-with-nameerror-name-pyplugin-installer-is-n

This is what I found online, did you use the plugins manager to make the installation?

ermondo commented 4 years ago

I will delete the QGIS program and try again