Code Monkey home page Code Monkey logo

Comments (13)

geekdenz avatar geekdenz commented on September 3, 2024

I will check this tomorrow in my version to confirm. Sorry, didn't have much time for this project lately.

from mapfish-print.

geekdenz avatar geekdenz commented on September 3, 2024

Tried looking into this today but it wouldn't even build for me. Will need some more time to see what is wrong unless someone else can spare some time for this. Any takers? Sorry, but I've got a lot on my plate at the moment, so I cannot commit a lot of time to this.

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

Tim, I have a current version that has built out of the latest trunk (minus
the pdfbox changes), if you want I can help you get access to it. Let me

know.

Jamie Jones

[email protected] , [email protected]

On Wed, May 23, 2012 at 2:42 AM, Tim-Hinnerk Heuer <
[email protected]

wrote:

Tried looking into this today but it wouldn't even build for me. Will need
some more time to see what is wrong unless someone else can spare some time
for this. Any takers? Sorry, but I've got a lot on my plate at the moment,
so I cannot commit a lot of time to this.


Reply to this email directly or view it on GitHub:
#11 (comment)

from mapfish-print.

geekdenz avatar geekdenz commented on September 3, 2024

Apologies. It does build with the newest version of Gradle. I deleted my old version plus the ~/.gradle folder and building works. Will now try to reproduce your problem and see if your version fixes it.

from mapfish-print.

geekdenz avatar geekdenz commented on September 3, 2024

Hi Jamie,

I cannot reproduce this and I'm not sure what you have in your config file(s). Can you send the contents of both yaml files?

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

Relevant YAML code:

dpis: [72, 75, 150, 300, 600]
formats: ['*'] 
scales:
  - 25000
  - 50000
  - 100000
  - 200000
  - 500000
  - 1000000
  - 2000000
  - 3500000
 #===========================================================================
  SmallImage:
 #===========================================================================
    mainPage:
      pageSize: 235 215 
      items:
        - !map
          width: 228
          height: 209

from mapfish-print.

geekdenz avatar geekdenz commented on September 3, 2024

Sorry havent had time to look into this yet and now I'm sick in bed...
On Jun 12, 2012 3:06 PM, "Jamie Jones" <
[email protected]>
wrote:

Relevant YAML code:

dpis: [72, 75, 150, 300, 600]
formats: ['*']
scales:
- 25000
- 50000
- 100000
- 200000
- 500000
- 1000000
- 2000000
- 3500000

#===========================================================================
SmallImage:

#===========================================================================
mainPage:
pageSize: 235 215
items:
- !map
width: 228
height: 209


Reply to this email directly or view it on GitHub:
#11 (comment)

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

Post Contents:

{"units":"m","srs":"EPSG:900913","layout":"SmallImage","dpi":72,"outputFormat":"gif","mapTitle":"GIF Demo","comment":"This is a simple map printed from GeoExt with gif output format.","outputFilename":"SmallImage","layers":[{"baseURL":"http://example.com/cartography/tilesets/cultural/reference/basic/","opacity":1,"singleTile":false,"type":"TMS","layer":null,"maxExtent":[-20037508.342789,-20037508.342789,20037508.342789,20037508.342789],"tileSize":[256,256],"uriFormat":"{resolutionIndex}_{x}_{y}.{type}","originLeft":true,"originBottom":false,"resolutions":[156543.0339,78271.51695,39135.758475,19567.8792375,9783.93961875,4891.969809375,2445.9849046875,1222.99245234375],"format":"gif"},{"baseURL":"http://example.com/geoserver/jbjonesjr-ws1/wms","opacity":1,"singleTile":true,"type":"WMS","layers":["jbjonesjr-ws1:geolocated_conditions"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}}],"pages":[{"center":[-8582732.7389667,4690207.2737563],"scale":3500000,"rotation":0,"comment":""}],"legends":[{"name":"Current temperature","classes":[{"name":"","icons":["http://example.com/geoserver/jbjonesjr-ws1/wms?TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=jbjonesjr-ws1%3Ageolocated_conditions&FORMAT=image%2Fgif&SCALE=3500000"]}]}]}

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

No problem, as you can see, it took me some 3 weeks to find the time myself. Finally got my system back in a place where I was ready to worry about this again. If I get time, I'll put my geoserver in debug mode and see if I can step through and find the code that's causing the "Infinite Table Loop"

from mapfish-print.

geekdenz avatar geekdenz commented on September 3, 2024

Is this resolved now? It's been a while.

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

I have not tested the latest from trunk, but I know personally I was never
able to find the cause or submit a patch.
On Jan 6, 2013 8:07 AM, "Tim-Hinnerk Heuer" [email protected]
wrote:

Is this resolved now? It's been a while.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-11928114.

from mapfish-print.

jesseeichar avatar jesseeichar commented on September 3, 2024

I have not had the time to work on this either unfortunately.

from mapfish-print.

jbjonesjr avatar jbjonesjr commented on September 3, 2024

Well, this was fun.

What we didn't realize when looking at the config.yaml I posted above is that i didn't specify any of the margin properties (marginLeft, etc). Well, their defaults are non-zero.

I don't know if that is a good default or not (clearly it tripped me up), and maybe the default for a pdf output should be different than an image output, but that's a bug/decision for another time.

So, this is just me not realizing the defaults. Opps.

from mapfish-print.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.