[postgis-users] ERROR: Unknown geometry type: 0 - Unknown

Sandro Santilli strk at keybit.net
Wed Aug 17 06:34:13 PDT 2011


On Wed, Aug 17, 2011 at 03:29:34PM +0200, Andreas Forø Tollefsen wrote:
> I see. However I cannot dump my db anymore either.
> When for instance: pg_dump -Fc db1 > db1.dump
> I get the same ERROR: Unknown geometry type: -256 - Unknown.

Did you do:

> > Check SVN history and get back in time.

?

--strk;

> 
> 
> 2011/8/17 Sandro Santilli <strk at keybit.net>
> 
> > Starting from a specific revision, a new serialized format was
> > enabled, requiring you to do a dump/reload.
> > Check SVN history and get back in time.
> > If you want to jump over, dump, svn up and restore.
> >
> > --strk;
> >
> > On Wed, Aug 17, 2011 at 03:14:23PM +0200, Andreas Forø Tollefsen wrote:
> > > Hi all.
> > >
> > > I was experimenting with some raster functionality in the SVN 6874.
> > However,
> > > as there were some fixed bugs in later version I decided to create a new
> > > database on my server using SVN 7749.
> > > When installing this i must have updated some of the libraries, GEOS i
> > guess
> > > and maybe others.
> > >
> > > The problem now is that while the 7749 database works flawless, the 6874
> > > have become corrupted.
> > > When querying any geometry column i get this:
> > > SELECT cshapes.geom FROM cshapes;
> > > results in:
> > > ERROR:  Unknown geometry type: 0 - Unknown
> > >
> > > It does not matter whether i query from remote or from the actual server.
> > >
> > > Any ideas on whether it is possible to solve this issue?
> > > I will eventually recreate all of my data on the 7749 database, but as
> > for
> > > now i need to access the geometries stored in the 6874 database.
> > >
> > > Thank you in advance.
> > >
> > > Andreas
> >
> > > _______________________________________________
> > > postgis-users mailing list
> > > postgis-users at postgis.refractions.net
> > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
> >
> > --
> >
> >  ()   Free GIS & Flash consultant/developer
> >  /\   http://strk.keybit.net/services.html
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >

> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


-- 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list