Michael, check your .prj file. I dont know if you just copied it wrong
here in email, but it think something is wrong with it, i think youre
missing PROJCS that wraps everything u have now:

PROJCS["Projection name",
GEOGCS["Belge 1972",
DATUM["Reseau_National_Belge_1972",
SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]],
AUTHORITY["EPSG","6313"]],
PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],
UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4313"]],
PROJECTION["Lambert_Conformal_Conic_2SP_Belgium)"],
PARAMETER["standard_parallel_1",49.83333333333334],
PARAMETER["standard_parallel_2",51.16666666666666],
PARAMETER["latitude_of_origin",90],
PARAMETER["central_meridian",4.356939722222222],
PARAMETER["false_easting",150000.01256],
PARAMETER["false_northing",5400088.4378],
UNIT["metre",1,AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","31300"]
]

Can u try and see whats happen?

Cheers

On Sat, Feb 14, 2009 at 2:54 PM, Ivan Grcic <[email protected]> wrote:
> Hi,
>
> recently I also started to play with pyramidalPlugin, and it works
> just fine for me in 1.7.2.
>
> Looking at ur problem I really cant see whats wrong, especially when
> you can set up mosaics and one-levels pyramids from levels 0 and 2.
>
> will let you know if i found out something!
>
> cheers
>
> On Tue, Feb 3, 2009 at 5:27 PM,  <[email protected]> wrote:
>> Hello
>>
>> I'm currently trying to setup an image pyramid using GeoServer's Image
>> Pyramidal plugin, but unfortunatelly I fail.
>> I have testen GeoServer 1.7.0 and 1.7.2. Both versions have the same
>> problem.
>> Here's my setup: so I have 2 levels: 0 and 2
>>
>> In folder 0 there's a shapefile pyramid.shp (with pyramid.prj file) and a
>> file pyramid.properties
>> This is the content of the pyramid.properties file:
>> Name=pyramid
>> ExpandToRGB=false
>> Levels=2.8,2.8
>> LevelsNum=1
>> Envelope2D=147999,159921 158079,170001
>> NumFiles=36
>>
>> In folder 2 there's a shapefile pyramid.shp (with pyramid.prj file) and a
>> file pyramid.properties
>> This is the content of the pyramid.properties file:
>> Name=pyramid
>> ExpandToRGB=false
>> Levels=5.6,5.6
>> LevelsNum=1
>> Envelope2D=147999,159921 158079,170001
>> NumFiles=9
>>
>> Coordinate System I'm using is Belgian Lambert 72 (this is the CS string
>> from POSTGIS):
>>
>> GEOGCS["Belge 1972",
>> DATUM["Reseau_National_Belge_1972",
>> SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]],
>> AUTHORITY["EPSG","6313"]],
>> PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],
>> UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],
>> AUTHORITY["EPSG","4313"]],
>> PROJECTION["Lambert_Conformal_Conic_2SP_Belgium)"],
>> PARAMETER["standard_parallel_1",49.83333333333334],
>> PARAMETER["standard_parallel_2",51.16666666666666],
>> PARAMETER["latitude_of_origin",90],
>> PARAMETER["central_meridian",4.356939722222222],
>> PARAMETER["false_easting",150000.01256],
>> PARAMETER["false_northing",5400088.4378],
>> UNIT["metre",1,AUTHORITY["EPSG","9001"]],
>> AUTHORITY["EPSG","31300"]
>>
>> At the root level there is the same pyramid.prj file and a
>> pyramid.properties file.
>> The pyramid.properties file looks like this:
>>
>> #name of the coverage
>> Name=pyramid
>> #different resolution levels available
>> Levels=2.8,2.8 5.6,5.6
>> #where all the levels reside
>> LevelsDirs=0 2
>> #number of levels availaible
>> LevelsNum=2
>> #envelope for this pyramid
>> Envelope2D=147999,159921 158079,170001
>>
>>
>> When I create a pyramid with just one level (so only level 0 OR only level
>> 2) the pyramid works.
>> Creating a mosaic on each level also works.
>>
>> This is the error I'm getting when trying to create a pyramid with more than
>> 1 level:
>>
>> java.lang.NullPointerException
>> org.geotools.gce.imagepyramid.ImagePyramidFormat.accepts(ImagePyramidFormat.java:244)
>> org.vfny.geoserver.form.data.CoverageStoresEditorForm.validate(CoverageStoresEditorForm.java:285)
>> org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:950)
>> ... ... ...
>>
>> The images I'm using are tiff images (with accompagning .tfw), but I've also
>> tested on png images (with .pgw files) but with the same negative result.
>> The location field name in the shapefiles is lowercase and the images are
>> located within the geoserver project (within the coverages directory)
>> I've also downloaded the BlueMarble example you can find on the internet and
>> this one is going fine.
>>
>> Can anyone shed some light on this issue?
>>
>> Thanks very much...
>> Michael
>>
>> ------------------------------------------------------------------------------
>> Create and Deploy Rich Internet Apps outside the browser with
>> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and code
>> to
>> build responsive, highly engaging applications that combine the power of
>> local
>> resources and data with the reach of the web. Download the Adobe AIR SDK and
>> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>
>
>
> --
> Ivan Grcic
>



-- 
Ivan Grcic

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to