[Community] Creating a Datalayer
Uwe Seher
useher at web.de
Thu Nov 9 10:25:04 EET 2006
> -----Ursprüngliche Nachricht-----
> Von: "gispython.org community projects" <community at lists.gispython.org>
> Gesendet: 08.11.06 17:02:48
> An: "gispython.org community projects" <community at lists.gispython.org>
> Betreff: Re: [Community] Creating a Datalayer
> Uwe Seher wrote:
> > Hello!
> > I have a problem displayin a Datalayer or to create some Point in there. It
> > just doesn't display in the map (but the symbol in the legend appears) if
> > ist activated and it produces severeal different error-Messages:
> >
> > The first:
> >
> > Traceback (innermost last):
...
> > _render_layer_memory_extrinsic
> > Module cartography.engine.mapserver.rendering, line 730, in
> > _insert_feature
> > Module mapscript, line 743, in addFeature
> > TypeError: Expected a pointer
> >
> > Next one:
> >
> > Traceback (innermost last):
...
> > - __traceback_info__: ([], 'default')
> > Module OFS.ObjectManager, line 726, in __getitem__
> > KeyError: 'default'
> >
> > And this one, when i click to create a Point:
> >
> > Traceback (innermost last):
...
> > AssertionError: x: -1.0, y: -1.0
> >
> > I did:
> > Set the attributes bbox and type to the layer, checked the paths, inserted
> > full path from the zope-root, tried to create a GeoAware-Object by hand,
> > changed the status of different object. I just dont know whats going wrong.
> >
> >
> > It would be nice if someone has a hint.
> >
> > Thank you
> >
> > Uwe Seher
> >
> > Version is PrimaGIS 0.51, ZCO 0.73, PCL 0.10,, Plone 2.1.4, Zope 2.9.4 and
> > Python 2.4.3
> >
>
> The cause of the mapscript problem (first error) is that incompatible
> versions of SWIG were used to generate mapscript and PCL. You must
> return to your mapserver souce and re-build mapscript using your system
> SWIG program. See
> http://trac.gispython.org/projects/PCL/wiki/FrequentlyAskedQuestions. In
> the PrimaGIS manual, Kai links to a script he uses to rebuild
> mapscript.py properly.
>
> I'm not sure about the second error, but it may be related.
>
> Cheers,
> Sean
>
> --
> Sean Gillies
> http://zcologia.com/news
Hi!
Maybe i have an to old manual lying around here, i print a newer... ;)
There is a note avbout SWIG for SVN-users (which i am not, so i didnt read, hmpf...)
Can i use the SWIG which comes with Suse 10.1 (Version 1.3.27)?
The last error was a User-Problem with a wrong datatype.
Thank you
Uwe
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
More information about the Community
mailing list