I am trying to create a WMS which servers a raster layer. The raster
layer is a georeferenced jpg with a world file.
I expected the raster image to be scaled so that when viewed at a
large scale, the whole image is still displayed but just with less
detail. This way the image still lines up with the base map.
Instead what happens is that only a portion of the image is displayed,
the top left corner and then everything only lines up properly when
you zoom to native resolution.
Overall, my goal is to display approximately 1000 raster images on a
map. Perhaps geoserver is not the best way to achieve this. Do I need
to preprocess the images in order to create the different variants to
show at different scales?
Matt
Did you set the projection of the image correctly? That sounds like it would cause that issue.
Ian
On Wed, 29 Aug 2018, 13:53 Matthew Pickering, <matthewtpickering@anonymised.com> wrote:
I am trying to create a WMS which servers a raster layer. The raster
layer is a georeferenced jpg with a world file.
I expected the raster image to be scaled so that when viewed at a
large scale, the whole image is still displayed but just with less
detail. This way the image still lines up with the base map.
Instead what happens is that only a portion of the image is displayed,
the top left corner and then everything only lines up properly when
you zoom to native resolution.
Overall, my goal is to display approximately 1000 raster images on a
map. Perhaps geoserver is not the best way to achieve this. Do I need
to preprocess the images in order to create the different variants to
show at different scales?
Matt
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
I tried to at least.
I set the declared CRS to 4326 (which is definitely correct). SRS
handling is the default, "force declared".
The native SRS is EPSG:404000 which I can't change on a per-layer
basis so I assume that's fine.
Is there anything else I should change?
Matt
On Wed, Aug 29, 2018 at 12:09 PM Ian Turton <ijturton@anonymised.com> wrote:
Did you set the projection of the image correctly? That sounds like it would cause that issue.
Ian
On Wed, 29 Aug 2018, 13:53 Matthew Pickering, <matthewtpickering@anonymised.com> wrote:
I am trying to create a WMS which servers a raster layer. The raster
layer is a georeferenced jpg with a world file.
I expected the raster image to be scaled so that when viewed at a
large scale, the whole image is still displayed but just with less
detail. This way the image still lines up with the base map.
Instead what happens is that only a portion of the image is displayed,
the top left corner and then everything only lines up properly when
you zoom to native resolution.
Overall, my goal is to display approximately 1000 raster images on a
map. Perhaps geoserver is not the best way to achieve this. Do I need
to preprocess the images in order to create the different variants to
show at different scales?
Matt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
I gave up with geoserver and just used `gdal2tiles` manually. This
means I don't need a server and can just serve the images statically.
Matt
On Wed, Aug 29, 2018 at 12:17 PM Matthew Pickering
<matthewtpickering@anonymised.com> wrote:
I tried to at least.
I set the declared CRS to 4326 (which is definitely correct). SRS
handling is the default, "force declared".
The native SRS is EPSG:404000 which I can't change on a per-layer
basis so I assume that's fine.
Is there anything else I should change?
Matt
On Wed, Aug 29, 2018 at 12:09 PM Ian Turton <ijturton@anonymised.com> wrote:
>
> Did you set the projection of the image correctly? That sounds like it would cause that issue.
>
> Ian
>
> On Wed, 29 Aug 2018, 13:53 Matthew Pickering, <matthewtpickering@anonymised.com> wrote:
>>
>> I am trying to create a WMS which servers a raster layer. The raster
>> layer is a georeferenced jpg with a world file.
>>
>> I expected the raster image to be scaled so that when viewed at a
>> large scale, the whole image is still displayed but just with less
>> detail. This way the image still lines up with the base map.
>>
>> Instead what happens is that only a portion of the image is displayed,
>> the top left corner and then everything only lines up properly when
>> you zoom to native resolution.
>>
>> Overall, my goal is to display approximately 1000 raster images on a
>> map. Perhaps geoserver is not the best way to achieve this. Do I need
>> to preprocess the images in order to create the different variants to
>> show at different scales?
>>
>> Matt
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to this list:
>> - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
I think EPSG:404000 is what it defaults to when it doesn’t understand (or can’t find) the CRS. There’s something it doesn’t like about your world file.
···
On Thu, Aug 30, 2018 at 7:01 AM, Matthew Pickering <matthewtpickering@anonymised.com> wrote:
I gave up with geoserver and just used gdal2tiles
manually. This
means I don’t need a server and can just serve the images statically.
Matt
On Wed, Aug 29, 2018 at 12:17 PM Matthew Pickering
<matthewtpickering@anonymised.com.> wrote:
I tried to at least.
I set the declared CRS to 4326 (which is definitely correct). SRS
handling is the default, “force declared”.
The native SRS is EPSG:404000 which I can’t change on a per-layer
basis so I assume that’s fine.
Is there anything else I should change?
Matt
On Wed, Aug 29, 2018 at 12:09 PM Ian Turton <ijturton@anonymised.com> wrote:
Did you set the projection of the image correctly? That sounds like it would cause that issue.
Ian
On Wed, 29 Aug 2018, 13:53 Matthew Pickering, <matthewtpickering@anonymised.com> wrote:
I am trying to create a WMS which servers a raster layer. The raster
layer is a georeferenced jpg with a world file.
I expected the raster image to be scaled so that when viewed at a
large scale, the whole image is still displayed but just with less
detail. This way the image still lines up with the base map.
Instead what happens is that only a portion of the image is displayed,
the top left corner and then everything only lines up properly when
you zoom to native resolution.
Overall, my goal is to display approximately 1000 raster images on a
map. Perhaps geoserver is not the best way to achieve this. Do I need
to preprocess the images in order to create the different variants to
show at different scales?
Matt
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com
It’s probably the lack of a prj file
Cheers
Andrea
···
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.