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