<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY TEXT="#1a1a1a" LINK="#0000ff" BGCOLOR="#ffffff" BACKGROUND="file:///home/ajuarez">
Hi Marco,<BR>
<BR>
But when I use my shapes in format wms in my maps, I haven't any problem, I am working very well with them, but I never work with them in format WFS.<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Arturo Ju&#225;rez Lima &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">ajuarez@queretaro.gob.mx</A>&gt;<BR>
GEQ
</TD>
</TR>
</TABLE>
<BR>
<BR>
El jue, 29-10-2009 a las 15:25 +0100, Marco Scheuble escribi&#243;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi Arturo,

I just had a look at your geoserver,
-&gt; <A HREF="http://www.aplicanet.gob.mx:8080/geoserver/mapPreview.do">http://www.aplicanet.gob.mx:8080/geoserver/mapPreview.do</A>
and think, that you have a problem with your layer(Feature)-settings,
because even in the geoserver map-preview, there is nothing shown

cheers Marco


Arturo Ju&#225;rez Lima schrieb:
&gt; sure,
&gt;
&gt; this is my page and code
&gt;
&gt; /&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; 
&gt; &quot;DTD/xhtml1-strict.dtd&quot;&gt;/
&gt; /&lt;html xmlns=&quot;<A HREF="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</A>&quot;&gt;/
&gt; /&lt;head&gt;/
&gt; / &lt;title&gt;Prueba 1a&lt;/title&gt;/
&gt; /&lt;/head&gt;/
&gt; / &lt;script 
&gt; src=&quot;<A HREF="http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js">http://172.16.23.21:8080/geoserver/openlayers/OpenLayers.js</A>&quot; 
&gt; type=&quot;text/javascript&quot;&gt;/
&gt; /        &lt;/script&gt;/
&gt;
&gt;
&gt; /&lt;body BGCOLOR=#CCCC98 onload=&quot;load();&quot;&gt;/
&gt;
&gt; /&lt;div id=&quot;map&quot; style=&quot;width: 800px; height: 500px; top:-3px; 
&gt; left:-350px; border: 9px solid #EBE9D4;&quot;&gt;&lt;/div&gt;/
&gt;
&gt; /&lt;script type=&quot;text/javascript&quot;&gt;/
&gt; /function load() {/
&gt; / format = 'image/png';/
&gt; / var options = {/
&gt; / /
&gt; /                controls:[/
&gt; / new OpenLayers.Control.Navigation(),/
&gt; / new OpenLayers.Control.PanZoomBar(),/
&gt; / new OpenLayers.Control.LayerSwitcher({'ascending':false}),/
&gt; / new OpenLayers.Control.ScaleLine(),/
&gt; / new OpenLayers.Control.MousePosition(),/
&gt; / new OpenLayers.Control.KeyboardDefaults() ],/
&gt; / numZoomLevels: 31,units: 'm' };/
&gt; / var map = new OpenLayers.Map(&quot;map&quot;, options);/
&gt;
&gt; / l1 = new OpenLayers.Layer.WMS(/
&gt; /                    'Limites', 
&gt; &quot;<A HREF="http://www.aplicanet.gob.mx:8080/geoserver/wms,/&gt;">http://www.aplicanet.gob.mx:8080/geoserver/wms&quot;,/</A>
&gt; /                    {layers: 'sde:SPF_CATASTRO.LMA',/
&gt; /                        srs: 'EPSG:900913',/
&gt; / transparent: true,/
&gt; /                        format: format,/
&gt; /                        tiled: 'true'/
&gt; /                    },{singleTile: true, isBaseLayer: true});/
&gt; / l1.setVisibility(true); /
&gt; /        map.addLayer(l1);/
&gt;
&gt; / var layer2 = new OpenLayers.Layer.WFS( /
&gt; /                'CEC', &quot;<A HREF="http://www.aplicanet.gob.mx:8080/geoserver/wfs,/&gt;">http://www.aplicanet.gob.mx:8080/geoserver/wfs&quot;,/</A>
&gt; /                {typename: 'sde:DTYT.SSC_RUTAS_2009',maxfeatures: 10}, /
&gt; /                { featureClass: OpenLayers.Feature.WFS}); /
&gt; /            map.addLayer(layer2);/
&gt; /map.setCenter(new 
&gt; OpenLayers.LonLat(-99.854736328125,20.80875529543977), 9); /
&gt;
&gt; /}/
&gt; /&lt;/script&gt;/
&gt;
&gt; /&lt;/body&gt;/
&gt; /&lt;/html&gt;/
&gt;
&gt;
&gt; hopefully you can help me
&gt;
&gt; Thanks.
&gt;
&gt;
&gt; -- 
&gt; Arturo Ju&#225;rez Lima &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">ajuarez@queretaro.gob.mx</A> 
&gt; &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">mailto:ajuarez@queretaro.gob.mx</A>&gt;&gt;
&gt; GEQ
&gt;
&gt;
&gt;
&gt; El jue, 29-10-2009 a las 14:26 +0100, Andreas Hocevar escribi&#243;:
&gt;&gt; It is hard to guess your guess when you don't provide code. Please 
&gt;&gt; provide a code snippet and explain what does not work and what you don't 
&gt;&gt; understand.
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Andreas.
&gt;&gt;
&gt;&gt; Arturo Ju&#225;rez Lima wrote:
&gt;&gt; &gt; Thanks Andreas, I was make question because I am trying add to a shape 
&gt;&gt; &gt; in format WFS with openlayers, but I can't show my shape in my map, 
&gt;&gt; &gt; then, I was guess, that maybe when I use a shape in WFS, maybe have a 
&gt;&gt; &gt; EPSG in special. But you tell me that my guess is incorrect, then my 
&gt;&gt; &gt; option are falling.
&gt;&gt; &gt;
&gt;&gt; &gt; could you give me a another guess, please :-)???
&gt;&gt; &gt;
&gt;&gt; &gt; thanks
&gt;&gt; &gt; -- 
&gt;&gt; &gt; Arturo Ju&#225;rez Lima &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">ajuarez@queretaro.gob.mx</A> &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">mailto:ajuarez@queretaro.gob.mx</A>&gt; 
&gt;&gt; &gt; &lt;<A HREF="mailto:ajuarez@queretaro.gob.mx">mailto:ajuarez@queretaro.gob.mx</A>&gt;&gt;
&gt;&gt; &gt; GEQ
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt; El jue, 29-10-2009 a las 08:05 +0100, Andreas Hocevar escribi&#243;:
&gt;&gt; &gt;&gt; was that meant for geoserver-users? You sent it to the OpenLayers
&gt;&gt; &gt;&gt; users list. 
&gt;&gt; &gt; ------------------------------------------------------------------------
&gt;&gt; &gt;
&gt;&gt; &gt; _______________________________________________
&gt;&gt; &gt; Users mailing list
&gt;&gt; &gt; <A HREF="mailto:Users@openlayers.org">Users@openlayers.org</A> &lt;<A HREF="mailto:Users@openlayers.org">mailto:Users@openlayers.org</A>&gt;
&gt;&gt; &gt; <A HREF="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A>
&gt;&gt; &gt;   
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt; ------------------------------------------------------------------------
&gt;
&gt; _______________________________________________
&gt; Users mailing list
&gt; <A HREF="mailto:Users@openlayers.org">Users@openlayers.org</A>
&gt; <A HREF="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A>
&gt;   

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>