Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-07-13 Thread vrbikdan
I'm not sure, that problem will be in javscript and css because it happend
even in layer preview in GeoServer. It is true, that is only in one zoom
level, but too :(

Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4988128.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-07-12 Thread vrbikdan
Hi,
still no progress. I tried to change projection of layers back to 4326, I
tried to use whole postgis tables  instead of SQL views in Geoserver but
nothing changed. Everytime, my label layer didn't shown in Chrome, really
slow in Firefox and normally in IE. I tried to increase java memory, tried
to reprogram my application but nothing.

Can you gice me some tip what I should try? In fact I don't know if this
problem is with GeoServer or OpenLayers or where :(

Thanks
Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4987900.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-07-12 Thread Andrea Aime
On Thu, Jul 12, 2012 at 10:54 AM, vrbikdan vrbik...@gmail.com wrote:

 Hi,
 still no progress. I tried to change projection of layers back to 4326, I
 tried to use whole postgis tables  instead of SQL views in Geoserver but
 nothing changed. Everytime, my label layer didn't shown in Chrome, really
 slow in Firefox and normally in IE. I tried to increase java memory, tried
 to reprogram my application but nothing.

 Can you gice me some tip what I should try? In fact I don't know if this
 problem is with GeoServer or OpenLayers or where :(


If the issue is browser dependent it's very unlikely that GeoServer is the
cause,
look into your OL setup and associated CSS instead

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-07-12 Thread vrbikdan
I did it. I tried to start fresh, but problem is still the same. What is most
confusing for me is why chrome open this single tile in new tab if I copy
its address. I'm not sure, what I should looking at. Here is the code I
used.

function init()
{
OpenLayers.ProxyHost = proxy.php?url=;
map = new OpenLayers.Map('mapa',{
controls: [
new 
OpenLayers.Control.Navigation({dragPanOptions: {enableKinetic:
true}, mouseWheelOptions: {interval: 100}}),
new OpenLayers.Control.PanPanel({slideFactor: 
250}),
new OpenLayers.Control.ZoomPanel(),
new OpenLayers.Control.ScaleLine()
],projection: new OpenLayers.Projection(EPSG:3857),
displayProjection: new 
OpenLayers.Projection(EPSG:4326),
maxExtent: new OpenLayers.Bounds(-20037508.34, 
-20037508.34, 20037508.34,
20037508.34),
units: m});

podkladLayers = new Array(
new OpenLayers.Layer.OSM(mc_P_osm,
http://snape/MapQuest/${z}/${x}/${y}.png;, {transitionEffect: 'resize',
buffer:1}));


map.addLayer(podkladLayers[0]);

vrstvaPsc = new Array(
new OpenLayers.Layer.WMS(
psc_zona_6,
http://192.168.1.92:8080/geoserver/zk/wms;,
{   layers: 'zk:psc_zona_6',
srs: 'EPSG:3857',
env: 'opacita: 0.5',
format: 'image/png',
tilesOrigin : map.maxExtent.left + ',' +
map.maxExtent.bottom,
transparent: 'true' 
},
{singleTile: false,
yx : {'EPSG:3857' : false}
}),
new OpenLayers.Layer.WMS(
psc_zona_6_l,
http://192.168.1.92:8080/geoserver/zk/wms;,
{   layers: 'zk:psc_zona_6_l',
srs: 'EPSG:3857',
format: 'image/png',
tilesOrigin : map.maxExtent.left + ',' +
map.maxExtent.bottom,
transparent: 'true' 
},
{singleTile: true,
yx : {'EPSG:3857' : false}})
);

map.addLayer(vrstvaPsc[0]);
map.addLayer(vrstvaPsc[1]);

zoomToExt(12.089081, 48.55116, 18.858719, 51.055207, true);
}

Dan

P.S. This layer has about 2600 points(lables), but I think it is ok because
I'm using layer with the same count of polygons.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4987928.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-06-19 Thread vrbikdan
Really funny thing. This problem is only in Chrome. IE display tile correct
and in fact, fast, but Chrome display nothing, Firefox display tile too, but
it takes really long time. So now I am little bit confused...

Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4982392.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-06-14 Thread vrbikdan
Hi,
now I have similar problem with this. For some reasons I have labels as
single tile. But this single tile is not displayed in my map in some scales.
So I tried to open this image in new window and there is everything ok. I
think that changing Max Rendering Memory is no way because it doesn't help.
I supose that it caused by number of labels, but I am not sure. For full
information I should tell, that this started after I change serving labels
as SQL view and I start to use different system (before 4326, now 3857). Do
you have any idea where could be a problem?

Thanks a lot
Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4981073.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-03-22 Thread vrbikdan
Hi,
thanks for your advice, problem was really in wms-max rendering memory. I
changed it from default 65536kb to 10kb and it's ok. Is any way, how to
find optimal max rendering memory for my layer?

Thanks once more
Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4643682.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] geoserver doesn't show untiled postgis layer

2012-03-21 Thread vrbikdan
Hi all,
funny thing. If I have web broswer as full window my postgis layer doesn't
show. But after resizing broswer window and make it smaller, everything is
ok. Is any restriction in resolution of untiled postgis layer? Or is problem
anywhere in geoserver, postgis or openlayers?

For loading layer I'm using this code:

pscAvonWMS = new OpenLayers.Layer.WMS(
zony, http://localhost:8080/geoserver/zk/wms;,
{
layers: 'zk:pscAvonDB',
styles: '', 
srs: 'EPSG:4326',
format: 'image/png',
tilesOrigin : map.maxExtent.left + ',' +
map.maxExtent.bottom,
transparent: 'true' 
},
{singleTile: true,
yx : {'EPSG:4326' : false}}
);

And if I use shapefile instead of postgis, everythink is ok. Do you have any
idea where is problem?
Thanks a lot
Dan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4640787.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver doesn't show untiled postgis layer

2012-03-21 Thread Gabriel Roldan
I don't think it's postgis specific, but WMS'.

Grab the generated URL for the image and do curl -v url  /dev/null
There's hopefully a response http header telling you what's going on.
It can be either of the WMS settings Max rendering memory, Max
rendering time, Max rendering errors.

Hope that helps,
Gabriel
On Wed, Mar 21, 2012 at 11:40 AM, vrbikdan vrbik...@gmail.com wrote:
 Hi all,
 funny thing. If I have web broswer as full window my postgis layer doesn't
 show. But after resizing broswer window and make it smaller, everything is
 ok. Is any restriction in resolution of untiled postgis layer? Or is problem
 anywhere in geoserver, postgis or openlayers?

 For loading layer I'm using this code:

 pscAvonWMS = new OpenLayers.Layer.WMS(
                    zony, http://localhost:8080/geoserver/zk/wms;,
                    {
                        layers: 'zk:pscAvonDB',
                        styles: '',
                        srs: 'EPSG:4326',
                        format: 'image/png',
                        tilesOrigin : map.maxExtent.left + ',' +
 map.maxExtent.bottom,
                        transparent: 'true'
                    },
                        {singleTile: true,
                        yx : {'EPSG:4326' : false}}
                );

 And if I use shapefile instead of postgis, everythink is ok. Do you have any
 idea where is problem?
 Thanks a lot
 Dan

 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/geoserver-doesn-t-show-untiled-postgis-layer-tp4640787p4640787.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users