[Talk-cz] Import adres z katastralni mapy
Petr Dlouhý
petr.dlouhy na email.cz
Středa Leden 20 13:33:59 UTC 2010
Ahoj,
díky za opravu, nyní to vypadá, že se dostal o kousek dál. Program vypíše
následující hlášení:
mono tile-processor.exe -tiles output -output output.csv
Processing tile: 14,6603_49,8538_14,6653_49,8588-budovy ..
Performing OCR: 1/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
Unhandled Exception: System.IO.FileNotFoundException: Could not find file
"/home/petr/soubory/nezarazeno/rsdosm/adresy/label.txt".
File name: '/home/petr/soubory/nezarazeno/rsdosm/adresy/label.txt'
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000]
at System.IO.StreamReader..ctor (System.String path,
System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks,
Int32 bufferSize) [0x00000]
at System.IO.StreamReader..ctor (System.String path) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor
(string)
at CUZK.ExtractAddresses.TileAnalyzer.ExtractLabel (Point pt,
System.Drawing.Bitmap map) [0x00000]
at CUZK.ExtractAddresses.TileAnalyzer.Analyze (System.String filename)
[0x00000]
at CUZK.ExtractAddresses.Program.Main (System.String[] args) [0x00000]
Což ani nevypadá, že by byl problém s Monem. Co má být v souboru
label.txt? Když ten soubor vytvořím a vložím tam nějaké znaky, tak to
začne vypisovat:
mono tile-processor.exe -tiles output -output output.csv
Processing tile: 14,6603_49,8538_14,6653_49,8588-budovy ..
Performing OCR: 1/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
2/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
3/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
4/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
5/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
6/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
7/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
8/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
9/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
10/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
11/119xdg-open: unexpected argument
'/home/petr/soubory/nezarazeno/rsdosm/adresy/tmp.bmp'
Try 'xdg-open --help' for more information.
...a tak pořád dál.
On Wed, 20 Jan 2010 14:18:10 +0100, Lukas Kabrt <lukas na kabrt.cz> wrote:
> s Linuxem nemam moc zkusenosti a ani s MONO jsem prilis nepracoval,
> ale budu se snazit pomoct.
> Pokud jsem ten error spravne rozklicoval, tak se mu nelibi poziti
> knihovny AForge. Program jsem upravil tak, aby tuhle knihovnu
> nepouzival. Upravena verze je ke stazeni na [1].
--
Petr Dlouhý
Další informace o konferenci talk-cz