You are not logged in.

#1 2011-09-01 14:58:58

railrun
Member
From: Dresden
Registered: 2009-10-19
Posts: 214
Website

Using osm-bundler on Ubuntu

Helllo,

I've read this wiki.
So I was just interested how it work but for me it didn't work.
Python is already installed on my system.
Installing of PIL also worked. (testet with python selftest build)
Installing libgfortran3 also worked.
Export of path for libANN_char.so worked.
Trying to start osm-bundler worked (showed the help)
Starting with list of example photos crashed... sad Any ideas?

python RunBundler.py --photos=list.txt 
Working directory created: /tmp/osm-bundler-wG6y5m
BundlerMatching executable path: /home/myubuntu/osm/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: /home/myubuntu/osm/osm-bundler/software/vlfeat/bin/glx/sift

Processing photo 'IMGP3417.jpg':
    Copy of the photo has been scaled down to 1200x900
    Extracting features with the SIFT method from VLFeat library...
Traceback (most recent call last):
  File "RunBundler.py", line 9, in <module>
    manager.preparePhotos()
  File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 134, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/home/myubuntu/osm/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
    subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
  File "/usr/lib/python2.7/subprocess.py", line 486, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied

Thanks


VG
Martin

Offline

#2 2011-09-05 10:45:37

vvoovv
Moderator
Registered: 2008-03-04
Posts: 2,262

Re: Using osm-bundler on Ubuntu

Something is wrong with permissions. Unfortunately I don't have Linux.

In general, if you want to extract building outlines from photos, I'd recommend you to use OpenStreetMap Plugin for Google Sketchup.
Though I'm not sure if it works on Linux

Offline

#3 2011-09-16 18:09:11

Boman
Member
Registered: 2010-07-21
Posts: 1

Re: Using osm-bundler on Ubuntu

Hi Martin,

I've tried osm-bundler under linux-mint 11 and I finally got it to work.

My first problem was installing PIL with jpeg-support.
The following link helped me: http://www.answermysearches.com/fixing- … lable/320/

Second problem was the permission-problem you described.
The solution is, to change the permission of the files in the subdirs of osm-bundler/software/ to executable.
In special the following command changes the permissions:

chmod +x software/bundler/bin/Bundle2PMVS software/bundler/bin/bundler software/bundler/bin/extract_focal.pl software/bundler/bin/jhead software/bundler/bin/KeyMatchFull software/bundler/bin/libANN_char.so software/bundler/bin/RadialUndistort software/bundler/bin/ToSift.sh software/sift-lowe/sift software/vlfeat/bin/glx/*

The third problem was something like "libgfortran could not be found". Even though i installed the package.
I solved it in a very quick and dirty way:
I downloaded the amd64-deb package from http://packages.ubuntu.com/natty/amd64/ … 3/download and unpacked the file libgfortran.so.3.0.0 to software/bundler/bin/libgfortran.so.3

Hope I could help you.

Greetings, Falko

Offline

#4 2011-12-03 00:39:21

!i!
Member
Registered: 2009-11-28
Posts: 3,313
Website

Re: Using osm-bundler on Ubuntu

Hi, photogrammetry seems to be interesting to get 3D models  but currently there is no easy to use tool out there?
I guess this has to change if we want even non 3D aware novices to contribute models hmm


privater Account von KVLA-HRO-Mei

Offline

#5 2011-12-13 08:47:57

vvoovv
Moderator
Registered: 2008-03-04
Posts: 2,262

Re: Using osm-bundler on Ubuntu

!i!

Google Sketchup with its photo matching tool and OSM plugin seems to be a more practical approach.
There is a special topic at this forum

Offline

Board footer

Powered by FluxBB