<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>

<body>
<div class="Normal"><span style='font-size: 10pt; '>Hi Annina</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>> Just a queston:  It
seems only INTERLIS 1 is
supported?</span><br><span style='font-size: 10pt; '>> Are there plans to
support INTERLIS 2 too?</span><br><span style='font-size: 10pt; '>As for ogr2ogr
INTERLIS 2 is supported [1]. A quick look into the plugin code shows that the
first problem is the file chooser which allows you to select only *.itf files. I
changed this to *.xml and *.xtf. I can now select also INTERLIS 2 files but
after hitting the ok button qgis crashes... I then tried to open the INTERLIS 2
file as a normal vector layer (with the default vector layer dialog). This kills
qgis too and you would have no model support (but is it necessary for INTERLIS 2
since it doesn't have to polygonize the geometries). Last attempt with the
console:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>ogr2ogr -f "ESRI Shapefile"
shp2/ Test23_erweitert.xml,Test23_erweitert.ili</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>This is just another
frustration:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Info: Folder
/usr/local/bin/standard doesn't exist;
ignored</span><br><span style='font-size: 10pt; '>Speicherzugriffsfehler</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Without the model it works
and creates all the shapes. I don't know if the crashes are due to our
installation. Does it work for you? I'm not sure if I ever used INTERLIS 2
before. But I'm sure it should work. Perhaps Pirmin (ogr2ogr interlis driver
guru) can give you more information.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>[1]:
http://www.gdal.org/ogr/drv_ili.html</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>regards</span><br><span style='font-size: 10pt; '>Stefan</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>> Thanks
again!</span><br><span style='font-size: 10pt; '>>
Annina</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>> On Oct 11, 2010, at 8:45 AM,
Marco Hugentobler wrote:</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>> > Hi
Stefan</span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> > Thanks for looking into
this. The changed plugin (v. 0.6.1)
</span><br><span style='font-size: 10pt; '>> is uploaded to the
</span><br><span style='font-size: 10pt; '>> >
repo.</span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> >> Since python knows Mac
OS X as "Darwin" [1] it will </span><br><span style='font-size: 10pt; '>>
recognize it as a</span><br><span style='font-size: 10pt; '>> >>
windows machine....</span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> > Oh, true. I thought it
would be something with 'mac' in it.
</span><br><span style='font-size: 10pt; '>> But that would be
</span><br><span style='font-size: 10pt; '>> > like saying GNU instead of
Linux :-)</span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> >
Regards,</span><br><span style='font-size: 10pt; '>> >
Marco</span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> > Am Sonntag, 10. Oktober
2010, um 18.21:25 schrieb Ziegler
Stefan:</span><br><span style='font-size: 10pt; '>> >> Hi
Annina</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> I think I have a
solution. There are two issues:</span><br><span style='font-size: 10pt; '>>
>> </span><br><span style='font-size: 10pt; '>> >> 1) "The PATH
problem": You can copy the ili2c.jar to one of
the</span><br><span style='font-size: 10pt; '>> >> following
directories:</span><br><span style='font-size: 10pt; '>> >> *
/usr/bin</span><br><span style='font-size: 10pt; '>> >> *
/bin</span><br><span style='font-size: 10pt; '>> >> *
/usr/sbin</span><br><span style='font-size: 10pt; '>> >> *
/sbin</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> If you are on your own
computer this should not be a </span><br><span style='font-size: 10pt; '>>
problem. You don't</span><br><span style='font-size: 10pt; '>> >> need
to do this for the JRE.</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> 2) There is a little
bug in the interlis plugin. It needs to
know</span><br><span style='font-size: 10pt; '>> >> weather it is a
windows machine or not. It uses a python
</span><br><span style='font-size: 10pt; '>> method for
this</span><br><span style='font-size: 10pt; '>> >> and counts the word
"win" in the OS name returned by the
</span><br><span style='font-size: 10pt; '>> python
method.</span><br><span style='font-size: 10pt; '>> >> Since python
knows Mac OS X as "Darwin" [1] it will
</span><br><span style='font-size: 10pt; '>> recognize it as
a</span><br><span style='font-size: 10pt; '>> >> windows machine.... I
cc this email to Marco, the author
</span><br><span style='font-size: 10pt; '>> of the
plugin.</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> @Marco: Can you replace
line 63 of interlisdialog.py with
</span><br><span style='font-size: 10pt; '>>
"if(osString</span><br><span style='font-size: 10pt; '>> >> == "win32"
or osString == "cygwin"):" ?</span><br><span style='font-size: 10pt; '>>
>> </span><br><span style='font-size: 10pt; '>> >> [1]:
http://docs.python.org/library/sys.html</span><br><span style='font-size: 10pt; '>>
>> </span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >>
regards</span><br><span style='font-size: 10pt; '>> >>
Stefan</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> Mit freundlichem
Gruss</span><br><span style='font-size: 10pt; '>> >> Stefan
Ziegler</span><br><span style='font-size: 10pt; '>> >> Leiter
Aufsicht</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >> Kanton
Solothurn</span><br><span style='font-size: 10pt; '>> >> Bau- und
Justizdepartement</span><br><span style='font-size: 10pt; '>> >> Amt
für Geoinformation</span><br><span style='font-size: 10pt; '>> >>
Rötistrasse 4</span><br><span style='font-size: 10pt; '>> >> 4501
Solothurn</span><br><span style='font-size: 10pt; '>> >> Telefon 032
627 75 96</span><br><span style='font-size: 10pt; '>> >> Telefax 032
627 75 98</span><br><span style='font-size: 10pt; '>> >>
stefan.ziegler@bd.so.ch</span><br><span style='font-size: 10pt; '>> >>
http://www.so.ch</span><br><span style='font-size: 10pt; '>> >>
</span><br><span style='font-size: 10pt; '>> >>>
-----Ursprüngliche
Nachricht-----</span><br><span style='font-size: 10pt; '>> >>> Von:
Annina Hirschi Wyss
[mailto:annina.hirschi@gmx.net]</span><br><span style='font-size: 10pt; '>>
>>> Gesendet am: Samstag, 9. Oktober 2010
11:46</span><br><span style='font-size: 10pt; '>> >>> An:
qgis-user@lists.osgeo.org</span><br><span style='font-size: 10pt; '>>
>>> Cc: William
Kyngesburye</span><br><span style='font-size: 10pt; '>> >>> Betreff:
Re: [Qgis-user] INTERLIS plugin on
mac</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> Thanks for your
help, William,</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> I'm quite
discouraged... Hope getting some help from
the</span><br><span style='font-size: 10pt; '>> >>> plugin
developer</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> On Oct 8, 2010, at
9:57 PM, William Kyngesburye
wrote:</span><br><span style='font-size: 10pt; '>> >>>> On Oct 8,
2010, at 2:33 PM, Annina Hirschi Wyss
wrote:</span><br><span style='font-size: 10pt; '>> >>>>> On
Oct 8, 2010, at 7:04 PM, William Kyngesburye
wrote:</span><br><span style='font-size: 10pt; '>> >>>>>>
On Oct 8, 2010, at 11:32 AM, Annina Hirschi Wyss
wrote:</span><br><span style='font-size: 10pt; '>>
>>>>>>> Hi
List,</span><br><span style='font-size: 10pt; '>>
>>>>>>> </span><br><span style='font-size: 10pt; '>>
>>>>>>> I can't get the INTERLIS plugin to work on my
OSX</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> 10.6.4, QGIS 1.5.0
(Framework install from KyngChaos).
It</span><br><span style='font-size: 10pt; '>> >>> says it can't
find the JRE, so I set the JAVA_HOME
variable</span><br><span style='font-size: 10pt; '>> >>> and path,
but no change...</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>>>>> Am
I missing something, or did someone make similar
</span><br><span style='font-size: 10pt; '>>
experiences?</span><br><span style='font-size: 10pt; '>>
>>>>>> </span><br><span style='font-size: 10pt; '>>
>>>>>> Do you need model support?  From what the dialog says
for</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> loading Interlis
data, Java is needed for model
support,</span><br><span style='font-size: 10pt; '>> >>> implying
that will still read interlis data without
it.</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>>> Yes I'd
like to. but even if i try to load an interlis
xml</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> without a model,
it's not selectable in the
"choose"-window</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>> I don't know
about this, it sounds like a problem with
the</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> operation of the
plugin.</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>>>> Adding
the JRE path to the environment is yet
another</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> case where OS X
applications do not get any of the
shell</span><br><span style='font-size: 10pt; '>> >>> environment
(ie set in your .bash_profile).  There is
a</span><br><span style='font-size: 10pt; '>> >>> hidden, little
documented (if at all) method to
get</span><br><span style='font-size: 10pt; '>> >>> environment into
an application, but I don't like
to</span><br><span style='font-size: 10pt; '>> >>> encourage it
because it's clunky to use (hidden file, and
no</span><br><span style='font-size: 10pt; '>> >>> GUI unless you
install 3rd party software).</span><br><span style='font-size: 10pt; '>>
>>> </span><br><span style='font-size: 10pt; '>>
>>>>> do you mean the /etc/paths-file? Or is it more
complex?</span><br><span style='font-size: 10pt; '>> >>>>
</span><br><span style='font-size: 10pt; '>> >>>> That's also
just for the shell.</span><br><span style='font-size: 10pt; '>>
>>>> </span><br><span style='font-size: 10pt; '>>
>>>> If you really, really, really want to use this
hidden</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> environment thing,
install the RCEnvironment preference
pane.</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>>
-----</span><br><span style='font-size: 10pt; '>> >>>> William
Kyngesburye
<kyngchaos*at*kyngchaos*dot*com></span><br><span style='font-size: 10pt; '>>
>>>>
http://www.kyngchaos.com/</span><br><span style='font-size: 10pt; '>>
>>>> </span><br><span style='font-size: 10pt; '>>
>>>> "We are at war with them. Neither in hatred nor revenge
and</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> with no particular
pleasure I shall kill every ___ I
can</span><br><span style='font-size: 10pt; '>> >>> until the war is
over. That is my duty."</span><br><span style='font-size: 10pt; '>>
>>> </span><br><span style='font-size: 10pt; '>> >>>>
"Don't you even hate 'em?"</span><br><span style='font-size: 10pt; '>>
>>>> </span><br><span style='font-size: 10pt; '>>
>>>> "What good would it do if I did? If all the many
millions</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>> of people of the
allied nations devoted an entire
year</span><br><span style='font-size: 10pt; '>> >>> exclusively to
hating the ____ it wouldn't kill one ___
nor</span><br><span style='font-size: 10pt; '>> >>> shorten the war
one day."</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>> <Ha, ha>
"And it might give 'em all stomach
ulcers."</span><br><span style='font-size: 10pt; '>> >>>>
</span><br><span style='font-size: 10pt; '>> >>>> - Tarzan, on
war</span><br><span style='font-size: 10pt; '>> >>>
</span><br><span style='font-size: 10pt; '>> >>>
_______________________________________________</span><br><span style='font-size: 10pt; '>>
>>> Qgis-user mailing
list</span><br><span style='font-size: 10pt; '>> >>>
Qgis-user@lists.osgeo.org</span><br><span style='font-size: 10pt; '>>
>>>
http://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span style='font-size: 10pt; '>>
> </span><br><span style='font-size: 10pt; '>> >
</span><br><span style='font-size: 10pt; '>> > --
</span><br><span style='font-size: 10pt; '>> > Dr. Marco
Hugentobler</span><br><span style='font-size: 10pt; '>> > Sourcepole - 
Linux & Open Source Solutions</span><br><span style='font-size: 10pt; '>>
> Webereistrasse 66, 8134 Adliswil,
Switzerland</span><br><span style='font-size: 10pt; '>> >
marco.hugentobler@sourcepole.ch
http://www.sourcepole.ch</span><br><span style='font-size: 10pt; '>> >
Technical Advisor QGIS Project Steering
Committee</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>>
_______________________________________________</span><br><span style='font-size: 10pt; '>>
Qgis-user mailing list</span><br><span style='font-size: 10pt; '>>
Qgis-user@lists.osgeo.org</span><br><span style='font-size: 10pt; '>>
http://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span style='font-size: 10pt; '>>
</span></div>



</body>

</html>