Re: [Geoserver-users] Geoserver Print
Yes, but I had to make changes to the webgis. For some reason it failed to be able to generate functions, whenever it was invoked through GET. I changed the function to: *var spec_html = {"outputFilename": "Plant_SIG" + seconds, "layout": layout, "srs": "EPSG: 3763", "units": "m", "dpi": 300, "applicant": applicant, "title": plant, "nif": nif, "freguesia": parish, "locality": locality, "purpose" means: purpose, "source": source, "layers": [{"baseURL": "http://websig.cm-ourem.pt/geoserver/wms <http://websig.cm-ourem.pt/geoserver/wms>","opacity": 1.0,"singleTile": false,"type": "WMS","layers": [layer],"format": "image / png"},{"type": "Vector","styles": {"": {"fill": false,"fillColor": "# FF","stroke-width": "3","strokeWidth": 3,"strokeColor": "# FF","fillOpacity": 0.0}},"geoJson": JSON.parse (results_geojson)} ], "pages": [ {"center": MapCenter,"scale": scale,"rotation": 0 } ]};var json_post = (JSON.stringify (spec_html));$ .ajax ({url: 'http://websig.cm-ourem.pt/geoserver/pdf/create.json?url=http://websig.cm-ourem.pt/geoserver/pdf/create.json <http://websig.cm-ourem.pt/geoserver/pdf/create.json?url=http://websig.cm-ourem.pt/geoserver/pdf/create.json>', type: 'post', date: {spec: json_post},success: function (data, textStatus, jQxhr) {window.location.href = data.getURL;}});* And now, works well Cumprimentos *Pedro Henriques* Mauro Bartolomeoli escreveu no dia quarta, 14/11/2018 à(s) 11:51: > Hi Pedro, > I tried to follow your link, and I get a correct PDF. > Can you confirm it is working also for you now? > > > > Il giorno mer 14 nov 2018 alle ore 11:56 Pedro Henriques < > henriques.pedro...@gmail.com> ha scritto: > >> Hello, >> >> I have installed geoserver 2.13 in Ubuntu server 17.10, and suddenly the >> print requests stopped working. >> Through the url http://websig.cm-ourem.pt/geoserver/pdf/info.json, all >> settings in the config.yaml file appear certain, however, whenever the >> request is made to generate pdf, it does not work . >> This happened from one day to the next without any change. Someone with >> the same problem? >> >> an example of the request to generate pdf is: >> http://websig.cm-ourem.pt/geoserver/pdf/print.pdf?spec={%22outputFilename%22:%22Planta_SIG154219187.7607%22,%22layout%22:% >> >> <http://websig.cm-ourem.pt/geoserver/pdf/print.pdf?spec=%7B%22outputFilename%22:%22Planta_SIG154219187.7607%22,%22layout%22:%20A4_legend,%22dpi%22:300,%22titulo%22:%22PDM%20-%20Ordenamento%22,%22requerente%22:%22%22,%22nif%22:%22%22,%22freguesia%22:%22%22,%22localidade%22:%22%22,%22finalidade%22:%22%22,%22fonte%22:%22PDM%20-%20Ordenamento%20(CMO,%202002)%20%7C%20CAOP%202014%20(DGT,%202014)%20%7C%20SCN%2010K%20(DGT/CIMT,%20Ed.%202005)%22,%22srs%22:%20%22EPSG:3763%22,%20%22units%22:%20%22m%22%20,%22layers%22:[%7Btype:%22WMS%22,format:%22image/png%22,layers:[%22Planta_PDM_Ordenamento%22],%20baseURL:%22http://websig.cm-ourem.pt/geoserver/wms%22,styles:[%22%22],%20customParams%20:%7BBUFFER:0,TRANSPARENT:true%7D%7D,%7Btype%3A%22Vector%22%2Cstyles%3A%7B%22%22%3A%7Bfill%3A%20false%2C%20fillColor%3A%22%23FF%22%2Cstroke-width%3A%223%22%2CstrokeWidth%3A%203%2C%20strokeColor%3A%20%22%23FF%22%2CfillOpacity%3A%200.0%7D%7D%2CgeoJson%3A%7B%22type%22%3A%22FeatureCollection%22%2C%22features%22%3A%5B%5D%7D%7D],%20%22pages%22:%20[%20%7B%20%22center%22:%20[-36866.92670186,2200.51984808],%22scale%22:%2025000,%22rotation%22:%200,%20%7D],%22legends%22%20:%20[%7B%22name%22%20:%20%22%22,%22classes%22%20:%20[%7B%20%22name%22%20:%20%22%22,%20%22iconAfterName%22:%20true,%22icon%22%20:%20%20%22http://websig.cm-ourem.pt/geoserver/wms?version=1.3.0%26TRANSPARENT=TRUE%26SERVICE=WMS%26REQUEST=GetLegendGraphic%26EXCEPTIONS=application/vnd.ogc.se_xm
[Geoserver-users] Geoserver Print
2:%20true,%22icon%22%20:%20%20%22http://websig.cm-ourem.pt/geoserver/wms?version=1.3.0%26TRANSPARENT=TRUE%26SERVICE=WMS%26REQUEST=GetLegendGraphic%26EXCEPTIONS=application/vnd.ogc.se_xml%26LAYER=Planta_PDM_Ordenamento%26FORMAT=image/png%26LEGEND_OPTIONS=forceLabels%3Aon%3BfontName%3DHelvetica%3BfontSize%3A10%3Bdpi%3A300%26MODE=legendicon%22}]}]}]> Help Cumprimentos *Pedro Henriques* ___ 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
[Geoserver-users] Geoserver Print
20[%7B%20%22name%22%20:%20%22%22,%20%22iconAfterName%22:%20true,%22icon%22%20:%20%20%22http://websig.cm-ourem.pt/geoserver/wms?version=1.3.0%26TRANSPARENT=TRUE%26SERVICE=WMS%26REQUEST=GetLegendGraphic%26EXCEPTIONS=application/vnd.ogc.se_xml%26LAYER=Planta_PDM_Ordenamento%26FORMAT=image/png%26LEGEND_OPTIONS=forceLabels%3Aon%3BfontName%3DHelvetica%3BfontSize%3A10%3Bdpi%3A300%26MODE=legendicon%22%7D]%7D]%7D]> Help Cumprimentos *Pedro Henriques* ___ 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
Re: [Geoserver-users] Insertion in to multipolygon column through WFS-T
Hi, I think you need to change the commit, to stay in this way http://www.opengis.net/wfs; service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> http://spatial_editing;> * * http://www.opengis.net/gml;> 8312679.700069487 1823481.746771165 8289442.843470794 1774562.048668652 8353038.451004061 1796575.912814783 8312679.700069487 1823481.746771165 * * See this exemple http://gis.stackexchange.com/questions/156894/why-dont-set- geometry-column-in-openlayers-wfs-t-request-to-geoserver Cumprimentos *Pedro Henriques* *Personal E-mail: *henriques.pedro...@gmail.com *Academic E-mail**:* g2013...@novaims.unl.pt *Professional E-mail:* ge...@zoomto.pt *Mobile Phone:* +351 916 553 574 *Personal Page:* http://zoomto.pt 2017-03-13 9:18 GMT+00:00 Veena Hosur <vee...@gmail.com>: > Hi, > I am trying to do an insert WFS-T into PostGis Datastore multipolygon > layer > with > > http://www.opengis.net/wfs; service="WFS" > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> xmlns="http://spatial_editing;> xmlns="http://www.opengis.net/gml;>< > exterior>8312679.700069487 > 1823481.746771165 8289442.843470794 1774562.048668652 8353038.451004061 > 1796575.912814783 8312679.700069487 > 1823481.746771165 Polygon> Transaction> > > After this there is a new entry in the Datastore table, but the_geom is > empty. It looks like this SRID=4326;MULTIPOLYGON ((EMPTY)). > > > > > -- > View this message in context: http://osgeo-org.1560.x6. > nabble.com/Insertion-in-to-multipolygon-column-through- > WFS-T-tp5312016.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > -- > Announcing the Oxford Dictionaries API! The API offers world-renowned > dictionary content that is easy and intuitive to access. Sign up for an > account today to start using our lexical data to power your apps and > projects. Get started today and enter our developer competition. > http://sdm.link/oxford > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OSM layer does not print
this help you? http://api.geoext.org/1.1/examples/print-preview-osm.html 2014-11-18 9:21 GMT+00:00 joaorodr84 [via OSGeo.org] ml-node+s1560n5173485...@n6.nabble.com: Please, I really need this. I would appreciate any help. Anyone knows how to print OSM layers using the GeoServer Printing Module? Thanks again -- If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1560.x6.nabble.com/OSM-layer-does-not-print-tp5173244p5173485.html To start a new topic under GeoServer - User, email ml-node+s1560n3786390...@n6.nabble.com To unsubscribe from GeoServer - User, click here http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3786390code=aGVucmlxdWVzLnBlZHJvLm1mQGdtYWlsLmNvbXwzNzg2MzkwfC0xMTUzNzc4ODg0 . NAML http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- __ Cumprimentos, Pedro Henriques -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OSM-layer-does-not-print-tp5173244p5173494.html Sent from the GeoServer - User mailing list archive at Nabble.com.-- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] ERROR 404
Hi, I had the same problem and fixed it by installing the JAI. In my case: cd /usr/lib/jvm/java-6-openjdk sudo wget http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jdk.bin sudo chmod 755 jai-1_1_3-lib-linux-amd64-jdk.bin sudo ./jai-1_1_3-lib-linux-amd64-jdk.bin and it was working! :) BR, Rui Pedro Henriques. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users