[Talk-cz] Import adres z katastralni mapy
Petr Dlouhý
petr.dlouhy na email.cz
Středa Leden 20 14:06:44 UTC 2010
Ahoj,
zjistil jsem, že problém je způsoben knihovnou gdiplus. Když to pustíš s
nativním (windowsovým gdiplus), tak to vypisuje spousty errorů, ale zdá
se, že to funguje.
Postup je tedy nakopírovat do složky k tile-processoru knihovnu
gdiplus.dll a spustit:
WINEDLLOVERRIDES="gdiplus=n" wine tile-processor.exe -tiles output -output
output.csv
On Wed, 20 Jan 2010 13:26:03 +0100, Aleš Janda <openstreetmap na kyblsoft.cz>
wrote:
> Dneska jsem to zkoušel pod wine. Bohužel nevyřešil, píše to
>
> $ wine tile-processor.exe -tiles data/oblast/ -output data/oblast.csv
> File '/home/ales/.local/share/applications/wine-extension-skp.desktop'
> contains
> invalid MIME type 'SKP' that is missing a slash
> Processing tile:
> 16,1050_50,4842_16,1100_50,4892-budovy err:ole:CoInitializeEx
> Attempt to change threading model of this apartment from multi-threaded
> to
> apartment threaded
> err:ole:marshal_object couldn't get IPSFactory buffer for interface
> {9edde9e7-8dee-47ea-99df-e6faf2ed44bf}
> err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub,
> hres=0x80040155
> err:ole:CoMarshalInterface Failed to marshal the interface
> {9edde9e7-8dee-47ea-99df-e6faf2ed44bf}, 80040155
> fixme:ole:CoCreateInstance no instance created for interface
> {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class
> {389ea17b-5078-4cde-b6ef-25c15175c751}, hres is 0x80040155
>
> Unhandled Exception: System.Exception: Generic Error [GDI+ status:
> GenericError]
> at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
> at System.Drawing.Image.FromFile (System.String filename, Boolean
> useEmbeddedColorManagement) [0x00000]
> at System.Drawing.Image.FromFile (System.String filename) [0x00000]
> at CUZK.ExtractAddresses.TileAnalyzer.Analyze (System.String
> filename) [0x00000]
> at CUZK.ExtractAddresses.Program.Main (System.String[] args) [0x00000]
>
>
> Asi to chce ten .NET Framework 3.5, ale ten je ve Wine označen jako
> garbage, tak
> jsem to zatím dál nezkoušel…
>
> Aleš Janda
>
>
> On 20.1.2010 13:12, Petr Dlouhý napsal/a:
>> Ahoj,
>>
>> tak stahování už funguje. Teď je zase problém s tile-processorem.
>> Program vypíše, že mu chybí ntdll.dll (celý výpis v debug módu je v
>> příloze) a skončí. Víc informací o chybějících knihovnách je na [1], ale
>> nevím, kde bych vzal ntdll.dll, resp. kdybych vzal tu windowsovou, tak
>> by velmi pravděpodobně nefungovala - jediná možnost, kterou vidím je to
>> zkusit spustit celé pod Wine.
>> Má někdo nějaké nápady, jak by se to dalo obejít?
>>
>> [1] http://www.mono-project.com/DllNotFoundException
>>
>
> _______________________________________________
> Talk-cz mailing list
> Talk-cz na openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-cz
--
Petr Dlouhý
Další informace o konferenci talk-cz